Hi,
For the following command line output (without quotation mark) :
"to be sent: 50982"
I piped the output to "| grep "to be sent:" | cut -d : -f 2" to extract the number portion. How do I get rid of the spaces before the number "50982" before I assign it to a variable? Or is there another command that I can pipe to after the "cut" command to remove the spaces?
Thanks
Mike
For the following command line output (without quotation mark) :
"to be sent: 50982"
I piped the output to "| grep "to be sent:" | cut -d : -f 2" to extract the number portion. How do I get rid of the spaces before the number "50982" before I assign it to a variable? Or is there another command that I can pipe to after the "cut" command to remove the spaces?
Thanks
Mike