License update & egrep replacement for hooks

This commit is contained in:
DarkFeather 2023-10-14 12:51:41 -05:00
parent 7ca4227395
commit c106ee874f
Signed by: DarkFeather
GPG Key ID: 1CC1E3F4ED06F296
6 changed files with 38 additions and 34 deletions

View File

@ -90,7 +90,7 @@ function vncdesktop() {
alias vi=vim
alias view="vim -R"
alias top="top -o %CPU"
alias make-entrypoints="egrep '^[a-zA-Z0-9\-]*:' Makefile"
alias make-entrypoints="grep -E '^[a-zA-Z0-9\-]*:' Makefile"
alias rdns="dig +short -x "
alias dns="dig +short "
export WEECHAT_HOME=$HOME/.weechat
@ -114,6 +114,6 @@ if [ -n "$SSH_CLIENT" ]; then
fi;
### XFCE4 ###
elif [ `who -m | egrep "^$(whoami)" | awk '{ print $2; }' | egrep -c "^tty"` -eq 1 ] && [ -x /usr/sbin/startxfce4 ] && [ `pgrep -ac xinit` -eq 0 ] && [ `whoami` != 'root' ]; then
elif [ `who -m | grep -E "^$(whoami)" | awk '{ print $2; }' | grep -E -c "^tty"` -eq 1 ] && [ -x /usr/sbin/startxfce4 ] && [ `pgrep -ac xinit` -eq 0 ] && [ `whoami` != 'root' ]; then
exec startxfce4
fi

12
LICENSE
View File

@ -16,12 +16,16 @@
ANINIX ADDENDUM
Trademark Pending 2017 (https://aninix.net/irc/)
Trademark 2017 (https://aninix.net/)
The "AniNIX" name and |> logo is trademark-pending as of 2017. All
AniNIX materials can be reproduced and re-used, though you must
The "AniNIX" name and |> logo are trademarked as of 2017/11/21.
AniNIX materials may be reproduced and re-used (though you must
contact the admins of the network to get written permission to use
the AniNIX name.
the AniNIX name or logo) so long as such reproduction or re-use
does not inhibit the original AniNIX use of the same.
Attribution is appreciated for other materials but not legally
required or necessary.
"AniNIX" trademark serial: 87177883
|> Logo trademark serial: 87177887

View File

@ -24,4 +24,4 @@ diff:
localinstall:
mkdir -p ~/bin/
for i in AdminScripts UserScripts; do cd $$i; for j in `ls -1 | grep -v Makefile`; do install -o ${USER} -m 0755 "$$j" /home/${USER}/bin/; done; cd ..; done
cd EtcFiles; for i in `ls -1 | egrep -v '*.service|skel|Makefile'`; do cp "$$i" /home/${USER}/."$$i"; done
cd EtcFiles; for i in `ls -1 | grep -E -v '*.service|skel|Makefile'`; do cp "$$i" /home/${USER}/."$$i"; done

View File

@ -51,7 +51,7 @@ function writeOutList() {
printf "$(echo "$clone" | sed 's#^\.\/##' | sed 's/\/$//') "
git config remote.origin.url
cd $HOME
done | sort | uniq | egrep -iv 'aninix|gitea@localhost|/srv/foundation|homedir' > "$conffile"
done | sort | uniq | grep -E -iv 'aninix|gitea@localhost|/srv/foundation|homedir' > "$conffile"
exit $?
}

View File

@ -39,7 +39,7 @@ function Usage() {
# Translate output into CSV format.
function machineReadable() {
egrep 'After|DNS|Subject:' | sed 's/^\s\+//' | sed 's/Not After : //' | sed 's/Subject: //' | sed 's/DNS://g' | tr '\n' ','
grep -E 'After|DNS|Subject:' | sed 's/^\s\+//' | sed 's/Not After : //' | sed 's/Subject: //' | sed 's/DNS://g' | tr '\n' ','
echo
}
@ -88,6 +88,6 @@ elif [ -n "$showserial" ]; then
elif [ -n "$dump" ]; then # 2. Parse the object.
grep -A 99 BEGIN\ CERTIFICATE
else
egrep -i "$regex"
grep -E -i "$regex"
fi) \
| (if [ -z "$machinereadable" ]; then cat; else machineReadable; fi)

View File

@ -34,7 +34,7 @@ case "$command" in
*)
echo Usage: $0 '[command]'
echo Available commands:
egrep '\"\) *$' $0 | cut -f 2 -d '"'
grep -E '\"\) *$' $0 | cut -f 2 -d '"'
exit 1;
;;
esac