Editing a too big file.

1 view
Skip to first unread message

Jar Sconce

unread,
Jan 23, 2010, 4:44:00 AM1/23/10
to BBEdit Talk
Hello,

I need to replace some characters from a bunch of files, before
inserting them in a Postgres database. But since the file contains
over 500000 rows, BBEdit say; do it yourself! ;-)

Can anyone help me with crafting a shellscript, that can replace \x0D
with \x0B characters?

--
Jacco

Lewis@Gmail

unread,
Jan 23, 2010, 11:46:08 AM1/23/10
to bbe...@googlegroups.com
On 23-Jan-2010, at 02:44, Jar Sconce wrote:
> Can anyone help me with crafting a shellscript, that can replace \x0D
> with \x0B characters?


you don't need a script, take a look at `man tr`

--
Death is caused by swallowing small amounts of saliva over a long
period of time.

Jar Sconce

unread,
Jan 28, 2010, 1:37:40 AM1/28/10
to BBEdit Talk
> you don't need a script, take a look at `man tr`

Excellent, I didn't know that this application existed. Thank you so
much!

--
jacco

Reply all
Reply to author
Forward
0 new messages