PDA

View Full Version : argument list too long when replace a string with a file content



zerop2
May 14th, 2016, 12:32 PM
sed -e "s/localhost/$(sed 's:/:\\/:g' file2)/" file1

Habitual
May 14th, 2016, 03:33 PM
XY Problem (http://xyproblem.info/)?