Path: utzoo!utgpu!watmath!clyde!att!rutgers!bellcore!texbell!uhnix1!sugar!peter From: peter@sugar.uu.net (Peter da Silva) Newsgroups: comp.sys.amiga Subject: Re: Devices in general Keywords: devices speak 1.3 1.4 Message-ID: <3046@sugar.uu.net> Date: 4 Dec 88 05:18:06 GMT References: <5015@garfield.MUN.EDU> <1086@teorix.liu.se> Organization: Sugar Land Unix - Houston, TX Lines: 32 In article <1086@teorix.liu.se>, dat01@teorix.liu.se (Dat) writes: > What I would like to do is use the devices as some kind of pipes. Better would be some real pipes and better tools. Some things make sense as devices, and some things make more sense as tools. Relatively large programs like arc and zoo fit into the latter category. I want a good korn shell for the Amiga. csh is a crummy programming language. > saveas CRYPT:ZOO:MSDOS:file crypt file | zoo create MSDOS:file.zoo input "file" Or if you can't fix zoo: crypt file >PIPE:file & zoo -add MSDOS:file.zoo PIPE:file > copy from ARC:MSDOS:file.arc to ZOO:DH0:file.zoo for i in `arc t MSDOS:file.arc` do arc p MSDOS:file.arc $i >PIPE:file & zoo -add DH0:file.zoo PIPE:file done I routinely do stuff like this in UNIX. It's a pity the Amiga pipe devices don't work quite right for this application. -- Peter da Silva `-_-' peter@sugar.uu.net Have you hugged U your wolf today? Disclaimer: My typos are my own damn busines#!rne