•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Shell Scripting section within the Software Development category of DaniWeb, a massive community of 456,428 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,615 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Shell Scripting advertiser: Programming Forums
Views: 1387 | Replies: 2
![]() |
•
•
Join Date: Jun 2007
Posts: 7
Reputation:
Rep Power: 0
Solved Threads: 0
I have a text file with hundreds of names i would like to search in the database, yet to perform this query the names have to be on one line separated by commas. the text file is as follows
Mike
Ralph
Cindy
Claire
John
the output i need is
Mike,Ralph,Cindy,Claire,John
Any help on scripting this ?
Thanks
Mike
Ralph
Cindy
Claire
John
the output i need is
Mike,Ralph,Cindy,Claire,John
Any help on scripting this ?
Thanks
![]() |
•
•
•
•
•
•
•
•
DaniWeb Shell Scripting Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- C++ Reading from a text file (C++)
- Help Please, how do i read from text file into array? (Visual Basic 4 / 5 / 6)
- how to remove a number of lines from a text file ? (Python)
- Replace text in a file (Shell Scripting)
- # of lines in a text file (Java)
- how do i read the last line of a text file? (Python)
- help on using StringTokenizer to read and compute multiple lines from text (Java)
Other Threads in the Shell Scripting Forum
- Previous Thread: Concat files with similar names in different directories
- Next Thread: Script to compare dates?


Linear Mode