Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
hexbog.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
activate on return/enter, cancel on esc
[hexbog.git]
/
combine.bash
1
#!/bin/bash
2
3
cat "$1" | while read x
4
do
5
if [ "${x:0:4}" = 'cat ' ]
6
then
7
cat "${x:4}" || exit $?
8
else
9
echo "$x"
10
fi
11
done