Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
hexbog.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
change layout, factor out css, use lesscss
[hexbog.git]
/
combine.bash
diff --git a/combine.bash
b/combine.bash
new file mode 100644
(file)
index 0000000..
d46217c
--- /dev/null
+++ b/
combine.bash
@@ -0,0
+1,11
@@
+#!/bin/bash
+
+cat "$1" | while read x
+do
+ if [ "${x:0:4}" = 'cat ' ]
+ then
+ cat "${x:4}" || exit $?
+ else
+ echo "$x"
+ fi
+done