Skip to main content

pregos blog

  • Blog
  • Impressum

Schlagwort: lower case

bash string to lower case

3. März 20113. März 2011 prego Schreib einen Kommentar

ab bash v.4

$ FOO="This Is A Test"
$ echo $FOO
This Is a Test
$ echo ${FOO,,}
this is a test

$ FOO="This Is A Test" $ echo $FOO This Is a Test $ echo ${FOO,,} this is a test

Neueste Kommentare

  • Stefan bei Puppet: Hiera und Puppet – Installation, Einrichten, Moduleinbindung
  • prego bei chmod 755 rekursiv NUR auf Verzeichnisse
  • linuxfan bei chmod 755 rekursiv NUR auf Verzeichnisse

Archive

RSS

  • Beitrags-Feed (RSS)
  • Kommentare als RSS

  • Twitter
  • Github
pregos blog All rights reserved. Theme von Colorlib Powered by WordPress