Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 47852

Questions about shell scripts, executable files that are interpreted by a shell (bash, zsh, etc.).

4
votes
Since you can supply multiple files to cat it would be nice to only start one instance after some path name mangling: sed 's|.*|x/&/&.pest|' < y/filename-list.txt | xargs -d '\n' cat Explanation: …
answered Jun 29 by David Foerster
3
votes
If the URLs all follow this pattern I have this short and ugly hack for you: echo "$FOO" | cut -d / -f 3
answered Feb 27 '17 by David Foerster
4
votes
In Bash you can also read lines into an array directly. If you select the current array length ${#lines[@]} as the insertion index, you can append to it: for i in "${paths[@]}"; do mapfile -t -n …
answered Feb 4 by David Foerster