[PLUG] Finding all shell scripts

David Fleck david.fleck at mchsi.com
Wed Oct 1 10:41:02 UTC 2003


On Wed, 1 Oct 2003, Rich Shepard wrote:
> ... With file, I don't see an option to
> distinguish shell scripts from reg'lar text files.

When I run file on an RH 9.0 system, the output looks like:

script.sh	Korn shell script text executable
script		Bourne shell script text executable
script.pl	a perl  script text executable
text.txt	ASCII text
etc.

...so I can see which is which.  Does your version of 'file' not do this?

--
David Fleck
david.fleck at mchsi.com





More information about the PLUG mailing list