home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2694 / cpl.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1991-02-08  |  360 b   |  19 lines

  1. :
  2. #! /bin/sh
  3. #
  4. #    @(#) cpl.sh    1.2 91/02/07 
  5. #
  6. #    Author: Christian Schlichtherle, 1991
  7. #        (chris@attron.ruhr.sub.org)
  8. #
  9. #    cpl.sh - Bourne shell script for cpl(C).
  10. #
  11. set -e
  12. cp $@
  13. eval DIR=$"$#"
  14. test -d $DIR || DIR=`dirname $DIR`
  15. echo "For each copied file, type the name and description in the same line."
  16. echo "End with <Ctrl>-d."
  17. cat >> $DIR/.list
  18. list -U $DIR
  19.