All pastes #898071 Raw Edit

Someone

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