Results 1 to 10 of 12

Thread: Shell Scripting

Threaded View

  1. #1
    Join Date
    Sep 2011
    Beans
    14

    Exclamation Shell Scripting

    how to replace Alt+Enter from within text file .

    sample input book2.txt is below..

    1212||sdfsdfsdf fgkdjfkgljlsdfg||sdfsdf
    4454||"sadfsdfg
    sdfgsdfg
    sdf"||sdfgdfg
    4454||ds gkdkjfhgskjfsdhkjg||sdfsdf

    in above data, each line start with number. and is "||" delimited, but the 3rd record is broken into 3 lines due to alt+enter.

    sed cntrl+J not helped

    Regards
    Rohit
    Last edited by rohit verma; October 8th, 2012 at 04:14 PM.

Bookmarks

Posting Permissions

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