Search Results

Search: Posts Made By: Suryaaravindh
125,896
Posted By Scrutinizer
Shell: while IFS= read -r line; do echo...
Shell:
while IFS= read -r line; do
echo ${#line}
done < infileIncluding linefeed character:
while IFS= read -r line; do
echo $(( ${#line} + 1 ))
done < infile
Showing results 1 to 1 of 1

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