case: add Italian translation.
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
c3ea7d15ab
commit
2b628e3751
11
pages.it/common/case.md
Normal file
11
pages.it/common/case.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# case
|
||||
|
||||
> Esegui branch diversi in base al valore di un'espressione.
|
||||
|
||||
- Esegui il match di una variabile su diverse stringhe per decidere che comando eseguire:
|
||||
|
||||
`case {{$metrica}} in {{parole}}) {{wc -w README}}; ;; {{linee}}) {{wc -l README}}; ;; esac`
|
||||
|
||||
- Combina pattern con |, utilizzando * come pattern di fallback:
|
||||
|
||||
`case {{$metrica}} in {{[pP]|parole}}) {{wc -w README}}; ;; {{[lL]|linee}}) {{wc -l README}}; ;; *) {{echo "cosa?"}}; ;; esac`
|
Reference in New Issue
Block a user