RevOnline: New version of Shell Command Help

Phil Davis revdev at pdslabs.net
Sat Jan 8 17:23:28 EST 2011


On 1/8/11 10:31 AM, Medard wrote:
> Phil Davis<revdev at 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 " " in tman
put tman
?>



> _______________________________________________
> use-livecode mailing list
> use-livecode at 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





More information about the use-livecode mailing list