Re: piping scripts into isql revisited
Posted in 1992
Path: emory!swrinde!cs.utexas.edu!asuvax!anasaz!qip!briand
From: briand@anasaz (Brian Douglass)
Newsgroups: comp.databases.informix
Message-ID: <1992Jan15.201722.10567@anasaz>
Date: 15 Jan 92 20:17:22 GMT
References: <753@bellahs.UUCP> <1600@das13.snide.com> <1992Jan14.201257.14449@cpqhou.uucp>
Organization: Anasazi, Inc. Phoenix, Az
In article <1992Jan14.201257.14449@cpqhou.uucp> thomasr@cpqhou.UUCP (Thomas Rush) writes:
>In article <1600@das13.snide.com> dave@das13.snide.com (Dave Snyder) writes:
>>In article <753@bellahs.UUCP>, jjamison@bellahs.UUCP (John Jamison) writes:
>>> Ok so I feel stupid. yes input redirection and piping worked without
>>> a problem. But I am told there is an undocumented flag which presents
>>> you with a ">" prompt or something, sort of a back door into isql
>>> in which you don't have all the menus and special keys, etc. And it
>>> will also take input from redirected input and a pipe.
>>
>>Ok, try this...
>>
>> isql dbname -
>
>Or,
> isql - -
>
> [but you might want to pick a database first off]
Or,
isql - - >>!
> database whatever;
> select * from foo; >!
And it runs. The ! gets set as the end of extended input character.
--
Brian Douglass briand%anasaz.UUCP@asuvax.eas.asu.edu
602-870-3330 X657