I am accepting values for a variable outside of the script into an input field with fixed length. Since the value could have any length (max the input field length), I need a way of stripping trailing spaces if any, within the unix script.
Here's how I pass the value from the form to the script:
filen=`echo ${1}`
Any ideas?
Thanks.
Here's how I pass the value from the form to the script:
filen=`echo ${1}`
Any ideas?
Thanks.