๐ LowercaseUppercase (lu) - Make all letters in any non-binary file either lowercase or uppercase
๐ก Newskategorie: Linux Tipps
๐ Quelle: reddit.com
You can get it here: https://github.com/godzm4tt3o/lu
What lu (LowercaseUppercase) does is pretty self explainatory: we choose a file (for example file.txt), and we either choose `l` or `u` to make it's letters, respectively, lowercase or uppercase.
For example, `file.txt` might contain mixed characters, some lowercase, some uppercase, etc. With the command `lu file.txt l` we make all of the characters/letters lowercase. What's special about `lu` is that it DOES NOT overwrite the file you chose: instead, it creates a file in the current working directory based on the original filename (eg file.txt) and, based on your choice, the output file will be called either `lo-file.txt` or `up-file.txt`.
โ
Available commands (note: we're using `lu` instead of `./lu.sh`)
lu, lu -h, lu --help: show help/usage text
lu --info: show additional info
lu --install: install lu into /usr/local/bin
lu --remove: remove lu from /usr/local/bin
lu --update: check if there are any updates available
lu `FILE` `l/u`;
`FILE` : the file we want to choose
`l/u`: choose between either l or u. l is for lowercase, u is for uppercase.
โ
(Please note that the updater might not work properly: it was not copied from anybody else's work, it was entirely written by me (this is my first time making an updater); any contribution is welcome and well appreciated!)
(Please note that the updater might not work properly: it was not copied from anybody else's work, it was entirely written by me (this is my first time making an updater); any contribution is welcome and well appreciated!)
[link] [comments] ...