Suche 
Unten sind die Ergebnisse Ihrer Suche gelistet. 
 
Volltextergebnisse: string_operations 108 Treffer , Zuletzt geändert:  vor 20 Monaten  with array variables.
==== String Length ====
<code >
${#string}  
  
 expr length $string 
  
 expr "$string" : '.*' 
 </code > 
 
stringZ=abcABC123ABCabc
<code >
echo ${#stringZ}                 # 15
echo `expr length $stringZ` ...      # 8
Index
expr index $string $substring 
</code >  
 Numerical position in $string of first charac test 47 Treffer , Zuletzt geändert:  vor 20 Monaten nteger comparison ====
----
-eq
is equal to
<code >    if [ "$a" -eq "$b" ]</code >
----    
-ne
is not equal to
<code >    if [ "$a" -ne "$b" ]</code >
----
-gt
is greater than
  <code >  if [ "$a" -gt "$b" ]</code >
---- monitor 2 Treffer , Zuletzt geändert:  vor 20 Monaten == Directory/File Monitoring with Bash ======
<code >
#!/bin/bash
# File Monitor 
#
function list () {
#ls -l
#sleep 1
# more elegant:
watch -n 1 "ls -l"
}
while true; do
list | grep $1
done
</code >