RevOnline: New version of Shell Command Help

Peter Brigham MD pmbrig at gmail.com
Sat Jan 8 11:03:38 EST 2011


On Jan 8, 2011, at 7:58 AM, Phil Davis wrote:

> Try this:
>     put "ls" into tCommand
>     put shell("man " & tCommand & " | col -b") into fld 1
>
> That is how my Shell Command Help plugin does it.
>
> Phil Davis

Interesting. This trick is documented in the man page for "man" at the  
bottom, though nowhere in the syntax list does it list the "col" or "- 
b" parameters.

"To  get a plain text version of a man page, without backspaces and  
underscores, try
	 # man foo | col -b > foo.mantxt"

Thanks.

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig






More information about the Use-livecode mailing list