[Bug 317] New: Add 'which' script to bash installation-

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Wed Mar 20 09:55:30 PST 2002


           Summary: Add 'which' script to bash installation-
           Product: Linux From Scratch
           Version: CVS
          Platform: PC
        OS/Version: Other
            Status: NEW
 Status Whiteboard:
          Severity: normal
          Priority: P3
         Component: Book
        AssignedTo: lfs-book at linuxfromscratch.org
        ReportedBy: gerard at linuxfromscratch.org

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
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message

More information about the lfs-book mailing list