Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#317 closed defect (wontfix)

Add 'which' script to bash installation-

Reported by: gerard@… Owned by: lfs-book@…
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

Change History (2)

comment:1 by gerard@…, 22 years ago

Resolution: wontfix
Status: newclosed

This is in BLFS now, so no need to include it here.http://beyond.linuxfromscratch.org/view/cvs/chapter05/which.html

comment:2 by markh@…, 22 years ago

confirmed that the page is in BLFS (I should know, I wrote it!)

Note: See TracTickets for help on using tickets.