|
[Date Index]
[Thread Index]
[Author Index]
Re: External programs, notebook interface
- To: mathgroup at smc.vnet.net
- Subject: [mg24543] Re: External programs, notebook interface
- From: "Dale Horton" <daleh at wolfram.com>
- Date: Mon, 24 Jul 2000 03:04:22 -0400 (EDT)
- Organization: Wolfram Research, Inc.
- References: <8l0po9$ds2@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
The syntax error is because the output of date is not a valid expression.
Instead, you want to put the output into a string. ReadList can do this
ReadList["!date", Record]
-Dale
"Philip C Mendelsohn" <mend0070 at garnet.tc.umn.edu> wrote in message
news:8l0po9$ds2 at smc.vnet.net...
> 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.
>
> I know that I've done this before -- at one point I just lived in M
> and scarcely even changed to a shell window. Now, I fear I forgot
> how, or M is trying to pull a "Gaslight" on me.
>
> Suggestions?
>
> Thanks,
> Phil Mendelsohn
>
> --
> Lottery: a tax on people who are bad at math
>
Prev by Date:
Confluent hypergeometric functions of matrix argument
Next by Date:
Re: Display
Previous by thread:
External programs, notebook interface
Next by thread:
Re: External programs, notebook interface
|