--color=always
on grep
imo. I was considering building a generic syntax highlighter for the CLI with various lexers, for ls
, diff
, grep
, find
, etc...
asciiworld
π.
asciiworld
and have it in your README that thy're required.
\n$ ls -1 /var/db/GeoIP/\nGeoLite2-City.mmdb\nGeoLite2-Country.mmdb\n
\n> Depends on what you understand by βmessβ and βcomplicatedβ\n\nItβs 55 lines long and Iβm having trouble understanding it as I read through it, less than a week after it was written.\n
\n\n> Depends on what you understand by βmessβ and βcomplicatedβ\n\nItβs 55 lines long and Iβm having trouble understanding it as I read through it, less than a week after it was written.
mkws
is very tolerant to "mess".
sed
the quoted documents to unquoted ones and process those using temp files. Again, if your current setup works don't change it especially not for that sake of change.\n\n> But the end result would be even more of a complicated mess of a shell script than the one I have now.\n\nDepends on what you understand by "mess" and "complicated". π
mkws
script to your preference, this is how I generate my blog:\n\n\nfor p in "$srcdir"/p/*\ndo\n test "${p##*.}" == "html" && continue\n echo "Making p/$(echo "${p##*/}" | cut -c21-).html"\n pp "$sharedir"/l.upphtml "$p" "$1" > "p/$(echo "${p##*/}" | cut -c21-).html"\n\ndone\n
\nDo some loops there. Here's how @eldersnake does it https://www.andrewjvpowell.com/pastebin/1612574353/. It doesn't have to be great, just make it work.
p
directory, about quotes, maybe you can sed
files. You really don't have to use mkws
but I'm just saying that it's not impossible.
npm
dependecies.
npm install
in mkws!
shops
is an orchestrator for a custom language you defined in yaml
which runs sh
functions, and judo
is an orchestrator for plain sh
scripts.
cdtemp
is closer in naming to mktemp
cdtemp
is shorter and I don't have to name things. π
sh
script, what am I missing?
\nalias cdtemp='cd $(mktemp -d)'\n
\n\nwhenever I'm playing around with something.
judo
, not ssh
, but if man if yaml
is your thing, just do yaml
.
shar
somehow, I'm half asleep, we'll talk tomorrow.
]
is extra\n\n\n if [ -n "${NS1}" ] && ! grep -q "nameserver ${NS1}" "${RESOLVCONF}" ]; then\n
yaml
as opposed to just writing a sh
script and run it via https://github.com/rollcat/judo for example.
\ngeoip_city_database = "/usr/share/GeoIP/GeoIPCity.dat"\ngeoip_city_database_v6 = "/usr/share/GeoIP/GeoIPCityv6.dat"\n
\n\nAren't these "old", "deprecated" GeoIP databases? Isn't the new format in .mmdb
? I don't believe I have those databases on OpenBSD.
asciiworld
on OpenBSD. Playing around. π
ulinux
, right?
ssh
. https://mkws.sh is an OpenBSD VPS hosted by http://openbsd.amsterdam/, I do most of my work there. I run another small Void Linux VPS. I'm not that hardcore. π
Win+;
.