From 5e1f560440d2ff0becbcf05c06528db508549622 Mon Sep 17 00:00:00 2001 From: Martin Cech Date: Wed, 19 Mar 2025 20:51:55 +0100 Subject: [PATCH] more standard scripting --- maintain.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/maintain.sh b/maintain.sh index 10f2019..9b7ea98 100755 --- a/maintain.sh +++ b/maintain.sh @@ -1,8 +1,7 @@ -#!/bin/bash +#!/usr/bin/env bash # Unify locale settings temporarily to make sort produce the same order -LC_ALL=C -export LC_ALL +export LC_ALL=C # Converts uppercase to lowercase, sorts, removes duplicates and removes allowlisted domains cat disposable_email_blocklist.conf | tr '[:upper:]' '[:lower:]' | sort -f | uniq -i > temp.conf