Tagged Questions
2
votes
1answer
107 views
How to have find only search for files in changed directories?
Currently I'm repeatedly doing a 'find' that's too slow. I'm searching for non-hidden executable files within "$root", excluding "$root/bin":
find "$root" -type f -perm -o+x -not -path "$root/bin/*" ...
2
votes
3answers
1k views
Faster awk script to get the substring / string we wanted
ORDER EVENT .........[] [] ... so many other tags... [Account<25106>=ACCT1] [Destination...] .. so many other tags.
I am currently trying to get the account like this. I tried using match in ...
17
votes
2answers
515 views
Should I care about unnecessary cats?
A lot of command-line utilities can take their input either from a pipe or as a filename argument. For long shell scripts, I find starting the chain off with a cat makes it more readable, especially ...