Search Results

Search: Posts Made By: Don Cragun
1,618
Posted By Don Cragun
For at least bash and ksh arrays, you could...
For at least bash and ksh arrays, you could replace your code with:

files_info=( $(find $input_dir -name "*_CHR$i.info" | sort ) )

printf ${#files_info[@]}"\n" #print length
...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 11:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy