DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 22nd September 2008
bigb89 bigb89 is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 69
Thanked 1 Time in 1 Post
Default Putting Lines to Together.

Hi Guys,

Sorry if this may seem like a stupid question. I can probably find my answer on google, but I don't know exactly what I should search for. So here's what I would like to do:

Let's say I have a text file containing the following:

Hi,
my
name
is
bigb89.

What could I do to make that same file like this?:

Hi, my name is bigb89.

It doesn't matter the language I use (shell, perl, awk, sed, etc). I just would like know of a way that I can achieve that.

Regards.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Putting Free/Net/Open - BSDs on one HDD alpopa NetBSD Installation and Upgrading 6 23rd December 2008 08:16 PM
Deleting lines with certain letters/keywords. bigb89 Programming 4 12th November 2008 11:59 PM
Spare PC, need ideas for putting it to use TerryP Off-Topic 9 21st July 2008 02:10 PM
Adding multiple lines into file c0mrade Programming 4 7th June 2008 11:03 PM


All times are GMT. The time now is 06:39 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick