Horje
bash use cat in sed command Code Example
bash use cat in sed command
# Basic syntax:
sed 's/<search_text>/'"`cat replacement.txt`"'/' your_file
# Where:
#	- The replacement.txt file contains a single line that will be used
#		to replace the search_text, where found in your_file. 
# Note, this isn't very useful unless combined with other functions like
#		find exec, e.g.:
find *.txt -exec sed -i 's/search_text/'"`cat replacement.txt`"'/' {} \;




Shell

Related
where to store env file in firebase functions Code Example where to store env file in firebase functions Code Example
react-router-breadcrumbs-hoc@^3.2.3 yarn upgrade Code Example react-router-breadcrumbs-hoc@^3.2.3 yarn upgrade Code Example
wget files matching regex Code Example wget files matching regex Code Example
env var linux to uppercase lowercase Code Example env var linux to uppercase lowercase Code Example
brew node update Code Example brew node update Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13