ABBTR(1) abbtr ABBTR(1)

abbtr - Abbreviator for long commands in Linux terminal

abbtr [options] [usage] ...

abbtr comes as an alternative to the default "alias" command. It's a simple program designed to abbreviate long prompts in the GNU/Linux terminal. You can easily set rules, delete them, list them, and update them with a clear set of parameters. It should be functional in any GNU/Linux distribution.

List stored rules.
Create a new rule with the specified name and command.
Import rules from a local file.
Export rules to a file.
Predefine the value of a bottle.
Delete an existing rule by name.
Delete all rules.
Update the command of an existing rule specified by name.
Show the contents of a specific rule by name.
Show this help message.
Show the program version.

Create a new rule: abbtr -n update 'sudo apt update -y'

Then run: update

Syntax for feeding bottles: b%('variable')%b

Config file: located at ~/.config/abbtr/abbtr.conf

Log file: located at ~/.local/share/abbtr/abbtr.log

rule scripts: located at ~/.local/bin

abbtr does not have any locking mechanisms yet.

If you discover any other bugs in abbtr, please contact the author.

abbtr-info(1), abbtr User Manual (/usr/share/doc/abbtr/abbtr.1).

Packaging tools: debhelper(7), dh_make(8), dpkg-buildpackage(1).

Originally written by Manuel Guerra <ar.manuelguerra@gmail.com>.

Please use the email address <ar.manuelguerra@gmail.com> for abbtr-related comments.

Copyright © 2024 Manuel Guerra

License: BSD-3-Clause


Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:


.


* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.


* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.


* Neither the names of the authors nor the names of the
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.


.


THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

August 2024 Version 1.0.4