summaryrefslogtreecommitdiff
path: root/bin/extra/ddsurf
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-06-18 16:12:01 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-06-18 16:12:01 +0200
commit05e1216b45340702f82a4946002015a05cebe9b1 (patch)
tree316793ccd39f65e758cdf6ab6957cf677bc8a783 /bin/extra/ddsurf
parentb0cf79d522a609eda250629386eb45c2978ef2d8 (diff)
checkpoint
Diffstat (limited to 'bin/extra/ddsurf')
-rwxr-xr-xbin/extra/ddsurf4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/extra/ddsurf b/bin/extra/ddsurf
new file mode 100755
index 0000000..a3ae0d1
--- /dev/null
+++ b/bin/extra/ddsurf
@@ -0,0 +1,4 @@
+#!/bin/sh
+f="$(mktemp)"
+awk '!x[$2]++' ~/.config/surf/history.txt > "$f"
+mv "$f" ~/.config/surf/history.txt