Results 1 to 2 of 2

Thread: Printing words in same line

  1. #1
    CarterBaker is offline Senior Member
    Join Date
    Dec 2009
    Posts
    210
    Rep Power
    3

    Default Printing words in same line

    I want to know how to print words in same line with space in text file. So please provide me any suggestions about how to do it. Any help will be appreciated.

  2. #2
    HowardAdams is offline Senior Member
    Join Date
    Dec 2009
    Posts
    214
    Rep Power
    3

    Default

    sed '1s/$/ ghi/' text.fil --- This sed command used to print words in same line. Here 'ghi' adds to end of line. The sed command has a variety factor. The "1" makes sure that only first line is appended. If the 1 is not there then every line is appended.

Similar Threads

  1. How to find out the words of software
    By HowardAdams in forum Software Jargons
    Replies: 1
    Last Post: 05-15-2010, 01:20 PM
  2. Words are Very small in IE
    By magreat in forum General Internet Terms
    Replies: 1
    Last Post: 01-31-2009, 06:07 AM
  3. Words on security and power
    By Cadmus4778 in forum Everything Else
    Replies: 0
    Last Post: 12-02-2008, 08:15 AM
  4. Final words
    By enrich444 in forum Applications
    Replies: 0
    Last Post: 11-21-2008, 01:32 PM
  5. Photo printing:- Printing colors correctly without color management
    By poulharis in forum General Internet Terms
    Replies: 0
    Last Post: 08-19-2008, 03:38 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
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48