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 41470
2
votes
1answer
If, in my newly created bash, I do: pushd foo pushd bar dirs -l -v I will get something like 0 bar 1 foo 2 old_dir If I then do bash dirs -l -v I get only 0 bar The same thing happens if I use screen instead of bash. How could I maintain the directory stack in the forked shell? …
asked Sep 9 '13 by ricab
1
vote
replacements for pushd/popd/dirs which wrap them but store their stuff in a scalar variable, so that children processes are aware of it. If you source the code below and use mypushd/mypopd/mydirs … array from scalardirstack IFS=':' read -a tmp <<< "$SCALARDIRSTACK" # traverse in reverse order to pushd stuff into the stack for (( idx=${#tmp[@]}-1 ; idx>=0 ; idx-- )) ; do # gotta …
answered Sep 9 '13 by ricab