Prepare new release

This commit is contained in:
dmarakom6 2021-07-06 18:31:51 +03:00
parent 586031426e
commit 9c8a4c0974
6 changed files with 78 additions and 4 deletions

View file

@ -1,6 +1,13 @@
#The first line is the current shell, found by install.sh .
#The first line is the user's default shell found during installation process.
#Warning! If you don't have gedit(text editor) or nano installed, you may have to change the default text editor (lines 10, 25, 40).
#The lines below must NOT be changed.
export DIR="$(pwd)" export DIR="$(pwd)"
. ~/.shellnotes/whatsnew.sh
. ~/.shellnotes/util/getv.sh . ~/.shellnotes/util/getv.sh
. ~/.shellnotes/def/defaults.sh . ~/.shellnotes/def/defaults.sh
. ~/.shellnotes/util/ChMkDir.sh . ~/.shellnotes/util/ChMkDir.sh
@ -22,3 +29,4 @@ export DIR="$(pwd)"
. ~/.shellnotes/util/.hidden/.clearlogs.sh . ~/.shellnotes/util/.hidden/.clearlogs.sh
. ~/.shellnotes/util/.hidden/.resetshellnotes.sh . ~/.shellnotes/util/.hidden/.resetshellnotes.sh

View file

@ -5,7 +5,7 @@ Released under the "All rights reserved" category. See the RIGHTS.txt file
in /docs/github/ for its full text. in /docs/github/ for its full text.
info info
case $1 in -i|--i ) case $1 in -i|--info )
echo "This is an original copy of the shellnotes project from the github repository." echo "This is an original copy of the shellnotes project from the github repository."
echo "Copyright © Dimitris Marakomihelakis. All rights reserved." echo "Copyright © Dimitris Marakomihelakis. All rights reserved."
esac esac

View file

@ -1 +1 @@
3.0 3.5

11
whatsnew.sh Normal file
View file

@ -0,0 +1,11 @@
#See what's new after opening your terminal
echo -n "shellnotes has been updated.\nWant to see what's new?(Y/N): " && read show
case $show in
y | yes | Y | Yes | YES )
less ~/.shellnotes/whatsnew.txt
sed -i /whatsnew/d ~/.shellnotes/.shellnotes.sh
rm -f ~/.shellnotes/whatsnew.txt
rm -f ~/.shellnotes/whatsnew.sh
esac

55
whatsnew.txt Normal file
View file

@ -0,0 +1,55 @@
Shellnotes 3.5 Updates
6/7/2021
Additions:
- `notegrep`: new command for manipulating notes with grep's tools
- Added parameters and improved `quickread`
- Added the set-defaults.sh log as an option in the logfile viewer (`shellnotes -l`).
- `shellnotes -i` or `--info`: Information about your shellnotes copy
- Added manpages for hidden commands (`clearlogs`, `resetshellnotes`)
- `resetshellnotes -f` or `--force`: Avoid prompt when resetting shellnotes.
Fixes:
- Fixed clearlogs.sh generating empty logfiles inside `/exec`
- Fixed bug #116 `-DynamicOutputBug`: "listnotes -d output generates autoscroll, instead of starting from where the command was executed."
- Fixed "\n" input resulting in an error
- Fixed auto-update illegal math bug
- Fixed not returning to previous directory bug
- Fixed bug #72 `-WithoutStringBug`: "If there are no matches in the input, "notegrep -ws" will display the file as is."
Updates & Changes:
- Reorganized scripts under `util/`
- Optimized the install script (`install.sh`)
- Enhanced all manpages
- New logging method: Logging directly from executables, in order for the process to take less time (clears logfiles with same method)
- Updated Documentation
- Reorganized the logfile system
- Removed syntax files (stored in `util/.syntax/`)
- Changed `listnotes` output: It's more traditional now
- Renamed `noteinfo` to `notewc` as it uses the `wc` command & changed its output
- `resetshellnotes` now resets the user's shell
Notes:
_____ __ __________ __ _ ______ _________________
/ ___/ / / / / ____/ / / / / | / / __ \/_ __/ ____/ ___/
\__ \ / /_/ / __/ / / / / / |/ / / / / / / / __/ \__ \
___/ / __ / /___/ /___/ /___/ /| / /_/ / / / / /___ ___/ /
/____/_/ /_/_____/_____/_____/_/ |_/\____/ /_/ /_____//____/
(Ignore the 80's ASCII art.)
Welcome to shellnotes 3.5!
This version brings many bug fixes as well as additions for shellnotes!
Starting with the main feature of the update, `notegrep` is a tool that can be used on a daily basis. It simply uses grep to change the way you read your notes. You can experiment this new tool as well as a variety of options (split-character, without-character, multiple patterns and files and more).
The biggest improvement of 3.5 must be `quickread`. There are some new parameters you can play with, or you can just test its new error-handling ability.
Let's not forget the bug fixes: It's even safer to use shellnotes without worrying about errors occuring.
And last, shellnotes is now way faster than before. Instead of compiling loggers on the go, shellnotes uses pre-existing executables to speed up the process.
Still don't know what's going on? Read the manpages! By the way, the manpages got updated as well...
Have fun taking notes!