Stuff
public text v1 · immutable
#!/bin/tcsh
set input = `head -1`
if ($input == *.txt) then
echo "text file"
else
echo "not text file"
endif
#!/bin/tcsh
set input = `head -1`
if ($input == *.txt) then
echo "text file"
else
echo "not text file"
endif