Search notes:

Shell command: tr

tr translates or deletes characters.
tr can be used, for example to write each component (directory) of $PATH on a single line.
tr : '\n' <<<$PATH
(S.a. the paths script).
Make all characters lower or upper case:
$ echo Hello World | tr '[:lower:]' '[:upper:]'
HELLO WORLD

$ echo Hello World | tr '[:upper:]' '[:lower:]'
hello world

Links

https://github.com/ReneNyffenegger/shell-commands/tree/master/tr

See also

Shell commands

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/sh...', 1758200553, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/shell/commands/tr(55): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78