strip-location.sh 105 B

12345678
  1. #! /bin/sh
  2. set -e
  3. for i in "$@"; do
  4. i="./$i"
  5. sed '/^#:/d' < "$i" > "$i.tmp"
  6. mv -f "$i.tmp" "$i"
  7. done