Results 1 to 2 of 2

Thread: awk question

  1. #1
    Join Date
    Oct 2003
    Location
    Germany
    Posts
    138

    Unanswered: awk question

    how can I change a chararter in a string. Exampe : 123.10 / -4567.30
    I want to change the "." into ",". The length of the string is not allways the same

    Thanks
    Greetings from germany
    Peter F.

  2. #2
    Join Date
    Jan 2007
    Location
    Jena, Germany
    Posts
    2,721
    Have a look at function "gsub" in the man page.
    Knut Stolze
    IBM DB2 Analytics Accelerator
    IBM Germany Research & Development

Posting Permissions

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