Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. maalim

    How do I strip trailing spaces from a variable?

    I should have added this earlier: the value passed to the script is uppercase. I need to convert it to lowercase and append the directory in which the file is located: Example filen = ${1} results in PR197-123.CSV. I need it to read 'pr197-123.csv. Additionally, the file is to fetched from...
  2. maalim

    How do I strip trailing spaces from a variable?

    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...

Part and Inventory Search

Back
Top