From ef9e1d1552b9b284663c6ac39650fbe4f3bc866c Mon Sep 17 00:00:00 2001 From: dmarakom6 Date: Thu, 1 Jul 2021 18:35:10 +0300 Subject: [PATCH] Remove syntax files --- docs/commands.txt | 3 +-- docs/run.txt | 1 - docs/system/imports.txt | 6 +----- shellnotes.sh | 6 ------ util/syntax/.copr.sh | 32 -------------------------------- util/syntax/.dir.sh | 9 --------- util/syntax/.logsyntax.sh | 13 ------------- util/syntax/.me.sh | 9 --------- util/syntax/.param.sh | 12 ------------ util/syntax/.undrln.sh | 10 ---------- 10 files changed, 2 insertions(+), 99 deletions(-) delete mode 100644 util/syntax/.copr.sh delete mode 100644 util/syntax/.dir.sh delete mode 100644 util/syntax/.logsyntax.sh delete mode 100644 util/syntax/.me.sh delete mode 100644 util/syntax/.param.sh delete mode 100644 util/syntax/.undrln.sh diff --git a/docs/commands.txt b/docs/commands.txt index 2153b9e..e52c407 100644 --- a/docs/commands.txt +++ b/docs/commands.txt @@ -12,5 +12,4 @@ renamenote shellnotes (-u/-v/-r/-l/-sd/-h/-au) clearlogs resetshellnotes (-f) -notewc -notegrep (-sc/-cl/-sl/-cf/-sf/-ws) \ No newline at end of file +noteinfo \ No newline at end of file diff --git a/docs/run.txt b/docs/run.txt index 027380a..6b423d5 100644 --- a/docs/run.txt +++ b/docs/run.txt @@ -122,7 +122,6 @@ The tree looks like this: | | |-- sd-input3.txt | | `-- sd.sh | |-- shellnotes.sh -| |-- syntax | |-- u | | `-- u.sh | `-- v diff --git a/docs/system/imports.txt b/docs/system/imports.txt index 79e8252..919b482 100644 --- a/docs/system/imports.txt +++ b/docs/system/imports.txt @@ -9,8 +9,7 @@ proccess, as well as all the imports needed for the program to work. The imports 2. Scripts run every time the terminal is launched (i.e. Version getter (getv)) 3. The shellnotes command with all of its parameters (file found in /util/shellnotes.sh, params in subfolders of util/) - 4. Syntax (Comments including used snippets in scripts) - 5. "Hidden" commands (files containing a (.) in /util, actions for cleaning space etc.) + 4. "Hidden" commands (files containing a (.) in /util, actions for cleaning space etc.) In the .shellnotes.sh file, the imports are ordered like this: @@ -30,6 +29,3 @@ In the .shellnotes.sh file, the imports are ordered like this: Hidden commands (i.e. clearlogs, run only when necessary) - - syntax (hidden in /util) - diff --git a/shellnotes.sh b/shellnotes.sh index abc5834..b40faab 100644 --- a/shellnotes.sh +++ b/shellnotes.sh @@ -25,9 +25,3 @@ DIR="$(pwd)" . ~/.shellnotes/util/shellnotes.sh . ~/.shellnotes/util/.hidden/.clearlogs.sh . ~/.shellnotes/util/.hidden/.resetshellnotes.sh -. ~/.shellnotes/util/syntax/.logsyntax.sh -. ~/.shellnotes/util/syntax/.copr.sh -. ~/.shellnotes/util/syntax/.dir.sh -. ~/.shellnotes/util/syntax/.me.sh -. ~/.shellnotes/util/syntax/.dir.sh -. ~/.shellnotes/util/syntax/.param.sh diff --git a/util/syntax/.copr.sh b/util/syntax/.copr.sh deleted file mode 100644 index d8bfb99..0000000 --- a/util/syntax/.copr.sh +++ /dev/null @@ -1,32 +0,0 @@ -:<<'info' -shellnotes - .copr.sh (syntax) -(C) Dimitris Marakomihelakis -Released under the "All rights reserved" category. See the RIGHTS.txt file -in /docs/github/ for its full text. -info - - - - -#Copyright comment, used in all files. -#syntax for shell scripts: -#:<<'info' -#shellnotes - filename.sh -#(C) Dimitris Marakomihelakis -#Released under the "All rights reserved" category. See the RIGHTS.txt file -#in /docs/github/ for its full text. -#info - -#syntax for C++: -#/* -#shellnotes - disfailed.cpp -#(C) Dimitris Marakomihelakis -#Released under the "All rights reserved" category. See the RIGHTS.txt file -#in /docs/github/ for its full text. -#*/ - -#syntax for Python: -#shellnotes - d.py -#(C) Dimitris Marakomihelakis -#Released under the "All rights reserved" category. See the RIGHTS.txt file -#in /docs/github/ for its full text. \ No newline at end of file diff --git a/util/syntax/.dir.sh b/util/syntax/.dir.sh deleted file mode 100644 index d52190f..0000000 --- a/util/syntax/.dir.sh +++ /dev/null @@ -1,9 +0,0 @@ -:<<'info' -shellnotes - .dir.sh (syntax) -(C) Dimitris Marakomihelakis -Released under the "All rights reserved" category. See the RIGHTS.txt file -in /docs/github/ for its full text. -info - -#code... -#cd $DIR \ No newline at end of file diff --git a/util/syntax/.logsyntax.sh b/util/syntax/.logsyntax.sh deleted file mode 100644 index 8fa02d7..0000000 --- a/util/syntax/.logsyntax.sh +++ /dev/null @@ -1,13 +0,0 @@ -:<<'info' -shellnotes - .logsyntax.sh (syntax) -(C) Dimitris Marakomihelakis -Released under the "All rights reserved" category. See the RIGHTS.txt file -in /docs/github/ for its full text. -info - -#syntax: - -#g++ file.cpp -o compiledfile -> make a compiled version of the logger -#~/.shellnotes/util/logfiles/enfailed -> run the compiled file -#rm -f enfailed -> delete the compiled file -#cd $DIR -> dir="$(pwd)" in main scripts \ No newline at end of file diff --git a/util/syntax/.me.sh b/util/syntax/.me.sh deleted file mode 100644 index c070e58..0000000 --- a/util/syntax/.me.sh +++ /dev/null @@ -1,9 +0,0 @@ -:<<'info' -shellnotes - .me.sh (syntax) -(C) Dimitris Marakomihelakis -Released under the "All rights reserved" category. See the RIGHTS.txt file -in /docs/github/ for its full text. -info - -#code... -#echo "Saved in home/users/$USR/Notes/" \ No newline at end of file diff --git a/util/syntax/.param.sh b/util/syntax/.param.sh deleted file mode 100644 index 07307df..0000000 --- a/util/syntax/.param.sh +++ /dev/null @@ -1,12 +0,0 @@ -:<<'info' -shellnotes - param.sh(syntax) -(C) Dimitris Marakomihelakis -Released under the "All rights reserved" category. See the RIGHTS.txt file -in /docs/github/ for its full text. -info - -#if [ $# -eq 0 ]; then -# echo -n "Enter note name: " && read notename -#else -# notename=$1 -#fi \ No newline at end of file diff --git a/util/syntax/.undrln.sh b/util/syntax/.undrln.sh deleted file mode 100644 index 6580a6b..0000000 --- a/util/syntax/.undrln.sh +++ /dev/null @@ -1,10 +0,0 @@ -:<<'info' -shellnotes - .undrln.sh (syntax) -(C) Dimitris Marakomihelakis -Released under the "All rights reserved" category. See the RIGHTS.txt file -in /docs/github/ for its full text. -info - -#str="Manipulated $notename in $DEFAULT_PATH" -#underlines=$(echo "$str" | tr -c '\010' '-') -#echo "$str\n$underlines" \ No newline at end of file