"Where there is a shell, there is a WAY !!"
Blog on Awk, Sed, BASH ones liners and scripts.
A couple of other cool ways.1. From the man pages of "man" command, to get a plain text version of a man page, without backspaces and underscores, do the following.. # man man | col -b > man.txt2. First redirect manual page into a file. # man man > man.txt Now, open man.txt with vim editor. with vim normal mode, execute the following command. :%s/.\b//g :wq!Done!!
@Adithya Kiran, thanks a lot for the tips.
Hi Jadu, Please update your blog with new tips. I was very much impressed the way you present tips. Any ways, I want to share two useful tips for vim editor. 1. Whenever you open vim, it will takes you the position where you left off last time in command mode. But if your requirement is to know the last insert position in a file, press "gi" without quotes.2. Number conversion in vim. Hexadecimal to decimal :echo 0x10 16Decimal to hexadecimal :echo printf ('%x\n', 10) a
Post a Comment
© Jadu Saikia www.UNIXCL.com