From 19270ff5563485318424f263c0763881a6e3aee6 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 22 Feb 2023 11:49:51 -0300 Subject: opt/aux/gen-e-list.sh: Remove duplicate entries of scratch.txt --- opt/aux/gen-e-list.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'opt') diff --git a/opt/aux/gen-e-list.sh b/opt/aux/gen-e-list.sh index 9aedc56..e47db69 100755 --- a/opt/aux/gen-e-list.sh +++ b/opt/aux/gen-e-list.sh @@ -11,9 +11,11 @@ set -eu $XDG_CONFIG_HOME/nix/configuration.nix EOF - find ~/Documents/txt/*.txt ~/Documents/txt/*.md -not -name TODOs.md | - sed "s|^$HOME|~|" | - LANG=POSIX.UTF-8 sort + find \ + ~/Documents/txt/*.txt ~/Documents/txt/*.md \ + -not -name TODOs.md -and \ + -not -name scratch.txt | + LANG=POSIX.UTF-8 sort cat <<-EOF ~/dev/libre/package-repository/dependencies.dot @@ -22,4 +24,4 @@ set -eu $XDG_CONFIG_HOME/guix/channels.scm $XDG_CONFIG_HOME/lisp-cli/init.lisp EOF -} | sed "s|$HOME|~|" +} | sed "s|^$HOME|~|" -- cgit v1.2.3