package
module
Version:
v1.4.0
Opens a new window with list of versions in this module.
Published: Jun 20, 2025
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
changecase
- convert command line arguments to upper, lower or title case
- return the combined length of all command-line arguments
- check for string equality with optional case-insensitive matching
- outputs all content except a trailing newline, mimicking Perl's chomp functionality
Synopsis
These programs convert all command line arguments to their respective case and
are also Unicode aware.
Provided programs:
- lower
- upper
- titlecase
- len
- eq
- chomp
Usage
lower [arguments]
upper [arguments]
titlecase [arguments]
len [arguments]
eq [arguments]
chomp
(consider surrounding command-line arguments in double-quotes to preserve spacing)
Installation
- macOS:
brew update; brew install jftuga/tap/changecase
- Binaries for Linux, macOS and Windows are provided in the releases section.
Documentation
¶
Lower - return a lower case string
TitleCase - return a title case string
Upper - return an upper case string
Usage - output when no cmd-line args are given
Source Files
¶
Directories
¶
cmd
|
|
|
|
|
eq
command
eq is a command-line utility for string comparison
|
eq is a command-line utility for string comparison |
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.