Archive | July, 2008

Convert to dos or unix or mac

25 Jul

:set fileformat=dos
:set fileformat=mac
:set fileformat=unix

Advertisements

converting tabs to spaces

25 Jul

first :

:set expandtab
:%retab

Solaris ps

2 Jul

Sometimes ps -ef doesn’t show you enough of the command line, use: ‘/usr/ucb/ps -auxwwweg’