Re: hurd translator

2001-12-07 Thread Marcus Brinkmann
On Fri, Dec 07, 2001 at 04:13:28PM +0100, Martin Kretzschmar wrote: > Ah, that's why there was no printed code in the latest issue of freeX > magazine where you wrote about the run translator as an intro to > translator writing No, the reasoning is more the other way round. The code is on the CD,

Re: hurd translator

2001-12-07 Thread Martin Kretzschmar
Marcus Brinkmann <[EMAIL PROTECTED]> writes: > On Fri, Dec 07, 2001 at 12:53:26PM +0100, Alfred M. Szmidt wrote: > > * Oystein Viggen writes: > > > Can /hurd/exec perhaps be used as a passive translator in this way? > > > I don't currently have access to a Hurd, so I'm unable to check. > > > > >

Re: hurd translator

2001-12-07 Thread Marcus Brinkmann
On Fri, Dec 07, 2001 at 03:26:04PM +0100, Neal H Walfield wrote: > > This is not something that can be done this way in Unix, so a program would > > not expect it to work the way it is written above, so in the Unix world this > > is not a useful feature to have. > > Try this: > > [EMAIL P

Re: hurd translator

2001-12-07 Thread Neal H Walfield
> This is not something that can be done this way in Unix, so a program would > not expect it to work the way it is written above, so in the Unix world this > is not a useful feature to have. Try this: [EMAIL PROTECTED]:~ (0)$ mkfifo foo [EMAIL PROTECTED]:~ (0)$ while /bin/true; d

Re: hurd translator

2001-12-07 Thread Marcus Brinkmann
On Fri, Dec 07, 2001 at 12:53:26PM +0100, Alfred M. Szmidt wrote: > * Oystein Viggen writes: > > Can /hurd/exec perhaps be used as a passive translator in this way? > > I don't currently have access to a Hurd, so I'm unable to check. > > > I believe this would be more generally useful than the "tr

Re: hurd translator

2001-12-07 Thread Alfred M. Szmidt
* Oystein Viggen writes: > Can /hurd/exec perhaps be used as a passive translator in this way? > I don't currently have access to a Hurd, so I'm unable to check. > I believe this would be more generally useful than the "tr > translator", but perhaps general usefulness was not as much a goal > as j

Re: hurd translator

2001-12-07 Thread Oystein Viggen
* [arun v] > Actually, the idea what we have is : > > hurd# settrans /tmp/PASSWD > ~/work/hurd/my-tr-translator --file /etc/passwd --expr > "a-z A-Z" If I'm not much mistaken a "normal" tr command is available in /bin, so I'm thinking it would perhaps be more useful to create a more generic tra

hurd translator

2001-12-07 Thread arun v
hello, We are intending to do the tr command for GNU/HURD. Can anyone plz. explain what we are actually required to do when writing a tr? Actually, the idea what we have is : hurd# settrans /tmp/PASSWD ~/work/hurd/my-tr-translator --file /etc/passwd --expr "a-z A-Z" Here my-tr-translator must