Skip to content
Advertisement

Tag: concatenation

Merge many csv files with similar names [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations. Closed 4 years ago. Improve this question I have many csv files in a particular format like 1file1.csv

sed command string variable concatenation within single quotes

I want to modify the include_path directive in my php.ini file using sed. Below, I’ve got a command that looks for a string and places the directive on a line after the match. However, I cannot get it to work while still maintaining the double quotes within the ${install_path} variable. The double quotes must be there. The file I want

concatenate ordered files using cat on Linux

I have files from 1 to n, which look like the following: Each file contains only one line. Now I want to concatenate them in the order from 1 to n. I tried cat sim.o500.* > out.dat. Sadly this does not work if e.g. n is larger than 9, because this concatenates then sim.o500.1 followed by sim.o500.10and not sim.o500.1 followed

Advertisement