Results 1 to 3 of 3
  1. #1

    Bash Scripting Problems... logging?/file.log

    I typed up some simple wget scripts to grab some files I need to look at every week or so. I went to test the scripts and one is creating directories with question marks at the end. Here is an example of the directories its creating,

    Edit: Guess I cant post links yet so heres a copy paste from the terminal, note the two directories with ? marks. The scripts do not have any question marks in them themselves.

    [email protected]:~/downloads/ftptemp/logging$ ls
    amx_logs get1_s_logs.sh get4_i_logs.sh sec_logs server_logs?
    amx_logs? get2_s_logs.sh iss_logs server_log
    ftp_logs get3_f_logs.sh process1.sh server_logs

    I typed it up in Vim, though it was gvim, so I wouldn't think its related to line/feed carriages. I'm looking at the scripts and I cant see anything that might be causing this, everything's pretty basic. I was hoping someone could take a look at the image and, hopefully, have come across the same problem and post a suggestion/solution. Thanks everyone!

  2. #2
    Hmm not sure what it was but I retyped the whole thing with just vim (not gvim) and it works fine now. I cant see any difference between the two files but its working.

  3. #3
    It could be how are you using wget...

    wget "long-url-goes-here"

    or man wget

Similar Threads

  1. Bash Scripting
    By VPSRight in forum Hosting Security and Technology
    Replies: 6
    Last Post: 07-02-2009, 04:21 PM
  2. Need some bash scripting help
    By ThatScriptGuy in forum Programming Discussion
    Replies: 3
    Last Post: 04-08-2007, 04:48 PM
  3. BASH scripting .CHM file
    By Jim999 in forum Hosting Security and Technology
    Replies: 3
    Last Post: 08-10-2004, 09:51 AM
  4. bash scripting - need help
    By BMurtagh in forum Programming Discussion
    Replies: 1
    Last Post: 02-22-2003, 08:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •