• capture output

    From Ragnarok@VERT to DOVE-Net.Baja_Programming on Tue Aug 12 17:28:15 2003
    hi ,,how to make a shell to call some 'ls -l' and capture the output of theãcommand in one string?ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Digital Man@VERT to Ragnarok on Tue Aug 12 17:17:02 2003
    Re: capture outputã By: Ragnarok to DOVE-Net.Baja_Programming on Tue Aug 12 2003 05:28 pmãã > hi ,,how to make a shell to call some 'ls -l' and capture the output of theã > command in one string?ããIf you want a detailed directory listging in Baja, there's a betterã(cross-platform) way than running 'ls -l'. See exec/dir.src for an example.ãã digital manããSnapple "Real Fact" #13:ãCats have over 100 vocal sounds.ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Ragnarok@VERT to All on Wed Aug 13 13:44:04 2003
    nop, it's only an example... i want to execute others console commands suchãdig, ping's , greps...etc..ãsome example are:ãã var str;ã str = shell_and_capute_out_magic_function ("cat /etc/services|grepãftp");ã console.write (str);ã str = shell_and_capute_out_magic_function ("ping www.av.com");ã console.write (str);ããor maybe in baja also.ããtal.man@vert.synchro.net> escribió en el mensajeãnews:3F39837E.1731.bajaprog@vert.synchro.net...ã> Re: capture outputã> By: Ragnarok to DOVE-Net.Baja_Programming on Tue Aug 12 2003 05:28 pmã>ã> > hi ,,how to make a shell to call some 'ls -l' and capture the output ofãtheã> > command in one string?ã>ã> If you want a detailed directory listging in Baja, there's a betterã> (cross-platform) way than running 'ls -l'. See exec/dir.src for anãexample.ã>ã> digital manã>ã> Snapple "Real Fact" #13:ã> Cats have over 100 vocal sounds.ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Digital Man@VERT to Ragnarok on Fri Aug 15 18:48:18 2003
    Re: Re: capture outputã By: Ragnarok to All on Wed Aug 13 2003 01:44 pmãã > nop, it's only an example... i want to execute others console commands suchã > dig, ping's , greps...etc..ã > some example are:ã > ã > var str;ã > str = shell_and_capute_out_magic_function ("cat /etc/services|grepã > ftp");ã > console.write (str);ã > str = shell_and_capute_out_magic_function ("ping www.av.com");ã > console.write (str);ã > ã > or maybe in baja also.ããRedirect the output to a file and read it in.ãã digital manããSnapple "Real Fact" #66:ãAmericans on average eat 18 acres of pizza a day.ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã