Public feed #528486

Mine

public text v1 · immutable
Raw Edit
·published 2007-06-01 16:01 UTC
rendered paste body
#!/bin/bash

echo "Input yes / no"

        read INPUT

if [ -z $INPUT ]
        then
        echo "Syntax: is this"
        exit
fi
if [ $INPUT = "yes" ]
        then
        echo "complete"
        exit 1
else
        echo "failed"
        exit 1
fi