01-16-2008
57,
0
Join Date: Dec 2007
Last Activity: 25 June 2008, 9:09 AM EDT
Posts: 57
Thanks Given: 0
Thanked 0 Times in 0 Posts
help with script
hi all,
i have a script:
sed '/^[ ]*$/ d' $file > /tmp/tmp1
set field = 'head -1 /tmp/tmp1'
but when i run the script with string ($file) with [xxxx] i get error...
can u please explain what this two line do exactly
and if the sed don't read the brackets [] in $file ????
thanks for all