snippets/old_snippets/lower-case.en.md

20 lines
412 B
Markdown

---
title: "lower case string"
seo_description: "Shell snippet expanding how to lower case words"
date: 2022-02-13T12:17:50+01:00
draft: false
snippet_types:
- tr
---
TR is a Unix until to translate characters I recently learned about as part of [this awk snippet](/snippets/awk-last-column).
```shell
$ echo "TRAVIS" | tr '[:upper:]' '[:lower:]'
travis
```
[source](https://www.shellscript.sh/tips/case/)