2 Replies Latest reply on Aug 11, 2011 12:35 PM by Bill Robinson

    removing spaces from a concatenated string

      I am trying to write a simple nsh script (type 2) that displays a file but for some reason %h puts a space at the end of the servername that i am having trouble removing.




      i pass the the %h first then /tmp/file.txt as the second parameter








      cat $servername$filepath





      the result ends up being


      cat //server1 /tmp/file.txt