From 7bcf12f2a264a49f8a8125de48669af734846f4d Mon Sep 17 00:00:00 2001 From: Nils Gillmann Date: Mon, 18 Jun 2018 14:54:15 +0000 Subject: [PATCH] Make the scripts in the bin folder public domain material. Signed-off-by: Nils Gillmann --- bin/grephdr.sh | 1 + bin/grepsrc.sh | 1 + bin/pogen.sh | 1 + bin/rename.sh | 1 + 4 files changed, 4 insertions(+) diff --git a/bin/grephdr.sh b/bin/grephdr.sh index b0f979196..203370b6c 100755 --- a/bin/grephdr.sh +++ b/bin/grephdr.sh @@ -1,3 +1,4 @@ #!/bin/sh +# This scipt is in the public domain. # grepsrc.sh string --- greps for string over all java files find . -name "*.h" -print | grep -v "#" | xargs grep "$@" diff --git a/bin/grepsrc.sh b/bin/grepsrc.sh index 0c18dd7d2..6b1771f1f 100755 --- a/bin/grepsrc.sh +++ b/bin/grepsrc.sh @@ -1,3 +1,4 @@ #!/bin/sh +# This scipt is in the public domain. # grepsrc.sh string --- greps for string over all C files find . -name "*.c" -print | grep -v "#" | xargs grep -n "$*" diff --git a/bin/pogen.sh b/bin/pogen.sh index 87c90adf2..e0b664ce6 100755 --- a/bin/pogen.sh +++ b/bin/pogen.sh @@ -1,4 +1,5 @@ #!/bin/sh +# This scipt is in the public domain. find src -name "*.c" | grep -v \# | grep -v /test_ | grep -v /perf_ | grep -v _old | grep -v chat | grep -v .libs/ | sort > po/POTFILES.in grep -l _\( `find src -name "*.h"` | grep -v "platform.h" | grep -v _old | grep -v chat | sort >> po/POTFILES.in diff --git a/bin/rename.sh b/bin/rename.sh index 3b49712e5..71ba5a369 100755 --- a/bin/rename.sh +++ b/bin/rename.sh @@ -1,4 +1,5 @@ #!/bin/sh +# This scipt is in the public domain. for n in `find * -name "*.c"` `find * -name "*.h"` `find * -name "*.am"` `find * -name "*.conf"` `find * -name "*.conf.in"` do cat $n | sed -e "s/$1/$2/g" > $n.new -- 2.25.1