diff options
author | Ian Moffett <ian@osmora.org> | 2024-06-24 22:55:29 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-06-24 22:55:29 -0400 |
commit | 236963e7563be3e3f8220dac7bb4af446928e194 (patch) | |
tree | e521ea226db0345bbb3679fffe09d96254b7dc73 /tools/update-copyright | |
parent | 214eadc62b5578f76c98a38a28f8b3d80ac4d6ad (diff) |
Clean out for expt
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'tools/update-copyright')
-rwxr-xr-x | tools/update-copyright | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/update-copyright b/tools/update-copyright deleted file mode 100755 index 0f2ba80..0000000 --- a/tools/update-copyright +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -# Set the current year as a variable -current_year=$(date +"%Y") - -# Find all files in the sys/ directory and its subdirectories -find . -type f -print0 | while read -d $'\0' file -do - # Replace the old copyright notice with the new one - sed -i "s/\(Copyright (c) \)2023-[0-9]\{4\}\(.*\)/\12023-${current_year}\2/g" "${file}" -done |