|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Add a word to Text file
Hello, I have a mysql text file. I want add a word to it. Thanks for help. Sample text: Code:
,'address','166 Warren Street, NY 12534'),(45215,26556,'phone','(518)811-4145'),(151426,15565,'listing_duration' ,'address','233 Tan Street, CA 15522'),(45215,26556,'phone','(518)811-4146'),(151426,15565,'listing_duration' I want this format. Code:
,'address','166 Warren Street, NY 12534 USA'),(45215,26556,'phone','(518)811-4145'),(151426,15565,'listing_duration' ,'address','233 Tan Street, CA 15522 USA'),(45215,26556,'phone','(518)811-4146'),(151426,15565,'listing_duration' |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
Here you had material to start your work:
http://www.unix.com/shell-programmin...text-file.html What more do you need? Did you search with google? Can we see what you did so far AND what is not working? |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Add a word to Text file | hoo | Shell Programming and Scripting | 8 | 01-30-2013 04:43 AM |
| extract a word from text file name | Sindhuap | Shell Programming and Scripting | 5 | 12-22-2011 02:47 AM |
| Script to add text before the first word on a line in a textfile. | mjanssen | UNIX for Dummies Questions & Answers | 3 | 03-31-2011 03:53 AM |
| [Bash]Attempting to Merge text from one file into another file at the line directly under a word | efciem | Shell Programming and Scripting | 5 | 05-23-2010 09:55 AM |
| Can a shell script pull the first word (or nth word) off each line of a text file? | tricky | Shell Programming and Scripting | 5 | 08-17-2006 06:29 AM |
|
|