Search Results

Search: Posts Made By: Gale Gorman
Forum: OS X (Apple) 03-27-2009
8,186
Posted By Gale Gorman
Removal is not a problem. The only file I have...
Removal is not a problem. The only file I have has one line with >400,000 characters. Where ^M was at one time now has XXX but this is still all on one line.

I need to insert a carriage return at...
Forum: OS X (Apple) 03-27-2009
8,186
Posted By Gale Gorman
I thought my original message was clear. ...
I thought my original message was clear.

This is one long file in a single line. Wherever XXX appears I need a carriage return or newline so the file can be read and edited with vi.

So I'm not...
Forum: OS X (Apple) 03-27-2009
8,186
Posted By Gale Gorman
In this awk line won't "" just remove each...
In this awk line won't "" just remove each occurrence of XXX?
Forum: OS X (Apple) 03-27-2009
8,186
Posted By Gale Gorman
Thanks, I've been trying to do this in vi with: ...
Thanks, I've been trying to do this in vi with:

:%s/XXX/^M/g

and all I get are the ^Ms when I wanted a carriage return.

BTW I know to use ctrl-v before the M.
Forum: OS X (Apple) 03-26-2009
8,186
Posted By Gale Gorman
Add CRs (newlines)
I have a long file originally created with vi but at some point saved with MS Word. At another time I substituted all occurrences of ^M with XXX. Now I'd like to get this back to vi but with the XXX...
Forum: Open Source 08-03-2008
339,722
Posted By Gale Gorman
Vi is my choice. Powerful, fast, low overhead.
Vi is my choice. Powerful, fast, low overhead.
Forum: OS X (Apple) 03-07-2008
6,624
Posted By Gale Gorman
Vi in Leopard
I read last night in MacWorld that Leopard included a new version of vi.

Is there a list somewhere of the changes? I use vi a lot.

Gale
Forum: OS X (Apple) 10-09-2007
6
vi
6,152
Posted By Gale Gorman
vi
I have a file that at some point I removed all ^Ms and now I'm trying to put a newline return where the ^Ms used to be.

I probably removed the ^Ms a few years ago in Linux or SCO Xenix and now...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 02:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy