#317 closed defect (wontfix)
Add 'which' script to bash installation-
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Book | Version: | CVS |
Severity: | normal | Keywords: | |
Cc: |
Description
after the discussion settles, and decided to do it, here's a way to do it:
echo $'#!/bin/sh\ntype -p "$@"' >/bin/which && chmod +x /bin/which
or the 'cat > file << "EOF" method...whatever
Note:
See TracTickets
for help on using tickets.
This is in BLFS now, so no need to include it here.http://beyond.linuxfromscratch.org/view/cvs/chapter05/which.html