[olug] Unix Tip: VI MAN PAGES

Mike Peterson mpeterson at mail.charlesfurniture.com
Wed Jul 9 18:08:17 UTC 2003


I usually do man ls | col -bx > ls.txt

The x converts the tabs to spaces.

I use this tip in my beginning UNIX class I teach.
I teach it with Linux.

----- Original Message ----- 
From: "Unix Guru Universe" <listserv at ugu.com>
To: <olug at olug.org>
Sent: Wednesday, July 09, 2003 11:39 AM
Subject: [olug] Unix Tip: VI MAN PAGES


>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>       UNIX GURU UNIVERSE
>          UNIX HOT TIP
>
> Unix Tip 2016 - July  9, 2003
>
>     http://www.ugu.com/sui/ugu/show?tip.today
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>
> VI MAN PAGES
>
> Try saving a man page to
> a file for viewing with vi.
>
> You will see a whole bunch
> of control characters.
>
> How can you save a man page
> in a form readable by vi?
>
> $ man ls | col -b > readable_file.txt
>
>
> This tip generously supported by: kmehta at legato.com
>
>
> --------------------------------------------------------------------------
> To Subscribe:    http://www.ugu.com/sui/ugu/show?tip.subscribe
> To Unsubscribe:  http://www.ugu.com/sui/ugu/show?tip.unsubscribe
> To Submit A Tip: http://www.ugu.com/sui/ugu/show?tip.today
>
> ==========================================================================
> DISCLAIMER: All UNIX HOT TIPS ARE OWNED BY THE UNIX GURU UNIVERSE AND ARE
> NOT TO BE SOLD, PRINTED OR USED WITHOUT THE WRITTEN CONSENT OF THE UNIX
> GURU UNIVERSE. ALL TIPS ARE "USE AT YOUR OWN RISK". UGU  ADVISES THAT
> ALL TIPS BE TESTED IN A NON-PRODUCTION DEVELOPMENT ENVIRONMENT FIRST.
>
> Unix Guru Universe - www.ugu.com - tips at ugu.com - Copyright 1994-2001
> ==========================================================================
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>




More information about the OLUG mailing list