[PLUG] To the VI Question

Sandy Herring sandy at herring.org
Tue Jul 16 00:46:53 UTC 2002


Matt,

IIRC, the default RH install gives you vim-minimal when you use `vi', and 
vim-enhanced when you use `vim' from the CLI. Try editing the file using
`vim' rather than `vi' and see if you can do the substitution.

Sandy

On Mon, 15 Jul 2002, Matt Alexander wrote: 
> OK, here's the contents of a text file after the od -c is run on it:
> 
> 0000000   b   o   b  \n   s   a   m  \n   j   o   e  \n   m   a   r   k
> 0000020  \n   s   a   l   l   y  \n   m   a   r   g   e  \n
> 0000035
> 
> So there are clearly newline characters.  But...  the :%s/\n/,/ doesn't
> work.  SoooooOOOOooOOoOOoooo...  Any guesses why?  This is a default
> RedHat 7.3 install.
> Thanks,
> ~M

-- 
Sandy Herring, RHCE                        o              sandy at herring.org
Peck of Pickled Pisces               __  o               http://herring.org/
UNIX or Web authoring questions?  |\/ o\  o  http://herring.org/finger.html
=>http://herring.org/techie.html  |/\__/     http://herring.org/pub-key.asc
*sh, Perl, C, VBA, PICK Assembler, Data/Basic, PROC & profanity spoken here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20020715/1581b87b/attachment.asc>


More information about the PLUG mailing list