[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

5189.0. "AmigaDOS pipes????" by DECWET::DAVIS (Mark W. Davis 206.865.8749) Mon Nov 11 1991 12:18

    When running OS 1.3 and ARP (AShell) I could use the '|' to pipe.  Now
    I have to use the AmigaDOS 'pipe:' device, but do not understand what
    the manual is telling me.  How would I implement an equivalent of this
    unix command 'sort foo | lpr -Pxxxx' using the amigaDOS pipe: device. 
    Or better yet, is there a way to implement the '|' again??
    
    mark
    
T.RTitleUserPersonal
Name
DateLines
5189.1TENAYA::MWMMon Nov 11 1991 15:3816
The Amiga shell and CLI don't support '|' for pipes. You have to either
1) get a shell that does, or 2) use the following:

run sort foo to pipe:sort
lpr -Pxxxxx pipe:sort

WShell is my recommendation for a replacement shell with |'s. It's
commercial, well-supported, and has a high degree of compatability
with the Commodore Shells. The 1.3 version runs on 2.0, but has a
minor functionality break; the 2.0 version has been in test for a *long*
time, and should be shipping soon (now that 2.0 ROMs are out).

I understand people are also using csh (Matt Dillon's csh clone) and 
sksh (Steve Koren's ksh clone) under 2.0, but haven't tried it myself.

	<mike