Commit Graph

53 Commits

Author SHA1 Message Date
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
alexandre medeiros
9d0f731ad5 Improve bash variable info 2013-09-22 01:33:12 -03:00
alexandre medeiros
c14586e8c3 add conditional execution info to bash 2013-09-22 01:20:31 -03:00
Levi Bostian
de5a359faa Edit wording of while loop in bash. 2013-09-19 16:48:09 -05:00
JohnYangSam
1528dd4fbe Correct bash for...in loop example
Removed the $ in the variable declaration of the for...in bash loop to correct the code.
2013-09-12 02:01:52 -07:00
Avjinder
e2cd18ba46 Update bash.html.markdown
In the case statement, the "in" keyword should be on the same line as case $VARIABLE. Also, ;; should be present at the end of each command. Shell executes all statements up to the two semicolons that are next to each other.
2013-08-31 17:05:04 +05:30
Adam
c7a1136772 Edits 2013-08-27 21:23:09 -07:00
Levi Bostian
1a8b22cb4f Add while loop to bash 2013-08-22 15:26:26 -05:00
Adam
f33dea8b83 Updates 2013-08-19 09:14:02 -07:00
Max Yankov
3e8c292a10 Bash: commands, attributes, ls, grep & pipe 2013-08-18 15:03:43 +02:00