projects
/
swc-modular-shell-hello.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ade110f
)
Update shell_cheatsheet.md
author
Lynne Williams
<williams.lynne99@gmail.com>
Sun, 17 Feb 2013 16:31:11 +0000
(11:31 -0500)
committer
W. Trevor King
<wking@tremily.us>
Wed, 23 Oct 2013 22:27:29 +0000
(15:27 -0700)
shell_cheatsheet.md
patch
|
blob
|
history
diff --git
a/shell_cheatsheet.md
b/shell_cheatsheet.md
index 56dad1fbf52f541618073367c589589626dd7e15..78de734c422ea8f99f34ac368afc0cd988c13bb2 100644
(file)
--- a/
shell_cheatsheet.md
+++ b/
shell_cheatsheet.md
@@
-105,6
+105,16
@@
changes all the instances of the word `markdown` to `software` in the first 5 `*
## 5. Loops
NEED TO DO VARIABLE ASSIGNMENT FIRST!!!!
### a) How to repeat operations using a loop...
+
+ for varname in list
+ do
+ command 1
+ command 2
+ done
+
+
+
+
* **`for`** -->
`for filename in *.dat
do