add the old snippet md files
This commit is contained in:
parent
fc0dd204c7
commit
bcf8313a4b
110 changed files with 3048 additions and 0 deletions
20
old_snippets/lower-case.en.md
Normal file
20
old_snippets/lower-case.en.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
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/)
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue