programming-languages:bash:loops
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
programming-languages:bash:loops [2023/11/01 11:31] – [While-loop] tormec | programming-languages:bash:loops [2023/11/01 11:32] – [Test on strings] tormec | ||
---|---|---|---|
Line 43: | Line 43: | ||
| ''< | | ''< | ||
| ''< | | ''< | ||
- | |||
- | <WRAP center round tip 100%> | ||
- | To check if ''< | ||
- | <code bash> | ||
- | #!/bin/bash | ||
- | |||
- | str=" | ||
- | if [[ " | ||
- | echo " | ||
- | echo "no match" | ||
- | fi | ||
- | </ | ||
- | </ | ||
programming-languages/bash/loops.txt · Last modified: 2023/11/01 12:22 by tormec