All pastes #898060 Raw Edit

Someone

public text v1 · immutable
·published 2008-02-10 01:17 UTC
rendered paste body
#!/bin/tcsh
set input = `head -1`
echo $input
if ($input == *.txt) then
    echo "text file"
else
    echo "not text  file"
endif