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 260114

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

-1
votes
1answer
Suppose such a minimal task to select elements in B but not in A file_list1=(a.sh b.sh c.sh) file_list2=(b.sh c.sh d.sh) for i in files_list1; do for k in files_list2; do if [[ $k in $(e …
asked Nov 2 '18 by Algebra
0
votes
3answers
I make such an array $ arr1=(1 2 3) ; arr2=${arr1[@]} Use iteration to check them $ for i in $arr1; do echo $i; done 1 $ for i in $arr2; do echo $i; done 1 2 3 They are equall $ if [[ $arr1==$ …
asked Nov 2 '18 by Algebra
-1
votes
1answer
Given that I intent to change files with extensive name of .md to .sh $ ls bath.md breakfast.md brush.md test.sh I wrote it as $ cat test.sh #! /usr/local/bin/bash for f in * do if $f ends …
asked Oct 28 '18 by Algebra
2
votes
shift treat command line arguments as a FIFO queue, it popleft element every time it's invoked. array = [a, b, c] shift equivalent to array.popleft [b, c] $1, $2,$3 can be interpreted as index of th …
answered Apr 11 '18 by Algebra
7
votes
5answers
I have the a series of markdown files in the working directory: $ ls *.md csv_reader.md egrep.md find.md found_pdfs.md osPathSep_help.md readme.md smtplib_help.md today.md I want to remove t …
asked Oct 30 '18 by Algebra
9
votes
3answers
I read from an instruction to schedule a script on the last day of the month: Note: The astute reader might be wondering just how you would be able to set a command to execute on the last day of …
asked Oct 29 '18 by Algebra