fixed print function and made appropriate changes to other parts of the program; changed version to alpha 8
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
function list(){
|
||||
if [ -d "$BASE_DIR"/"$NOTEBOOK" ]; then
|
||||
printf "+%s\n" "$NOTEBOOK"
|
||||
find "$BASE_DIR"/"$NOTEBOOK" -type f | while read NOTE; do
|
||||
printf " -%s\n" "$(basename $NOTE | cut -d . -f 1)"
|
||||
find "$BASE_DIR"/"$NOTEBOOK" -type f | while read -r NOTE; do
|
||||
printf " -%s\n" "$(basename \"$NOTE\" | cut -d . -f 1 )"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user