aboutsummaryrefslogtreecommitdiff
path: root/collector
diff options
context:
space:
mode:
Diffstat (limited to 'collector')
-rwxr-xr-xcollector6
1 files changed, 3 insertions, 3 deletions
diff --git a/collector b/collector
index f8545f9..aba470e 100755
--- a/collector
+++ b/collector
@@ -24,12 +24,12 @@ if [ -z "$ACTION" ] || [ "$ACTION" == "view" ]; then
cat "$COLLECTOR_FILE"
elif [ "$ACTION" == "add" ]; then
shift
- echo "* [ ] $*" >> "$COLLECTOR_FILE"
+ echo "* $*" >> "$COLLECTOR_FILE"
elif [ "$ACTION" == "list" ]; then
- if grep -q -e "^\* \[ \]" "$COLLECTOR_FILE"; then
+ if grep -q -e "^ *\* " "$COLLECTOR_FILE"; then
echo "Collected items at $COLLECTOR_FILE:"
echo ""
- grep -e "^\* \[ \]" "$COLLECTOR_FILE"
+ grep -e "^ *\* " "$COLLECTOR_FILE"
echo ""
fi
elif [ "$ACTION" == "edit" ]; then