Search Results

Search: Posts Made By: pilnet101
4,974
Posted By pilnet101
Sure, So this part below will re-evaluate...
Sure,

So this part below will re-evaluate the value of $NF for every line read. The value of $NF being the last field.
awk '$NF=


For this part, ideally it should be enclosed in brackets....
4,974
Posted By pilnet101
As per the requirements, your current solution...
As per the requirements, your current solution does not always round up the last field. The below solution will always round up the last field:

echo "${NEWTEXTS}" | awk...
Showing results 1 to 2 of 2

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