|
[Date Index]
[Thread Index]
[Author Index]
Re: External programs, notebook interface
- To: mathgroup at smc.vnet.net
- Subject: [mg24568] Re: External programs, notebook interface
- From: "John M. Jowett" <John.Jowett at cern.ch>
- Date: Tue, 25 Jul 2000 00:56:03 -0400 (EDT)
- Organization: CERN
- References: <8l0po9$ds2@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hello,
I find the following syntax useful. It returns the output of the Unix
command in a list of strings (often a useful starting point for further
manipulation of the information)
ReadList["!ls -l",String]
One way to just display the command output in the notebook interface is
ReadList["!ls -l",String]//TableForm
John Jowett
Philip C Mendelsohn wrote:
> Brief question:
>
> Using the text based interface, !ls, or !date or other various Unix
> shell-escapes work just fine. In the notebook FrontEnd, however,
> they do not.
>
> This is the output I get:
>
> Syntax::sntx:
> Syntax error in or before "Thu Jul 13 10:03:59 CDT 2000".
> ^
> (line 1 of "!date")
>
> If I run various configurations of Run["command"], it works but doesn't
> echo the output (which is I as I would expect.)
>
> RunThrough["command", expr] doesn't work the way I want either.
>
--
My home page: http://wwwslap.cern.ch/~jowett/
Prev by Date:
Re: Confluent hypergeometric functions of matrix argument
Next by Date:
Re: can Mathematica use dual processors?
Previous by thread:
Re: External programs, notebook interface
Next by thread:
ExponentFunction
|