From f5d92011429ec87196013fe7aef0ff4754a8088d Mon Sep 17 00:00:00 2001
From: Carl N Baldwin <cnb@hpsvcnb.fc.hp.com>
Date: Thu, 20 Oct 2005 09:48:14 -0600
Subject: [PATCH] Reorganize a bit

---
 Makefile.am                          |  2 ++
 configure.ac                         |  1 +
 scripts/Makefile.am                  |  5 +++++
 find-cmd.sh => scripts/find-cmd.sh   |  0
 scripts/other-commands               | 13 +++++++++++++
 rsync-cmd.sh => scripts/rsync-cmd.sh |  0
 6 files changed, 21 insertions(+)
 create mode 100644 scripts/Makefile.am
 rename find-cmd.sh => scripts/find-cmd.sh (100%)
 create mode 100644 scripts/other-commands
 rename rsync-cmd.sh => scripts/rsync-cmd.sh (100%)

diff --git a/Makefile.am b/Makefile.am
index 30391e1..bd1b3e8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,5 @@
+SUBDIRS = scripts
+
 bin_PROGRAMS = lsbackups
 
 bin_SCRIPTS = find-cmd.sh
diff --git a/configure.ac b/configure.ac
index 3c21c10..a41026e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,5 +9,6 @@ AC_PROG_INSTALL()
 AC_PROG_RANLIB()
 
 AC_CONFIG_FILES( [Makefile] )
+AC_CONFIG_FILES( [scripts/Makefile] )
 
 AC_OUTPUT
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
new file mode 100644
index 0000000..95e619c
--- /dev/null
+++ b/scripts/Makefile.am
@@ -0,0 +1,5 @@
+EXTRA_DIST= \
+  find-cmd.sh \
+  list-dates.rb \
+  other-commands \
+  rsync-cmd.sh
diff --git a/find-cmd.sh b/scripts/find-cmd.sh
similarity index 100%
rename from find-cmd.sh
rename to scripts/find-cmd.sh
diff --git a/scripts/other-commands b/scripts/other-commands
new file mode 100644
index 0000000..73f3468
--- /dev/null
+++ b/scripts/other-commands
@@ -0,0 +1,13 @@
+# Handling null-delimited files with...
+
+# xargs
+xargs -0
+
+# grep
+grep [-z|--null-data]
+
+# sed
+# Can't figure this one out
+
+# awk
+awk 'BEGIN { RS="\0" } {print...}'
diff --git a/rsync-cmd.sh b/scripts/rsync-cmd.sh
similarity index 100%
rename from rsync-cmd.sh
rename to scripts/rsync-cmd.sh
-- 
2.34.1