Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2011
    Posts
    7

    Unanswered: Replacement of pattern

    I have a value asd_YYYYMMDD.usg and want replace YYYYMMDD by 20140113. Final output will be asd_20140113.usg. Can this be done by single unix command?

  2. #2
    Join Date
    Sep 2009
    Location
    Ontario
    Posts
    1,057
    Provided Answers: 1
    Where is the value?
    Is it a file name, an environment variable, or part/all of a line in a text file?

Posting Permissions

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