Yes. Thank you.  You must be into reading defective minds! Exactly what I
was looking for using -L or --max-line-length to see if I had any routines
too long.

ls | wc -L  gave me the maximum line length so I could tell if any file in
the directory was out of bounds.

Maury's method can actually find the problem *.m routines for me.

ls | wc -l counted the files, etc.  It's very helpful utility, when you can
remember it. ;-)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jorge
Escala
Sent: Saturday, September 04, 2004 2:47 PM
To: [EMAIL PROTECTED]
Subject: Re: [Hardhats-members] What is that Linux command?



If what you want is a count you can use the following:

        ls ?????????*.m | wc -l

"wc -l" is the "word count" command with the "lines" switch that makes
the command only count lines.

Jorge Escala
Open Tech Solutions
http://www.getopentech.com


On Sep 4, 2004, at 12:50 PM, Nancy Anthracite wrote:

> Cool.  But, it was ?????????*.m that did the trick!  Not what I was
> trying
> to remember, but it worked like a charm!
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of m
> pepper
> Sent: Saturday, September 04, 2004 12:39 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Hardhats-members] What is that Linux command?
>
>
> How about  ls ????????*.m
>
>
> ----- Original Message -----
> From: "Nancy Anthracite" <[EMAIL PROTECTED]>
> To: "Hardhats" <[EMAIL PROTECTED]>
> Sent: Saturday, September 04, 2004 11:16 AM
> Subject: [Hardhats-members] What is that Linux command?
>
>
>> I am looking for any m routines in a directory of VistA routines that
>> are
>> more than 8 characters before the .m so I can tell if I can use a
> particular
>> version of Linux CD burning software that can't handle more without
>> adding
> a
>> ~1, etc. I recall there is a command that you can use to figure out
>> how
> many
>> files in a directory have names of a certain length or more. It is a
> Bourne
>> scripting command and I think it involves piping ls to something, but
>> I am
>> unable to remember how to do it.  Can someone help me?
>>
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by BEA Weblogic Workshop
>> FREE Java Enterprise J2EE developer tools!
>> Get your free copy of BEA WebLogic Workshop 8.1 today.
>> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
>> _______________________________________________
>> Hardhats-members mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_idP47&alloc_id808&op=ick
> _______________________________________________
> Hardhats-members mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> _______________________________________________
> Hardhats-members mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=ick
_______________________________________________
Hardhats-members mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hardhats-members




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Hardhats-members mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to