Find the answer to your Linux question:
Results 1 to 2 of 2
hi all.. this is my first post in this forum. i need your help to solve this issue. i have a script to read a file and get each column ...
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    2

    New line join problem , korn

    hi all..
    this is my first post in this forum. i need your help to solve this issue.
    i have a script to read a file and get each column with varibles.
    actually my file: hplog1 sample 3 lines consists of

    client1_day- 2010
    jan

    client2 2009

    client3_day- 2008
    feb

    i want to create a new file: hplog2, which read contents of above file it supposed to be

    client1_dayjan 2010

    client2 2009

    client3_dayfeb 2008

    basically i need to remove any line with newline symbol ( - ) and add the below characters which are supposed to be print in one word.

    can u please help me..

    thankx in advance

    -Chris

  2. #2
    Just Joined!
    Join Date
    Jul 2010
    Posts
    2
    can anyone help me here please..

Posting Permissions

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