Date: Wed, 30 Apr 1997 13:04:10 +1000 (EST) From: Iain Templeton <iaint@CU-SeeMe.educ.utas.edu.au> To: Steve Howe <un_x@anchorage.net> Cc: freebsd-questions <questions@freebsd.org> Subject: Re: no pipes allowed Message-ID: <Pine.BSF.3.95q.970430130233.959A-100000@CU-SeeMe.educ.utas.edu.au> In-Reply-To: <Pine.BSF.3.95q.970429040140.8631A-100000@aak.anchorage.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Apr 1997, Steve Howe wrote: > > why is it that some commands like "ls" and "which" won't accept pipes? > > echo /etc | ls (will just list the current directory, not /etc) > echo ppp | which (does nothing ... no /usr/sbin/ppp) I think the problem here is that the programs do not read their std input for the file names, they look at the command line arguments. Using ls `echo /etc` would work, but thats probably not what you need. i.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970430130233.959A-100000>