Search Results

Search: Posts Made By: kurumi
8,180
Posted By kurumi
shopt -s extglob exec 6<"file" total=0 ...
shopt -s extglob
exec 6<"file"
total=0
while read -r LINE<&6
do
olen="${#LINE}"
LINE=${LINE//[^[:ascii:]]/}
len="${#LINE}"
total=$((olen-len+total))
done
exec 6<&-
echo...
Showing results 1 to 1 of 1

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