Browse Source

while loop

master
Anthony Fadly 1 year ago
parent
commit
016f605805
1 changed files with 11 additions and 0 deletions
  1. 11
    0
      oct3.md

+ 11
- 0
oct3.md View File

@@ -1,5 +1,16 @@
# October 3

## Set Variable to the output of a command

```
$ VAR = $(echo H_W | sed -e 's/W/w') # $VAR = H_w
```

# While loop

```
while [[ boolean ]]
do
<cmd>
done
```

Loading…
Cancel
Save