repo.or.cz
/
guilt.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Guilt v0.25
[guilt.git]
/
guilt-applied
blob
373e5f76489a264bccb78fab42df1c132244848e
1
#!/bin/bash
2
#
3
# Copyright (c) Josef "Jeff" Sipek, 2006, 2007
4
#
5
6
USAGE
=
"[-c]"
7
. guilt
8
9
case
$#
in
10
0
)
11
# just output the regular series-style applied list
12
cat
$applied
| cut
-d
:
-f
2
-
13
;;
14
15
1
)
16
if
[
"
$1
"
!=
"-c"
];
then
17
usage
18
fi
19
20
cat
$applied
|
sed
-e
's/:/ /'
21
;;
22
23
*)
24
usage
25
;;
26
esac