[nycbug-talk] Re: Simple sed question

Roland Dowdeswell elric
Fri Jan 7 14:06:47 EST 2005


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.

--
    Roland Dowdeswell                      http://www.Imrryr.ORG/~elric/




More information about the talk mailing list