Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

947.Advanced search and replace -- How to join two files line by line with comma as separator?

User: Fiona -- 2012-05-18          << 946  948 >>
Hits: 3235
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
I have two files containing list of jpg files, one with front and one with back pictures. Can these two files be added seperated with a "," for csv file purpose? 
Input Sample:
a_front.jpg (file a) 
b_front.jpg  (file a) 
... 
 
a_back.jpg  (file b) 
b_back.jpg  (file b) 
...
Output Sample:
a_front.jpg,a_back.jpg (file c) 
b_front.jpg,b_back.jpg (file c) 
...
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open file a 
2. open menu "File->Load->Column Append File to Page" menu 
3. set "word output delimiter" to "other", and set the following entry to a single comma ",", and click "next" 
4. select file b 
5. ctrl-s save result to file c. 

Similar Examples:
How to merge two files line by line? (62%)
Can I change the word order of each line and add a comma as separator? (62%)
How to split a file into multiple files with ======= as separator? (54%)
How to merge 3 text files by getting one line from each file repeatly? (54%)
How to batch split files into columns that separated by comma? (54%)
How to merge two text file base on the value of first column and do sort? (53%)
How to join first half of One line with last half of another? (52%)
How to join every sequential line with a random line in a text file? (52%)

Check Demo of Advanced search and replace
Keywords:
join two files line by line  two files line by line  pictures  join two files  picture  seperate  column append  two files  append  append file  join csv  two file line by line  search for jpg replace  files search jpg  search jpg files  search jpg replace  join with output file  jpg search