Rico Sta. Cruz
2906fc9c6e
Merge pull request #1238 from btandersen383/patch-1
...
Fix if regex match
2020-01-01 10:05:33 +11:00
Behnam Esfahbod ❄
f7a365b23d
Update bash.md
...
Use `shopt -s` for setting Bash-specific options.
2019-11-30 14:07:21 -08:00
Rico Sta. Cruz
7813be2238
bash: Move examples to the bottom
2019-11-17 17:15:12 +11:00
Beathan Andersen
c5006cfd4f
fix if regex match
...
The regex string should not have any quotes around it. To validate test:
$ if [[ "A" =~ . ]]; then echo pass; else echo fail; fi
with and without quotes
2019-10-16 13:52:50 -05:00
Rico Sta. Cruz
7bc7228728
Fix extra fences
2019-10-15 20:30:00 +11:00
Michael King
f1a7af534f
update metadata
2019-10-04 17:26:14 -04:00
Michael King
8843c62e6d
add the $0 special variable to bash.md
2019-10-02 11:27:23 -04:00
Nicholas Chen
0655d01d62
Updating printf functions
...
Updating printf functions to print numbers and floats.
2019-09-18 21:41:04 -04:00
xvazquezc
b3e81e0da9
upper/lowercase manipulation
2019-07-05 15:30:00 +10:00
Rico Sta. Cruz
a6cc2eade2
Update bash.md timestamp
2019-03-23 22:32:39 +08:00
Rico Sta. Cruz
34839f27d8
Merge branch 'pr-998'
2019-03-23 22:26:48 +08:00
Rico Sta. Cruz
8ea2be4731
Update formatting
2019-03-23 22:26:44 +08:00
Rico Sta. Cruz
2349f623c2
Fix formatting
2019-03-23 22:10:27 +08:00
Gabriel Petry
57c49cd8aa
add c-like for loop
2019-02-22 07:30:15 -03:00
Edson Ticona
69f50888f4
Adds associative array usage
2019-01-20 13:18:13 +01:00
Rico Sta. Cruz
c65dc4811d
Merge pull request #634 from moviuro/patch-1
...
Update bash.md
2018-12-25 20:39:07 +08:00
Rico Sta. Cruz
79384c2e24
bash: Update timestamp
2018-12-25 20:34:40 +08:00
Moviuro
0b74fe127d
Merge branch 'master' into patch-1
2018-12-20 11:39:41 +01:00
hrvoj3e
8365f5e761
slicing from right
2018-12-02 11:37:15 +01:00
chad d
bb00a53532
Clean up from PRs
2018-11-19 23:18:50 -07:00
Michael Hienle
6107936ac2
Add info about !!, !^, !$ ( #844 )
...
* Add info about !!, !^, !$
* Do not use example with sudo
2018-11-19 14:09:09 -07:00
Seth
898c8d904b
Bash correction ( #922 )
...
* fix bash path split example
* add two string equality and example
2018-11-16 13:08:34 -07:00
Paul Cathey
6164a16f57
Adds simpler push for bash array ( #894 )
...
Here is a less verbose push than the one listed
2018-11-16 12:58:15 -07:00
Michael Hienle
2bef29186d
Add cd - ( #843 )
2018-11-07 15:54:57 -07:00
haider
0804754a91
Added 2 String Comparison Conditionals ( #769 )
...
they check to see if the strings are equal or not...
Just thought its an essential comparison that should be in the cheatsheet.
2018-11-07 14:59:09 -07:00
Moviuro
194bd28bf9
Update bash.md
...
`[` use is made obsolete by `[[` (which should be used only for bash scripts).
Add examples with commands conditionals (if ping ...; then...)
Add link to shellcheck + mywiki.wooledge.org
2018-07-23 15:34:18 +02:00
Michael Hienle
b235bb2d89
More typos
2018-07-20 12:25:16 +02:00
Michael Hienle
876b845840
Fix typo
2018-07-20 12:16:54 +02:00
X3ro
fe75136404
Update bash.md
...
Add both stdout and stderr to null
2018-05-10 11:32:08 +02:00
qwdm
201610bc7a
Add simplified syntax for slicing
2018-03-15 13:15:05 +03:00
Rico Sta. Cruz
b95dacc8fa
bash: update multiline comments examples
2018-03-15 17:33:21 +08:00
aswin020
e2d2eef9c2
Adding comments section
...
Single line and multi-line comments are added.
2018-02-15 14:53:24 +05:30
Rico Sta. Cruz
ac5e2d7fde
Bash: fix $? ( #296 )
2017-12-10 19:52:09 +08:00
Krishna Vudata
7814c76bed
elsif -> elif
...
Proper syntax is `elif` in bash
2017-11-13 11:09:13 -08:00
Rico Sta. Cruz
f89117c906
Merge pull request #148 from xvazquezc/patch-1
...
added range loop alternate
2017-10-26 14:13:55 +08:00
Rico Sta. Cruz
041932cda3
Update bash.md
2017-10-26 14:13:37 +08:00
HairyFotr
8b68c424df
Fix typos
2017-10-22 13:08:21 +02:00
Bez Hermoso
2d29f4abf2
Add "History" section in `bash` cheatsheet
...
History sub-sections:
* Commands
* Expansions
* Operations
* Slices
2017-10-18 13:24:23 -07:00
xvazquezc
64cdfec5e7
added range loop alternate
...
includes the step size
2017-10-18 11:41:51 +11:00
Rico Sta. Cruz
442b0ce4f5
bash: update keywords
2017-10-16 02:04:22 +08:00
Rico Sta. Cruz
40bb4bf244
Update more meta descriptions
2017-10-10 23:47:03 +08:00
Dmitry Zudochkin
a6790334fa
Fix typo in bash.md
2017-10-04 22:58:28 +03:00
Rico Sta. Cruz
8c01130950
Use a more normal timestamp format
2017-08-30 19:33:17 +08:00
Rico Sta. Cruz
c934ae39bd
Fix updated logic
2017-08-30 19:31:11 +08:00
Rico Sta. Cruz
1c6fcf9968
Bash: remove horiz scrollbars
2017-08-29 03:59:31 +08:00
Rico Sta. Cruz
aaf3e0958b
Update
2017-08-29 03:23:29 +08:00
Rico Sta. Cruz
4f8c49d162
Feature new sheets
2017-08-29 03:18:32 +08:00
Rico Sta. Cruz
edfdfb794a
Fix redirects
2017-08-29 02:56:19 +08:00
Rico Sta. Cruz
29f92f6b12
Featured
2017-08-29 02:42:51 +08:00
Rico Sta. Cruz
85c46a3923
Jekyllization.
2013-10-14 10:36:58 +08:00