All Questions
2
questions
0
votes
1
answer
87
views
Find: Substitute expression with a variable
$ find -name "Bik*"
./Biking
./Biking/Unsync/Biking.md.~6~
./Biking/Rendered/Biking.gen.html
./Biking/Biking.md
Now when I substitute expression with a variable as follows:
$ a='-name "Bik*"'
$ ...
-2
votes
2
answers
4k
views
How to execute a command that has many nested single and double quotes with a quoted variable in bash
Here is my simple script
#!/bin/sh
thefile=/home/ark/arkserver/ShooterGame/Saved/SaveIsland/1288804998.arktribe
while inotifywait "${thefile}" ; do
a=\"`strings ${thefile} | tail -n 5 | head -n ...