Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 1997 16:15:43 -0800 (AKDT)
From:      Steve Howe <un_x@anchorage.net>
To:        freebsd-questions <questions@freebsd.org>
Subject:   no pipes allowed
Message-ID:  <Pine.BSF.3.95q.970429040140.8631A-100000@aak.anchorage.net>

next in thread | raw e-mail | index | archive | help

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)
-------------------------------------------------------------------------
also - how does one get sh scripts to accept piped input ... ?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970429040140.8631A-100000>