Path: utzoo!attcan!uunet!cbmvax!andy
From: andy@cbmvax.UUCP (Andy Finkel)
Newsgroups: comp.sys.amiga
Subject: Re: Yea, but can an Amiga Shell do this....
Message-ID: <4498@cbmvax.UUCP>
Date: 16 Aug 88 13:57:06 GMT
References: <1836.AA1836@heimat> <6821@jhunix.HCF.JHU.EDU>
Reply-To: andy@cbmvax.UUCP (Andy Finkel)
Organization: Commodore Technology, West Chester, PA
Lines: 42

In article <6821@jhunix.HCF.JHU.EDU> ins_adjb@jhunix.UUCP (Daniel Jay Barrett) writes:
>In article <1836.AA1836@heimat> sneakers@heimat.UUCP (Dan "Sneakers" Schein) writes:
>>In Message <2213@ihlpm.ATT.COM>, jmdavis@ihlpm.ATT.COM (Davis) writes:
>>>
>>>		> file `where ls`
>>
>>  1> where >pipe:1 ls
>>  1> file 
>	Sorry, Dan, but these are not equivalent.  In Davis's example,
>`where ls` expands into a COMMAND LINE ARGUMENT for "file".  In your
>example, you have "file" reading from standard input.
>	Pipes really can't replace the backtick.

Actually, you're both right...its a floor wax *and* a dessert topping!  :-)

For standard AmigaDOS commands, pipe can replace the backtick
(well, almost)

Placing a ? after a command forces it to get any missing command line
arguments from stdin.

Here's an example...

	cat -v `which echo` 

could be done by

which >pipe:1 echo
type