On Wed, Dec 01, 1999 at 03:12:43PM -0800, Steve Lee wrote:
> can someone show me a quick
> script to insert | in place of tabs
> 
> for example: i have 40 lines with many columns
> delimited by tabs that require it to be delimited 
> by | but in excel i can't do that. so 
> i would export the excel file as a text delimited by
> tabs than would like a script to insert | in place of
> the tab.

cat <file> | tr -s \\t "|" > <new.file>


-- 
Hal B
[EMAIL PROTECTED]
--
            Linux helps those who help themselves


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to