The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Shell scripting assistance
Hey, looking for a little help with a linux shell script I am writing since I am not very good at it.
I need to count the number of lines in the files of a specified directory and return the ONLY the file with the most lines. I can accomplish the first task with 'wc -l *|sort -rn' that will return the line count of all the files in the working directory and order them from highest to lowest. What I cannot figure out is how to only return the file with the most lines and exclude all the others. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|