blog:bash_string_functions
Differences
This shows you the differences between two versions of the page.
blog:bash_string_functions [2014-04-24 09:44] – brb | blog:bash_string_functions [2014-04-24 09:45] (current) – brb | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== bash string functions | + | ====== bash snippets |
- | ===== len() in bash ===== | + | ===== String function ===== |
+ | |||
+ | ==== len() in bash ==== | ||
< | < | ||
Line 9: | Line 11: | ||
</ | </ | ||
- | ===== left() in bash ===== | + | ==== left() in bash ==== |
< | < | ||
Line 18: | Line 20: | ||
</ | </ | ||
- | ===== right() in bash ===== | + | ==== right() in bash ==== |
< | < | ||
Line 30: | Line 32: | ||
</ | </ | ||
- | ===== mid() in bash ===== | + | ==== mid() in bash ==== |
< | < | ||
Line 39: | Line 41: | ||
</ | </ | ||
- | ===== string replace first in bash (substitute) | + | ==== string replace first in bash (substitute) ==== |
< | < | ||
Line 48: | Line 50: | ||
</ | </ | ||
- | ===== string replace all in bash (substitute) | + | ==== string replace all in bash (substitute) ==== |
< | < | ||
Line 59: | Line 61: | ||
Reference: http:// | Reference: http:// | ||
- | + | {{tag>bash}} | |
- | + | ||
- | {{tag>}} | + | |
~~LINKBACK~~ | ~~LINKBACK~~ | ||
~~DISCUSSION~~ | ~~DISCUSSION~~ | ||
blog/bash_string_functions.1398325461.txt.gz · Last modified: 2014-04-24 09:44 by brb