i wrote this script, and everytime i run the script the code deletes and i want to know why
EDIT: i also chmod 755 if anyone wanted to know
$ cat > ispostive
#!bin/sh
#
# Script to see whether argument is postive
#
if test $1 -gt 0
then
echo "$1 number is postive"
fi
just so everyone knows i just started to learn shell scripting :)