spicylord / clutils (public) (License: GPLv3) (since 2019-07-04) (hash sha1)
An assortment of new and rewritten preexisting tools written by me.

/README (022773f144f95ff9a964e76f3e7bb56e8d86a966) (1572 bytes) (mode 100644) (type blob)

his is a collection of programs that I wrote for fun.
Some, like spng, are programs that I thought were
unnecessarily large (referring to "sponge" from
the moreutils project, its like 300 lines, where
mine is only 18.) I am even writing my own original
software, like clp. Its like a clipboard/clipboard
manager for standard input and output.

clp:
Insert by piping in standard input ex.
echo lmao | clp i
that uses its "i" option. This will copy the stdin
into your ~/.clipboard file as an entry.
the -f option will set your clipboard file to be
whatever you want for that command: echo lmao | clip -f altclipboard i
the following commands use ed-like addressing.
clp ,p will print (paste) your entire clipboard,
clp 1,2p will print the earliest 2 entries,
and clp p will print the latest entry.
the same works with the "d" option, except
it deletes the entries.
clp c just counts the entries and ends the program.
i: insert
p: print
d: delete
c: count
ex. clp -f clipfile i < echo.c # outputs echo.c into clipfile since -f was specified
    clp -f clipfile ,p # outputs everything in clipfile.

sc:
takes input files/standard output and changes their
cases based on the option. Options: -l, -u, -s.
-l: lower case
-u: upper case
-s: swaps cases
ex. sc -l filename

spng:
allows you to pipe things from a file back into that file
in the same pipe line.
ex. gofmt file.go | spng file.go


To compile, type "./INSTALL". I do not recommend replacing
the versions already in your /usr/bin or /bin,

for any issues and changes you would like to see,
email me at sl@airmail.cc


Mode Type Size Ref File
100644 blob 1488 4f3466dbd6e7f10f771ec95842644cf40bb1cdda COPYING
100755 blob 730 d96251c8e9f070bdf36552db47a2c7518065f56c INSTALL
100644 blob 1572 022773f144f95ff9a964e76f3e7bb56e8d86a966 README
100644 blob 3482 5834d6d134f4e7557193d4b4b53eceedd05f8d59 clp.c
100644 blob 142 66ddd77911db11fab37139f10ccace21a21ea7e8 echo.c
100644 blob 347 94381f8173b7b7b6732e81bd4588c5ce0bc6f18f nl.l
100644 blob 1278 5d13cc09ac4024170ba3ca102c657f10e2d0fac5 sc.c
100644 blob 341 0a5de084da1b736602af29a9175341ac9322ffcd spng.c
100644 blob 513 1ad1125d57e0a255ed9218defa5b14d9c7962b0a tee.c
100644 blob 1444 d3316c60317a88cbe4f9c4230cec56022348dca6 wc.c
100644 blob 130 17ddde74c448540143c760e7cacd359c3d6ca85e yes.c
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/spicylord/clutils

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/spicylord/clutils

Clone this repository using git:
git clone git://git.rocketgit.com/user/spicylord/clutils

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main