Ubuntu Forums
>
The Ubuntu Forum Community
>
Ubuntu Specialised Support
>
Development & Programming
>
Programming Talk
> argument list too long when replace a string with a file content
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/)?
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.