to clarify:
it is an rc script, but the echo commands pump commands to a ksh through an
acme win window.
then he collects the output
2014-04-24 6:25 GMT+02:00 Alexander Kapshuk :
> I'm sorry I confused you. In my second email I did mention that the
> script was used to set a prompt and an acme w
I'm sorry I confused you. In my second email I did mention that the
script was used to set a prompt and an acme window name when running
win and being logged onto UNIX.
On Thu, Apr 24, 2014 at 7:18 AM, Jacob Todd wrote:
> Then why did you say it was rc? What's wrong with you.
>
> On Apr 24, 2014
Then why did you say it was rc? What's wrong with you.
On Apr 24, 2014 12:18 AM, "Alexander Kapshuk"
wrote:
> That's OK. It's actually ksh on AIX.
>
> Thanks for your feedback anyway.
>
>
> On Wed, Apr 23, 2014 at 10:34 PM, erik quanstrom
> wrote:
> >> >>> #!/bin/rc
> >> >>> {
> >> >>> echo 'ec
That's OK. It's actually ksh on AIX.
Thanks for your feedback anyway.
On Wed, Apr 23, 2014 at 10:34 PM, erik quanstrom wrote:
>> >>> #!/bin/rc
>> >>> {
>> >>> echo 'echo $SYSNAME!`uname -n`!$USER'
>> >>> echo 'PS1='':; '' PS2='' '''
>> >>> } >/dev/$winid/body
>> > this is not valid rc.
>> >
>
> >>> #!/bin/rc
> >>> {
> >>> echo 'echo $SYSNAME!`uname -n`!$USER'
> >>> echo 'PS1='':; '' PS2='' '''
> >>> } >/dev/$winid/body
> > this is not valid rc.
> >
> > - erik
> >
> If it's not too much trouble, would you mind demonstrating what valid rc
> would be for the part of the script in questio
On 04/23/2014 09:07 PM, erik quanstrom wrote:
>> is '!' a metacharacter in regexes? regex(6) doesn't say anything about it.
>>
> it is not.
>
> however
>
>>> #!/bin/rc
>>> {
>>> echo 'echo $SYSNAME!`uname -n`!$USER'
>>> echo 'PS1='':; '' PS2='' '''
>>> } >/dev/$winid/body
> this is not valid rc.
> is '!' a metacharacter in regexes? regex(6) doesn't say anything about it.
>
it is not.
however
> > #!/bin/rc
> > {
> > echo 'echo $SYSNAME!`uname -n`!$USER'
> > echo 'PS1='':; '' PS2='' '''
> > } >/dev/$winid/body
this is not valid rc.
- erik
is '!' a metacharacter in regexes? regex(6) doesn't say anything about it.
2014-04-23 9:29 GMT+02:00 Alexander Kapshuk :
> Turns out, the reason why writing '/[A-Z]+\![a-z0-9]+\![0-9a-z]+' to
> /dev/$winid/addr would fail for me is because sending a string
> represented by the regular expressio
Turns out, the reason why writing '/[A-Z]+\![a-z0-9]+\![0-9a-z]+' to
/dev/$winid/addr would fail for me is because sending a string
represented by the regular expression in question to /dev/$winid/body
was immediately followed by writing the regexp to addr. Putting a
while loop on the 'echo regexp
Howdy,
I'm working on a script where I want to get hold of a particular string
and use it as a new name of a particular window.
What I've tried so far, although not successfully, is writing to
/dev/$winid/addr with the intention of then being able to read the
string found from the /dev/$winid/dat
10 matches
Mail list logo