[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sed: allineare testo




----- Original Message ----- From: "Nelson o mesmo" <nelsonphp.omesmo@gmail.com>
To: "antispammbox-debian" <antispammbox-debian@yahoo.it>
Sent: Friday, May 16, 2014 11:07 AM
Subject: Re: Sed: allineare testo


tenta assim

sed -e "s/^[ \t]*//"
sed "s/^[ \t]*//"
sed -e "s/^(\t)*//"
sed "s/^(\t)*//"


Per il monento ho risolto con awk:
awk '{$1=$1}{ print }' file1.txt > file2.txt

Ma mi servirebbe poter scegliere anche le linee da strippare, invéce che tutte!

Ciao
Reply to: