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
[email protected]
http://home.comcast.net/~pmbrig
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode