bje
asked on
how to remove white space from a value
Hello,
I am pulling a value from a file using this command, I would then need to remove the white space from the value.
For example,
examplevalue=$(awk -F"\t" 'NR==30 {print $9}' $file )
Returns value
aaaa bbbb cccc
final value should look like this
aaaa-bbbb-cccc
I am pulling a value from a file using this command, I would then need to remove the white space from the value.
For example,
examplevalue=$(awk -F"\t" 'NR==30 {print $9}' $file )
Returns value
aaaa bbbb cccc
final value should look like this
aaaa-bbbb-cccc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.