[nycbug-talk] Re: Simple sed question

George Georgalis george
Fri Jan 7 14:49:40 EST 2005


On Fri, Jan 07, 2005 at 02:06:47PM -0500, Roland Dowdeswell wrote:
>On 1105122068 seconds since the Beginning of the UNIX epoch
>"George Georgalis" wrote:
>>
>
>>s/[ \t]*/\t/g
>>
>>substitute, any combination of spaces and tabs with one tab character,
>>globaly across the line (untested)
>
>This will intersperse tabs between all of the characters, because <atom>*
>matches 0 or more <atom>s.
>

You are so right! Great observation! Nice testing.

// George


-- 
George Georgalis, systems architect, administrator Linux BSD IXOYE
http://galis.org/george/ cell:646-331-2027 mailto:george at galis.org




More information about the talk mailing list