Could you give an example?

Chris Carey wrote:

>On 4/16/07, Eduardo Sanz Garcia <[EMAIL PROTECTED]> wrote:
>  
>
>>I have a file like this:
>>[arbitrary number of spaces]/37/[arbitrary number of
>>spaces]/100/[arbitrary number of spaces]/95/
>>
>>I want to convert each arbitrary number of spaces into one tab:
>>[tab]/37/[tab]/100/[tab]/95/
>>
>>How can I do this with sed?
>>Thank you.
>>    
>>
>
>
>I think you could use 'tr' to do a regex replacement on all whitespace
>consisting of one or more chars into a tab char.
>--------------------
>BYU Unix Users Group 
>http://uug.byu.edu/ 
>
>The opinions expressed in this message are the responsibility of their
>author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
>___________________________________________________________________
>List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
>
>  
>
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to