You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
213 B

  1. #!/bin/sh
  2. info() { echo "$$ $*"; }
  3. err() { echo "E: $$ $*" >&2; }
  4. FILES="$(pwd -P)"
  5. for x; do
  6. if [ -L "$x" ]; then
  7. err "$x: symlinks not supported"
  8. elif [ -d "$x" ]; then
  9. true
  10. else
  11. info "[$x]"
  12. fi
  13. done