Hi to all.
In the following example, how can I delete the first blank of the first col? (using shell scripting)
first second third fourth
fifth sixth seventh eighth
Thank's for reading.
Hi to all.
In the following example, how can I delete the first blank of the first col? (using shell scripting)
first second third fourth
fifth sixth seventh eighth
Thank's for reading.
sed 's/^ //' infile >outfile
cut -c2- input > output
Thank you both. Both solutions works.
Or:
awk '$1=$1' file
Actually I prefer don't use AWK. Anyway, thanks for your reply.