Search Results

Search: Posts Made By: Scrutinizer
2,515
Posted By Scrutinizer
No need to escape the "," also the global option...
No need to escape the "," also the global option is at best superfluous:
sed 's/,$//' infile

or:
echo ${var%,}
Showing results 1 to 1 of 1

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