On 1/8/11 10:31 AM, Medard wrote:
Phil Davis<rev...@pdslabs.net>  wrote:

  put shell("man "&  tCommand&  " | col -b") into fld 1
<?rev
put shell("man ls | col -b") into tman
put tman into url "file:manls.txt"
put "Done!!"
?>

You are a Command Line God!

That's a name I have never been called.  ;-)

:-)

the obtained file is perfect!

NB: it is possible to write directly tman to the navigator window, but
as it eats spaces, the result is somewhat indigestible...

What happens if you do this? Maybe this would let you put it to the navigator window:

<?rev
put shell("man ls | col -b") into tman
replace space with "&nbsp;" in tman
put tman
?>



_______________________________________________
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

Reply via email to