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
On 1/8/11 4:42 AM, Peter Brigham MD wrote:
So, no way of decoding this easily, huh? If you do a char by char pass through
the text and replace every doubled letter with its single, then you'll get
sily comands.... How do the "geek apps" manage to parse it?
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On Jan 8, 2011, at 1:42 AM, Medard wrote:
Peter Brigham MD <pmb...@gmail.com> wrote:
As you can see, the section titles and commands consist of doubled
letters.
I encountered this as I was trying to read the man for ls on the server
machine [On-Rev]... the text file I obtained was almost unreadable!
Nonetheless, "doubled" chars are interpreted as *bold* chars on geek
apps (you know, line command) ;-)
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
--
Phil Davis
PDS Labs
Professional Software Development
http://pdslabs.net
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode