Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • I checked with my text file, the sed command here is not working, its displaying whole of file. Can you explain me on this command? Commented Feb 4, 2016 at 8:09
  • Added explanation. Do you have separate lines in the file or all in 1 line ? Commented Feb 4, 2016 at 8:49
  • I have all in 1 line. Commented Feb 4, 2016 at 9:11
  • how do I execute this? should I just enter the whole thing in the prompt? if so its not working. Commented Feb 4, 2016 at 9:12
  • yes. Could you put the input file somewhere (pastebin maybe?) and put the link here. Commented Feb 4, 2016 at 9:20