Search Results

Search: Posts Made By: rupweb
9,239
Posted By rupweb
one more thing... can I alias my :%!cut -c...
one more thing...

can I alias my :%!cut -c -158 command within vi to a simpler keystroke, like :i or something?
9,239
Posted By rupweb
Thanks... this goes much of the way towards...
Thanks... this goes much of the way towards perfection!!

the cut tool is producing good results using:

cut -c -158 <filename> | more

or from within Vi:

:%!cut -c -158

Think i prefer...
9,239
Posted By rupweb
Thanks, but I get the following error: cut:...
Thanks, but I get the following error:

cut: No such command from open/visual

I am using vi on a SunOS 5.8 Generic_108528-12 sun4u sparc SUNW box...

any help appreciated
9,239
Posted By rupweb
Vi horizontal scrolling
I have to look through logfiles where lines are several hundred characters long and if I open the log in Vi it automatically word wraps the line. In Vim you can use the -nowrap option to stop this,...
Showing results 1 to 4 of 4

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