Jonathan Wang
8cd7c230aa
[bash/en] basic parameter expansion, and brace expansion ( #1533 )
...
* Added brace expansion as well as basic parameter expansion
* frogot my name
* Update bash.html.markdown
Added to parameter expansion
2016-06-26 15:04:11 +02:00
Sachin Divekar
d1216a4253
Add an example of trap command ( #1826 )
...
* 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.
2016-06-26 14:38:05 +02:00
Viren Nadkarni
4e5439c21f
Fix a mistake in fgrep example ( #2254 )
2016-05-12 13:07:50 +02:00
ven
60be912428
Merge pull request #1636 from viv1/patch-2
...
[bash/en]...Added info on changing directories
2016-03-11 09:37:29 +01:00
Matteo Baglini
f94dea8379
Use proper string comparison syntax
2016-01-12 00:32:03 +01:00
viv1
5c8942f7bc
[bash/en]...Added info on changing directories
2015-10-19 02:50:55 +05:30
Awal Garg
f402205247
[bash/en] use $var with quotes in conditions
2015-10-14 21:10:28 +05:30
Gabriel Halley
960ee4a185
removing whitespace all over
2015-10-07 23:11:24 -04:00
ksami
acc9a73c01
[bash/en] Improved descriptions
2015-10-02 22:08:27 +08:00
Liam Edwards-Playne
de676b62b8
fixed spelling error
2015-05-26 11:25:07 +10:00
Liam Edwards-Playne
8909457ae4
fix spelling errors
2015-05-20 11:23:55 +10:00
Levi Bostian
e4c2615675
Fix issue with referring to "output.txt" but examples use "output.out"
...
Fixes https://github.com/adambard/learnxinyminutes-docs/issues/1095
2015-05-11 21:20:02 -05:00
Etan Reisner
8b7a2fff9a
Don't use ALL_CAPS variable names.
...
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.
2015-05-07 21:07:35 -04:00
Levi Bostian
7bc99fcaf4
Merge pull request #1080 from kryzhovnik/bash/clear-variable-default-value
...
Clear explanation of default value expression
2015-05-02 20:55:53 -05:00
Andrey Samsonov
6848f45ebe
Clear explanation of default value expression
2015-05-02 16:21:03 +04:00
Andrey Samsonov
8758bb845b
Clear that length and position can be set by variable in substring extraction
2015-05-02 15:34:56 +04:00
Etan Reisner
aa11cc659d
Follow variable capitalization on this branch.
2015-04-27 07:30:17 -04:00
Etan Reisner
e2ca2c9550
Add another very common shell variable assignment mistake.
2015-04-26 13:32:41 -04:00
Etan Reisner
9d34629536
Add myself as a contributor.
2015-04-26 13:22:48 -04:00
Sriram Sundarraj
19f6739cba
[bash/en] Fixed overflowing line.
2015-04-24 02:36:54 +05:30
Levi Bostian
24a4426dd0
Merge pull request #839 from westurner/patch-1
...
[bash/en] add bash redirection examples
2014-11-01 13:36:53 -05:00
Wes Turner
e287075690
[bash/en] bash.html.markdown: add bash redirection examples
2014-11-01 12:22:45 -05:00
Wes Turner
112b0b7662
DOC: bash.html.markdown: add bash docs examples
2014-10-30 19:46:37 -05:00
Levi Bostian
01b671bf39
Fix beginning typo from bash
2014-10-17 20:54:45 -05:00
Gregory S. Kielian
d83a0f0385
Changed descriptions, added grep, fgrep examples
2014-10-04 14:50:00 -07:00
Gregory S. Kielian
d22d591e3e
amended sed and bash descriptions
2014-09-27 12:12:56 -07:00
Gregory S. Kielian
e9c21740df
amended grep description
2014-09-27 12:06:36 -07:00
Gregory S. Kielian
b52a32dd24
Added sed
and grep
examples to useful-commands
2014-09-27 12:04:25 -07:00
Levi Bostian
eefa3add63
Add traditional for loop bash example to close https://github.com/adambard/learnxinyminutes-docs/pull/654
2014-09-05 20:51:48 -05:00
Samuel Marks
7bfbec395a
-ne not equal
2014-08-23 16:54:13 +10:00
LumenTeun
e1365274f7
Added two new ways to use for loops.
2014-08-08 18:24:43 +01:00
LumenTeun
4320966262
Fixed typo.
2014-08-08 18:24:29 +01:00
LumenTeun
8be20de321
Fixed while loop.
2014-08-08 18:11:17 +01:00
LumenTeun
3f8dbe8e77
&& and || in Bash if statements.
2014-08-06 19:30:15 +01:00
Akira Hirose
4f97478d6b
add a contributor line :)
2014-07-23 15:43:18 +09:00
Akira Hirose
e859a4edde
just collected the order of comments and commands of last part
2014-07-23 15:32:50 +09:00
Justin Campbell
1b67b8f230
Variable substr
2014-02-28 11:24:45 -05:00
Brian Stearns
03e6892a5f
Fixed random spelling error.
2014-02-20 17:12:12 -05:00
Adam Bard
a23e5807ad
Update bash.html.markdown
...
use /bin/bash for bash, not /bin/sh
2014-02-12 12:02:29 -08:00
kyr
5bd86ec047
spelling fixes in bash (en)
2013-12-27 16:21:24 +01:00
Denis Arh
c9a282d08f
Add example for default value
2013-12-18 09:40:20 +01:00
jakub-g
248284c91b
[bash] Replace seq
with {1..3}
, explain backticks
...
`seq` is not standard, it's not available in MINGW and others.
Using backticks is not the recommended way - e.g. they can't be nested.
2013-12-09 21:13:06 +01:00
Levi Bostian
af6701904b
Fix conflict bash.
2013-11-25 09:42:37 -06:00
alexandre medeiros
3bfc820721
add another way to define functions to bash ( fix #380 )
2013-10-13 00:17:27 -03:00
Christos Kontas
b2028c7f0c
[bash] Fix some spell errors in comments
2013-10-04 18:32:11 +03:00
alexandre medeiros
b3288dc9cd
add useful commands
2013-09-22 11:35:04 -03:00
alexandre medeiros
182eab6051
add function information for bash
2013-09-22 11:28:59 -03:00
alexandre medeiros
e1c34ca138
improve if on bash
2013-09-22 11:20:10 -03:00
alexandre medeiros
96055ac7a5
better for description
2013-09-22 11:09:28 -03:00
alexandre medeiros
9c8c0af0af
add information about input, output, and error redirection
2013-09-22 11:04:24 -03:00