- I added https:// for the links, it's 2021, http:// is dead
- fixed two comments which where `#text` => `# text` for consistency
- added a link to `trash-cli` Python package which provides `trash` as a "safe" alternative to `rm`
- add warning that `sed -i` erase (replace) the input file
- add `...` around fgrep and grep -F, for consistency too
- [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!
* 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
* 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.
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.