Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2007
    Posts
    11

    Unanswered: Need help to trim space of an output file

    Hello Code gurus .. Please help me on this

    I am declaring two conditions ::

    current_dir=`ps -o user | grep -v 'USER' | uniq`

    $outputfile=autosys_modified$current_dir.txt


    once the script gets completed it generating a file name with a space

    autosys_modified uuuuu1.txt


    i need to have file like autosys_modifieduuuuu1.txt

  2. #2
    Join Date
    Sep 2007
    Posts
    11
    Please ignore this guys thanks

    I got the result

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •