wrapper

ldmud-3.3.719/src/util/indent/wrapper · 222 B

From the archive ldmud-3.3.719.tar.gz

Download the archive   « Back to the archive contents

#!/bin/sh
MUDLIB=/user/mud/mudlib
case $1 in
  /* | *..*)
    echo illegal ;;
  *)
  if test -n "`echo $1 | sed 's/[a-zA-Z0-9._#%/]//g'`"; then
    echo illegal; exit 1
  fi
  /user/mud/bin/indent ${MUDLIB}/$1 -lpc;;
esac

Site Stats

Snippets: 1791
Codebases: 571