On 2006-05-12 17:56, "[EMAIL PROTECTED]@mgEDV.net" <[EMAIL PROTECTED]> wrote: >>> sed -i -e 's/^[[:space:]]*' -e 's/[[:space:]]*$//' file ... > > why not use just (you can change the "-" separator to "/" as above): > sed -e 's-^ *--g' -e 's- *$--g'
Because this provides no additional help with the problem of not matching TABS and it looks very confusing so close to `-e' and other command-line options. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"