All Questions
1
question
0
votes
1
answer
183
views
How to set sed command correctly
When I try following commands, (I'd like to rewrite sql).
Day='2020/12/1'
Dir=/home/test/data
sql=`cat $Dir"/"$test".sql" | sed -e "s/Day/$Day/g"`
I suffered following ...