MACSCRPT Archives

May 2010

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
jeff donovan <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 17 May 2010 22:02:12 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (13 lines)
Greetings

this is driving me nutz.

using 10.6, from the terminal

sed ' s/([\t]+)/[:]/g' tabfile > notabfile

trying to search and replace tabs from a file in bash. I can do it in perl, perl -pi -e 's/\t/:/g' filename but not with sed. Ive tried it from a simple cat tabfile | sed 's/\t/,/g' 

any assistance would be helpful.
-j

ATOM RSS1 RSS2