free software resistance

 the cost of computing freedom is eternal vigilance

### help *original date:* sep 2018 *originally posted:* oct 2024 help: ``` #!/usr/bin/env bash #### license: creative commons cc0 1.0 (public domain) #### http://creativecommons.org/publicdomain/zero/1.0/ proginf="cli help overloading 0.2" if [[ "$1" == "" ]] then echo function pq() { echo -e "$q" | tr '(' '^' | sed "s/\ \@/\[1\;37m\ \@/g" | sed "s/\@\ /\@\ \[0\;37m/g" | sed "s/\@\^/\@\[0\;37m\^/g" | tr '^' '(' } q=' fig os command line help ' ; pq q=' ' ; pq echo -e " help usual  standard bash help command" echo -e " help network  help with network commands" echo -e " help files  help with file commands" echo -e " help config  help with some puppy settings" echo -e " help misc  commands to reboot, stop beeping, etc." echo -e " help coding  quick help for coding" echo -e " help alias  aliases to customize bash" echo else if [[ "$1" == "usual" ]] then bash -c 'help' fi if [[ "$1" == "network" ]] then echo -e "help with network commands" \\n echo -e \\nto connect to available network interfaces: '(use one)'\\n for p in $(ip link | cut -d " " -f 2 | tr -d ':') ; do if [[ "$p" != "lo" ]] ; then echo dhclient $p ; fi ; done ; echo -e \\n \\nto find available network interfaces: \\n \\nip link \| 'cut -d " " -f 2 | tr -d' \':\' \\n fi if [[ "$1" == "files" ]] then echo "help with file commands" fi if [[ "$1" == "config" ]] then echo "help with some puppy settings" fi if [[ "$1" == "misc" ]] then echo "commands to reboot, stop beeping, etc." fi if [[ "$1" == "coding" ]] then echo "quick help for coding" fi if [[ "$1" == "alias" ]] then echo "aliases to customize bash" fi fi ``` license: 0-clause bsd ``` # 2018 mn # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ``` => https://freesoftwareresistance.neocities.org