On  3 Feb, Jay Barbee wrote:

>>for a in file1 file2 file3; do \
>>  echo -n $a >> seperate_file; \
>>  echo -n ":::" >> seperate_file; \
>>  wc -l $a >> seperate_file; \
>>done
> 
> How would I gather a list of all TXT files in the directory before this and
> pass each file to this script.

replace the first line with;

for a in `ls *.TXT`; do

-- 
Graham

Reply via email to