Joined: Feb. 2006
||Posted: Feb. 01 2007,05:38
|Quote (^thehatsrule^ @ Jan. 30 2007,16:09)|
|If you plan on using sed, you could use "s/ /\ /g"|
If you plan on using a shell script, you could use IFS
or use 'read')
Or you could just remember to never use spaces in filenames :P
I don't understad this...
You are creating a variable here containing only one return char?
| read [-ers] [-u fd] [-t timeout] [-a aname] [-p prompt] [-n nchars]|
[-d delim] [name ...]
One line is read from the standard input, or from the file
descriptor fd supplied as an argument to the -u option, and the
first word is assigned to the first name, the second word to
the second name, and so on, with leftover words and their
intervening separators assigned to the last name. If there are
fewer words read from the input stream than names, the remain-
ing names are assigned empty values. The characters in IFS are
used to split the line into words. The backslash character (\)
may be used to remove any special meaning for the next charac-
ter read and for line continuation.
Now I may know what you mean...
Do you have it? - http://dy.fi/mak