I have file with the value say which is delimited with |123-|aaa|bbb|123|123.0|123-|123.01-|-123.02|123.03-|aaa|bbb|123-|aaa-|-bbb|cc-cc|123.04-|aa123-|123.05-I need to pick the column values which end with -, the column picked up should be a numeric value and then move the - to start of the value.
How to find and replace a field column value in UNIX
text processing;sed;awk;string