We are intending to do the tr command for GNU/HURD.
Can anyone plz. explain what we are actually required
when writing a tr?
Actually, the idea what we have is :
hurd# settrans /tmp/PASSWD
~/work/hurd/my-tr-translator --file /etc/passwd --expr
Here my-tr-translator must get the port of /etc/passwd
and then read the contents of passwd thru the port
(port is obtained by querying the root file system).
reading it will apply the conversion according to
and then write the output to the port of /tmp/PASSWD?
Here again we are attaching a passive translator to
/tmp/PASSWD 's inode, isn't it?
In that case /tmp/PASSWD may not required storage
space, it may just require the command string in its
Is that is what we are reqd. to do or are we
Please explain the same.
Do You Yahoo!?
Send your FREE holiday greetings online!