message before the window closes.
modified: SOURCE/CORE/core-remove.sh
modified: notes.sh
if [ ! "$OK" ]; then
echo "invalid note \"$NOTE\""
echo "Use the note ID that you can fetch after listing your notes"
if [ ! "$OK" ]; then
echo "invalid note \"$NOTE\""
echo "Use the note ID that you can fetch after listing your notes"
mv $TMPDB $DB
rm $NOTESDIR/$FILE
echo "Deleted note $TITLE"
mv $TMPDB $DB
rm $NOTESDIR/$FILE
echo "Deleted note $TITLE"
else
echo "note not found"
else
echo "note not found"
if [ ! "$OK" ]; then
echo "invalid note \"$NOTE\""
echo "Use the note ID that you can fetch after listing your notes"
if [ ! "$OK" ]; then
echo "invalid note \"$NOTE\""
echo "Use the note ID that you can fetch after listing your notes"
mv $TMPDB $DB
rm $NOTESDIR/$FILE
echo "Deleted note $TITLE"
mv $TMPDB $DB
rm $NOTESDIR/$FILE
echo "Deleted note $TITLE"
else
echo "note not found"
else
echo "note not found"