From eb171a59b91a0730f095e951ebf783771ec50251 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 27 Jul 2019 17:08:17 -0400 Subject: Fix shell script style in ~/.local/bin --- home/.local/bin/def | 2 +- home/.local/bin/nasd | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/home/.local/bin/def b/home/.local/bin/def index ea8b9536..6a1681d3 100755 --- a/home/.local/bin/def +++ b/home/.local/bin/def @@ -42,6 +42,6 @@ for header in $headers; do | tail -n 1 ) [ $? -ne 0 -o "$defined" = "$macro" ] && continue - echo "#include <$header>" + echo "#include <${header}>" echo "$defined" done diff --git a/home/.local/bin/nasd b/home/.local/bin/nasd index 203fdd2d..d64b2c3a 100755 --- a/home/.local/bin/nasd +++ b/home/.local/bin/nasd @@ -1,9 +1,9 @@ #!/bin/sh -set -e -u +set -eu dir=$(mktemp -d) -echo 'bits 64' > $dir/input -cat >> $dir/input -nasm -o $dir/output $dir/input || true -ndisasm -b 64 $dir/output || true -rm -r $dir +echo 'bits 64' > "${dir}/input" +cat >> "${dir}/input" +nasm -o "${dir}/output" "${dir}/input" || true +ndisasm -b 64 "${dir}/output" || true +rm -r "$dir" -- cgit 1.4.1 ow=1'>log tree commit diff
path: root/Makefile (unfollow)
Commit message (Expand)Author
2019-10-24Implement ringWriteJune McEnroe
2019-10-24Make clientFormat publicJune McEnroe
2019-10-24Make serverFormat publicJune McEnroe
2019-10-24Rename some thingsJune McEnroe
2019-10-23Add ISUPPORT draft to STANDARDSJune McEnroe
2019-10-23Track own originJune McEnroe
2019-10-23Track channels and sync ISUPPORTJune McEnroe
2019-10-23Track nick changesJune McEnroe
2019-10-23Rename Command to MessageJune McEnroe
2019-10-23Synchronize state after client registrationJune McEnroe
2019-10-23Send to server if client has no needsJune McEnroe
2019-10-23Implement some amount of client connectionJune McEnroe
2019-10-23Set clients non-blockingJune McEnroe
2019-10-23Clean up state.c and factor out parsingJune McEnroe
2019-10-23Respond to pingsJune McEnroe
2019-10-23Add verbose flagJune McEnroe
2019-10-23Set NOSIGPIPE on server connectionJune McEnroe
2019-10-23Set an initial loop capJune McEnroe
2019-10-23Fix rest parsingJune McEnroe
2019-10-23Add dynamic poll listJune McEnroe
2019-10-23Don't assume commands have targets and handle ERRORJune McEnroe
2019-10-23Clean up state somewhatJune McEnroe
2019-10-23Actually send the buffer...June McEnroe
2019-10-23Add stateJune McEnroe