Search Results

Search: Posts Made By: summer_cherry
1,643
Posted By summer_cherry
echo "from line=" read f echo "end line=" ...
echo "from line="
read f
echo "end line="
read e
nawk -v f="$f" -v e="$e" '{
for(i=f;i<=e;i++)
printf("%s ",$i)
print ""
}' file
Showing results 1 to 1 of 1

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