User Tools

Site Tools


blog:bash_string_functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

blog:bash_string_functions [2014-04-24 09:44] brbblog: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 ====
  
 <code> <code>
Line 9: Line 11:
 </code> </code>
  
-===== left() in bash =====+==== left() in bash ====
  
 <code> <code>
Line 18: Line 20:
 </code> </code>
  
-===== right() in bash =====+==== right() in bash ====
  
 <code> <code>
Line 30: Line 32:
 </code> </code>
  
-===== mid() in bash =====+==== mid() in bash ====
  
 <code> <code>
Line 39: Line 41:
 </code> </code>
  
-===== string replace first in bash (substitute) =====+==== string replace first in bash (substitute) ====
  
 <code> <code>
Line 48: Line 50:
 </code> </code>
  
-===== string replace all in bash (substitute) =====+==== string replace all in bash (substitute) ====
  
 <code> <code>
Line 59: Line 61:
 Reference: http://www.netmess.org/tag/bash/ Reference: http://www.netmess.org/tag/bash/
  
- +{{tag>bash}}
- +
-{{tag>}}+
  
 ~~LINKBACK~~ ~~LINKBACK~~
 ~~DISCUSSION~~ ~~DISCUSSION~~
  
blog/bash_string_functions.1398325461.txt.gz · Last modified: 2014-04-24 09:44 by brb