containing
spaces, so did you mean this?
cd $path
--
View this message in context:
http://www.nabble.com/Quotes-problem---tf2952284.html#a8275269
Sent from the Gnu - Bash mailing list archive at Nabble.com.
___
Bug-bash mailing list
Bug-bash@gnu.org
Markos [EMAIL PROTECTED] wrote:
You said that line
cd $path
should be better with quotes to avoid problems with dir names containing
spaces, so did you mean this?
cd $path
Yes.
paul
___
Bug-bash mailing list
Bug-bash@gnu.org
later
awk '{print $3}' /tmp/size /tmp/report
#Print a blank line at the report after every path and size to see things
clearer
echo /tmp/report
#Update variables
line_number=line_number+1
i=$[$i+1]
done
--
View this message in context:
http://www.nabble.com/Quotes-problem---tf2952284.html
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Markos on 1/10/2007 5:49 AM:
Hello ,
I'm having problems with the script I send below.
...
+ sed -n '$line_numberp' /tmp/results
/tmp/logo_changer.sh: : No such file or directory
+ cd
+ pwd
+ ls -go logo_1.gif
logo_1.gif: No
Markos [EMAIL PROTECTED] wrote:
#Delete logo_1.gif string from every line in results_1,
#leaving only the path to prepare for cd step
sed 's/logo_1.gif//' /tmp/results_1 /tmp/results
This would be more precisely expressed as:
sed 's:/logo_1\.gif$:/:' /tmp/results_1 /tmp/results
If you happen