| Commit message (Collapse) | Author | Age | Lines |
|\
| |
| | |
shebang updated
|
| | |
|
|/
|
|
|
|
| |
Maybe just a zsh quirk?
➜ ~ echo ${Variable:0:Length}
zsh: unrecognized modifier
|
| |
|
|
|
| |
Using echo with ' ' means that the variable won't be expanded, so it should print the literal $Variable instead of some string.
|
|
|
|
|
|
|
|
| |
- [x] I solemnly swear that this is all original content of which I am the original author
- [x] Pull request title is prepended with `[language/lang-code]`
- [x] Pull request touches only one file (or a set of logically related files with similar changes made)
- [x] Content changes are aimed at *intermediate to experienced programmers* (this is a poor format for explaining fundamental programming concepts)
- [x] If you've changed any part of the YAML Frontmatter, make sure it is formatted according to [CONTRIBUTING.md](https://github.com/adambard/learnxinyminutes-docs/blob/master/CONTRIBUTING.markdown)
- [x] Yes, I have double-checked quotes and field names!
|
| |
|
|
|
|
|
|
| |
* Fix spelling
* Remove the contributor tag
|
|
|
| |
There is no $ when one referencec the name of a variable as Bash is not PHP.
|
|
|
|
| |
Getting is redundant.
Observe, not observer.
|
|
|
| |
Link pointed to a book which was not released. Fixes #2372.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added bash intro edits
* Fixed page header
* Finalizing updates
Implemented my changes in the main bash code chunk instead of as an out-of-code prologue
* Final touches
* Added citation for John and mkdir content
* Added removed original intro back in
* Update bash.html.markdown
Moved "hard way" link to top of article
Fixed spacing
Grouped `rm` commands
* Fixed typos
|
|
|
|
|
|
|
|
|
|
| |
* Added brace expansion as well as basic parameter expansion
* frogot my name
* Update bash.html.markdown
Added to parameter expansion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Begin writing document for PCRE
Started writing learnxinyminutes document for PCRE to cover general purpose regular expressions.
Added introduction and a couple of details.
* Change introductory example for regex
The old example was incorrect. It's replaced with a simple one.
* Add some more introductory text
* Add first example
* Added more example and a table for proper formatting
* Add few more examples
* Formatting
* Improve example
* Edit description of character classes
* Add a way to test regex
Add https://regex101.com/ web application to test the regex provided in example.
* Add example of trap command
trap is a very important command to intercept a fatal signal, perform cleanup, and then exit gracefully. It needs an entry in this document.
Here a simple and most common example of using trap command i.e. cleanup upon receiving signal is added.
* Revert "Add example of trap command"
* Add an example of trap command
`trap` is a very important command to intercept a fatal signal, perform cleanup, and then exit gracefully. It needs an entry in this document.
Here a simple and most common example of using `trap` command i.e. cleanup upon receiving signal is added.
|
| |
|
|\
| |
| | |
[bash/en]...Added info on changing directories
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Fixes https://github.com/adambard/learnxinyminutes-docs/issues/1095
|
|
|
|
|
|
|
|
| |
ALL_CAPS variable names are traditionally "reserved" for use by the
shell/system.
(People often try to use PATH for things locally and then wonder why their
commands all stop working for example.
|
|\
| |
| | |
Clear explanation of default value expression
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
[bash/en] add bash redirection examples
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
https://github.com/adambard/learnxinyminutes-docs/pull/654
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|