The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Re: Long command lines
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
Re: Long command lines
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
05-22-2002
Perderabo
Unix Daemon
Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,352
But few versions of find have that -level 0 option.
I would do:
cd somedir
ls | grep \\.F\$ | wc -l
to get a count of the *.F files. Then just compare that number to zero.
Perderabo
View Public Profile
Find all posts by Perderabo