[geeks] Quick sed question

Scott Howard scott at doc.net.au
Sat Jun 22 05:40:08 CDT 2002


On Fri, Jun 21, 2002 at 02:32:14PM -0400, Greg A. Woods wrote:
> 	# there's a space and a tab in the charset part of this expression:
> 	sed -e 's/^[ 	]*//'

Or more efficiently :

sed -e 's/^[     ]+//'

(again, a space and a tab in that box)

  Scott



More information about the geeks mailing list