]> Kevux Git Server - fll/commitdiff
Update: Remove the ++first and ++last parameters and relating logic.
authorKevin Day <Kevin@kevux.org>
Thu, 23 May 2024 03:23:23 +0000 (22:23 -0500)
committerKevin Day <Kevin@kevux.org>
Thu, 23 May 2024 04:17:48 +0000 (23:17 -0500)
I have used this for a while and have decided these are not worth the effort.
The addition is very nice but the additional code and logic is just extra maintenance and complexity for very little gain.

47 files changed:
build/scripts/bootstrap-example.sh
build/scripts/bootstrap.sh
build/scripts/generate_ctags.sh
build/scripts/install.sh
build/scripts/package.sh
build/scripts/test.sh
level_0/f_console/c/console/common.c
level_0/f_console/c/console/common.h
level_2/fll_program/c/program/common.h
level_2/fll_program/c/program/print.c
level_3/byte_dump/c/main/byte_dump.c
level_3/byte_dump/c/main/common.c
level_3/byte_dump/c/main/common/enumeration.h
level_3/controller/c/common.c
level_3/controller/c/common.h
level_3/controller/c/controller.c
level_3/example/c/main/common.c
level_3/example/c/main/common/enumeration.h
level_3/example/c/main/example.c
level_3/fake/c/main/common.c
level_3/fake/c/main/common/enumeration.h
level_3/fake/c/main/fake.c
level_3/firewall/c/main/common.c
level_3/firewall/c/main/common/enumeration.h
level_3/firewall/c/main/firewall.c
level_3/fss_identify/c/main/common.c
level_3/fss_identify/c/main/common/enumeration.h
level_3/fss_identify/c/main/fss_identify.c
level_3/fss_read/c/main/common.c
level_3/fss_read/c/main/common/enumeration.h
level_3/fss_read/c/main/fss_read.c
level_3/fss_read/tests/runtime/script/generate.sh
level_3/fss_write/c/main/common.c
level_3/fss_write/c/main/common/enumeration.h
level_3/fss_write/c/main/fss_write.c
level_3/iki_read/c/main/common.c
level_3/iki_read/c/main/common/enumeration.h
level_3/iki_read/c/main/iki_read.c
level_3/iki_write/c/main/common.c
level_3/iki_write/c/main/common/enumeration.h
level_3/iki_write/c/main/iki_write.c
level_3/status_code/c/main/common.c
level_3/status_code/c/main/common/enumeration.h
level_3/status_code/c/main/status_code.c
level_3/utf8/c/main/common.c
level_3/utf8/c/main/common/enumeration.h
level_3/utf8/c/main/utf8.c

index c947587fb6bdb0f3120681f1a2bd6e6504bcbb13..a8ff064ec5caa68326dcb38f02846b9976db1ce6 100644 (file)
@@ -68,7 +68,6 @@ build_mode_extra_value_1=
 build_mode_extra_param_2=
 build_mode_extra_value_2=
 shell_command=bash
-suppress_first="+F"
 exclude_programs=
 grab_next=
 skip=
@@ -150,11 +149,11 @@ if [[ ${1} == "individual" ]] ; then
 
       cd package/individual/${i}-${version}/ &&
 
-      ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} &&
+      ${shell_command} ./bootstrap.sh clean ${verbose} ${color} &&
 
-      ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m individual -m individual_thread ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} &&
+      ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${shared} ${static} -w ${path_work} -m individual -m individual_thread ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} &&
 
-      ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} &&
+      ${shell_command} ./install.sh ${verbose} ${color} ${shared} ${static} -w ${path_work} &&
 
       cd ${path_original} || break
     done
@@ -166,31 +165,31 @@ if [[ ${1} == "level" ]] ; then
 
   cd package/level/fll-level_0-${version}/ &&
 
-  ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} &&
+  ${shell_command} ./bootstrap.sh clean ${verbose} ${color} &&
 
-  ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} &&
+  ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} &&
 
-  ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} &&
+  ${shell_command} ./install.sh ${verbose} ${color} ${shared} ${static} -w ${path_work} &&
 
   cd ${path_original} &&
 
   cd package/level/fll-level_1-${version}/ &&
 
-  ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} &&
+  ${shell_command} ./bootstrap.sh clean ${verbose} ${color} &&
 
-  ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} &&
+  ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} &&
 
-  ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} &&
+  ${shell_command} ./install.sh ${verbose} ${color} ${shared} ${static} -w ${path_work} &&
 
   cd ${path_original} &&
 
   cd package/level/fll-level_2-${version}/ &&
 
-  ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} &&
+  ${shell_command} ./bootstrap.sh clean ${verbose} ${color} &&
 
-  ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} &&
+  ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} &&
 
-  ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work}
+  ${shell_command} ./install.sh ${verbose} ${color} ${shared} ${static} -w ${path_work}
 fi
 
 if [[ ${1} == "monolithic" ]] ; then
@@ -198,11 +197,11 @@ if [[ ${1} == "monolithic" ]] ; then
 
   cd package/monolithic/fll-${version}/ &&
 
-  ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} &&
+  ${shell_command} ./bootstrap.sh clean ${verbose} ${color} &&
 
-  ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m monolithic ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} &&
+  ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${shared} ${static} -w ${path_work} -m monolithic ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} &&
 
-  ${shell_command} ./install.sh ${verbose} ${color} ${shared} ${suppress_first} ${static} -w ${path_work}
+  ${shell_command} ./install.sh ${verbose} ${color} ${shared} ${static} -w ${path_work}
 fi
 
 # The following in an example on building individual projects.
@@ -254,11 +253,11 @@ if [[ ${mode_part} != "" ]] ; then
 
   cd package/${mode_path}/${mode_part}-${version}/ &&
 
-  ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} &&
+  ${shell_command} ./bootstrap.sh clean ${verbose} ${color} &&
 
-  ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m ${build_mode} ${build_mode_extra_param_1} ${build_mode_extra_value_1} ${build_mode_extra_param_2} ${build_mode_extra_value_2} ${mode_compiler_param} ${mode_compiler_value} &&
+  ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${shared} ${static} -w ${path_work} -m ${build_mode} ${build_mode_extra_param_1} ${build_mode_extra_value_1} ${build_mode_extra_param_2} ${build_mode_extra_value_2} ${mode_compiler_param} ${mode_compiler_value} &&
 
-  ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work}
+  ${shell_command} ./install.sh ${verbose} ${color} ${shared} ${static} -w ${path_work}
 
 # The following in an example on building all FLL program projects using the project bootstrapped from above.
 elif [[ ${1} == "programs-individual" || ${1} == "programs-level" || ${1} == "programs-monolithic" ]] ; then
@@ -314,11 +313,11 @@ elif [[ ${1} == "programs-individual" || ${1} == "programs-level" || ${1} == "pr
 
       cd ${path_original}package/program/${i} &&
 
-      ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} &&
+      ${shell_command} ./bootstrap.sh clean ${verbose} ${color} &&
 
-      ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m ${build_mode} ${build_mode_extra_param_1} ${build_mode_extra_value_1} ${build_mode_extra_param_2} ${build_mode_extra_value_2} ${mode_compiler_param} ${mode_compiler_value} &&
+      ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${shared} ${static} -w ${path_work} -m ${build_mode} ${build_mode_extra_param_1} ${build_mode_extra_value_1} ${build_mode_extra_param_2} ${build_mode_extra_value_2} ${mode_compiler_param} ${mode_compiler_value} &&
 
-      ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} ||
+      ${shell_command} ./install.sh ${verbose} ${color} ${shared} ${static} -w ${path_work} ||
 
       break
     done
index 8a3213e40dffcff0b6f12ba5393819c67acc0beb..1644837d6efee5e00de1bc89588d95fd4b8787e0 100644 (file)
@@ -61,8 +61,6 @@ bootstrap_main() {
   local path_sources=sources/
   local path_language=c/
   local path_work=
-  local print_line_first="yes"
-  local print_line_last="yes"
   local project_built=
   local project_built_shared=
   local project_built_static=
@@ -127,10 +125,6 @@ bootstrap_main() {
           verbosity="debug"
           verbose="+D"
           verbose_common="-v"
-        elif [[ ${p} == "+F" || ${p} == "++line_first_no" ]] ; then
-          print_line_first="no"
-        elif [[ ${p} == "+L" || ${p} == "++line_last_no" ]] ; then
-          print_line_last="no"
         elif [[ ${p} == "+v" || ${p} == "++version" ]] ; then
           echo ${version}
           return 0
@@ -197,11 +191,6 @@ bootstrap_main() {
     p=
   fi
 
-  if [[ ${verbosity} == "quiet" ]] ; then
-    print_line_first="no"
-    print_line_last="no"
-  fi
-
   # If the settings_name has a directory separator, then assume it is a path to the settings file.
   if [[ $(echo ${settings_name} | grep -s -o '/') == "" ]] ; then
     settings_file="${path_data}build/${settings_name}"
@@ -240,11 +229,7 @@ bootstrap_main() {
     for mode in ${modes} ; do
       if [[ $(echo "${mode}" | grep -s -o "[^_[:alnum:]+-]") != "" ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          bootstrap_print_first
-
           echo -e "${c_error}ERROR: The mode ${c_notice}${mode}${c_error} includes invalid characters, only alphanumeric, underscore, minus, and plus are allowed.${c_reset}"
-
-          bootstrap_print_last
         fi
 
         bootstrap_cleanup
@@ -280,11 +265,7 @@ bootstrap_main() {
   if [[ ${modes_available} == "" ]] ; then
     if [[ ${modes} != "" ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        bootstrap_print_first
-
         echo -e "${c_error}ERROR: The mode(s) ${c_notice}${modes}${c_error} are not a valid modes, there are no available modes.${c_error}${c_reset}"
-
-        bootstrap_print_last
       fi
 
       bootstrap_cleanup
@@ -309,11 +290,7 @@ bootstrap_main() {
 
     if [[ ${i} -eq 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        bootstrap_print_first
-
         echo -e "${c_error}ERROR: The mode(s) ${c_notice}${modes}${c_error} are not valid modes, they must be one of: ${c_notice}${modes_available}${c_error}.${c_reset}"
-
-        bootstrap_print_last
       fi
 
       bootstrap_cleanup
@@ -325,11 +302,7 @@ bootstrap_main() {
   bootstrap_id "build_name"
   if [[ ${variables[${key}]} == "" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: The required setting '${c_notice}build_name${c_error}' is not specified in the build settings file '${c_notice}${settings_file}${c_error}'.${c_reset}"
-
-      bootstrap_print_last
     fi
 
     bootstrap_cleanup
@@ -340,11 +313,7 @@ bootstrap_main() {
   bootstrap_id "version_major"
   if [[ ${variables[${key}]} == "" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: The required setting '${c_notice}version_major${c_error}' is not specified in the build settings file '${c_notice}${settings_file}${c_error}'.${c_reset}"
-
-      bootstrap_print_last
     fi
 
     bootstrap_cleanup
@@ -355,11 +324,7 @@ bootstrap_main() {
   bootstrap_id "version_minor"
   if [[ ${variables[${key}]} == "" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: The required setting '${c_notice}version_minor${c_error}' is not specified in the build settings file '${c_notice}${settings_file}${c_error}'.${c_reset}"
-
-      bootstrap_print_last
     fi
 
     bootstrap_cleanup
@@ -370,11 +335,7 @@ bootstrap_main() {
   bootstrap_id "version_micro"
   if [[ ${variables[${key}]} == "" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: The required setting '${c_notice}version_micro${c_error}' is not specified in the build settings file '${c_notice}${settings_file}${c_error}'.${c_reset}"
-
-      bootstrap_print_last
     fi
 
     bootstrap_cleanup
@@ -384,11 +345,7 @@ bootstrap_main() {
 
   if [[ ${path_data} == "" || ! -d ${path_data} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: The data directory ${c_notice}${path_data}${c_error} is not a valid directory.${c_reset}"
-
-      bootstrap_print_last
     fi
 
     bootstrap_cleanup
@@ -398,11 +355,7 @@ bootstrap_main() {
 
   if [[ ${path_sources} == "" || ! -d ${path_sources} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: The sources directory ${c_notice}${path_sources}${c_error} is not a valid directory.${c_reset}"
-
-      bootstrap_print_last
     fi
 
     bootstrap_cleanup
@@ -412,11 +365,7 @@ bootstrap_main() {
 
   if [[ ${path_work} != "" && ! -d ${path_work} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: The work directory ${c_notice}${path_work}${c_error} is not a valid directory.${c_reset}"
-
-      bootstrap_print_last
     fi
 
     bootstrap_cleanup
@@ -444,11 +393,7 @@ bootstrap_main() {
 
   if [[ ${operation_failure} == "fail-multiple" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: Only one operation may be specified at a time.${c_reset}"
-
-      bootstrap_print_last
     fi
 
     bootstrap_cleanup
@@ -456,8 +401,6 @@ bootstrap_main() {
     return 1
   elif [[ ${operation} == "build" ]] ; then
     if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_highlight}Building:${c_reset} ${c_notice}${project_label}${c_highlight} with modes: ${c_notice}${modes}${c_highlight}.${c_reset}"
     fi
 
@@ -480,16 +423,12 @@ bootstrap_main() {
     fi
   elif [[ ${operation} == "clean" ]] ; then
     if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_highlight}Cleaning Project:${c_reset} ${c_notice}${project_label}${c_highlight}.${c_reset}"
     fi
 
     bootstrap_operation_clean
   elif [[ ${operation} == "" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: No operation was given.${c_reset}"
     fi
 
@@ -498,11 +437,7 @@ bootstrap_main() {
     return 1
   else
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: The operation ${c_notice}${operation}${c_error} was not recognized.${c_reset}"
-
-      bootstrap_print_last
     fi
 
     bootstrap_cleanup
@@ -510,12 +445,6 @@ bootstrap_main() {
     return 1
   fi
 
-  if [[ ${verbosity} != "quiet" ]] ; then
-    if [[ ${failure} -eq 1 || ${verbosity} != "error" ]] ; then
-      bootstrap_print_last
-    fi
-  fi
-
   bootstrap_cleanup
 
   return 0
@@ -545,8 +474,6 @@ bootstrap_handle_colors() {
 
 bootstrap_help() {
 
-  bootstrap_print_first
-
   echo -e "${c_title}${public_name}${c_reset}"
   echo -e " ${c_notice}Version ${version}${c_reset}"
   echo
@@ -555,19 +482,17 @@ bootstrap_help() {
   echo -e " ${c_important}clean${c_reset}  Delete all build files."
   echo
   echo -e "${c_highlight}Options:${c_reset}"
-  echo -e " -${c_important}h${c_reset}, --${c_important}help${c_reset}           Print this help message."
-  echo -e " +${c_important}C${c_reset}, ++${c_important}copyright${c_reset}      Print the copyright."
-  echo -e " +${c_important}d${c_reset}, ++${c_important}dark${c_reset}           Output using colors that show up better on dark backgrounds."
-  echo -e " +${c_important}l${c_reset}, ++${c_important}light${c_reset}          Output using colors that show up better on light backgrounds."
-  echo -e " +${c_important}n${c_reset}, ++${c_important}no_color${c_reset}       Do not print using color."
-  echo -e " +${c_important}Q${c_reset}, ++${c_important}quiet${c_reset}          Decrease verbosity, silencing most print.to."
-  echo -e " +${c_important}E${c_reset}, ++${c_important}error${c_reset}          Decrease verbosity, using only error print.to."
-  echo -e " +${c_important}N${c_reset}, ++${c_important}normal${c_reset}         Set verbosity to normal."
-  echo -e " +${c_important}V${c_reset}, ++${c_important}verbose${c_reset}        Increase verbosity beyond normal print.to."
-  echo -e " +${c_important}D${c_reset}, ++${c_important}debug${c_reset}          Enable debugging, significantly increasing verbosity beyond normal print.to."
-  echo -e " +${c_important}v${c_reset}, ++${c_important}version${c_reset}        Print only the version number."
-  echo -e " +${c_important}F${c_reset}, ++${c_important}line_first_no${c_reset}  Disable printing of first line."
-  echo -e " +${c_important}L${c_reset}, ++${c_important}line_last_no${c_reset}   Disable printing of last line."
+  echo -e " -${c_important}h${c_reset}, --${c_important}help${c_reset}       Print this help message."
+  echo -e " +${c_important}C${c_reset}, ++${c_important}copyright${c_reset}  Print the copyright."
+  echo -e " +${c_important}d${c_reset}, ++${c_important}dark${c_reset}       Output using colors that show up better on dark backgrounds."
+  echo -e " +${c_important}l${c_reset}, ++${c_important}light${c_reset}      Output using colors that show up better on light backgrounds."
+  echo -e " +${c_important}n${c_reset}, ++${c_important}no_color${c_reset}   Do not print using color."
+  echo -e " +${c_important}Q${c_reset}, ++${c_important}quiet${c_reset}      Decrease verbosity, silencing most print.to."
+  echo -e " +${c_important}E${c_reset}, ++${c_important}error${c_reset}      Decrease verbosity, using only error print.to."
+  echo -e " +${c_important}N${c_reset}, ++${c_important}normal${c_reset}     Set verbosity to normal."
+  echo -e " +${c_important}V${c_reset}, ++${c_important}verbose${c_reset}    Increase verbosity beyond normal print.to."
+  echo -e " +${c_important}D${c_reset}, ++${c_important}debug${c_reset}      Enable debugging, significantly increasing verbosity beyond normal print.to."
+  echo -e " +${c_important}v${c_reset}, ++${c_important}version${c_reset}    Print only the version number."
   echo
   echo -e "${c_highlight}Bootstrap Options:${c_reset}"
   echo -e " -${c_important}d${c_reset}, --${c_important}define${c_reset}     Append an additional define after defines from settings file."
@@ -587,21 +512,15 @@ bootstrap_help() {
   echo -e " --${c_important}disable-shared${c_reset}  Forcibly do not build shared files."
   echo -e " --${c_important}enable-static${c_reset}   Forcibly do build static files."
   echo -e " --${c_important}disable-static${c_reset}  Forcibly do not build static files."
-
-  bootstrap_print_last
 }
 
 bootstrap_copyright() {
 
-  bootstrap_print_first
-
   echo "Copyright Â© 2007-2024 Kevin Day."
   echo
   echo "Source code license lgpl-2.1-or-later."
   echo "Standard and specification license open-standard-license-1.0-or-later."
   echo "Documentation license cc-by-sa-4.0."
-
-  bootstrap_print_last
 }
 
 bootstrap_id() {
@@ -858,16 +777,12 @@ bootstrap_load_settings() {
 
   if [[ ! -d ${path_data}build/ ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: No build settings directory '${c_notice}${path_data}build/${c_error}' could not be found or is not a valid directory.${c_reset}"
     fi
 
     let failure=1
   elif [[ ! -f ${settings_file} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: No settings file ${c_notice}${settings_file}${c_error} could not be found or is not a valid file.${c_reset}"
     fi
 
@@ -1720,8 +1635,6 @@ bootstrap_operation_build() {
 
   if [[ ${failure} -eq 1 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: Failed to build.${c_reset}"
     fi
 
@@ -2821,8 +2734,6 @@ bootstrap_operation_build_validate_build() {
 
   if [[ ${build_compiler} == "" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: Cannot Build, no '${c_notice}build_compiler${c_error}' specified, such as '${c_notice}gcc${c_error}'.${c_reset}"
     fi
 
@@ -2831,8 +2742,6 @@ bootstrap_operation_build_validate_build() {
 
   if [[ ${build_indexer} == "" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: Cannot Build, no '${c_notice}build_indexer${c_error}' specified, such as '${c_notice}ar${c_error}'.${c_reset}"
     fi
 
@@ -2850,8 +2759,6 @@ bootstrap_operation_build_validate_paths() {
 
   if [[ ${path_sources} == "" || ! -d ${path_sources} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: The sources directory ${c_notice}${path_sources}${c_error} is not a valid directory.${c_reset}"
     fi
 
@@ -2860,8 +2767,6 @@ bootstrap_operation_build_validate_paths() {
 
   if [[ ${failure} -eq 0 && ${path_sources_object} != "" && ! -d ${path_sources_object} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: The sources object directory ${c_notice}${path_sources_object}${c_error} is not a valid directory.${c_reset}"
     fi
 
@@ -2887,8 +2792,6 @@ bootstrap_operation_build_validate_shared_static() {
 
   if [[ ${build_shared} != "yes" && ${build_static} != "yes" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: Cannot Build, either build_shared or build_static must be set to 'yes'.${c_reset}"
     fi
 
@@ -2897,8 +2800,6 @@ bootstrap_operation_build_validate_shared_static() {
 
   if [[ ${search_shared} != "yes" && ${search_static} != "yes" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      bootstrap_print_first
-
       echo -e "${c_error}ERROR: Cannot Build, either search_shared or search_static must be set to 'yes'.${c_reset}"
     fi
 
@@ -2917,8 +2818,6 @@ bootstrap_operation_build_validate_sources() {
   for i in ${sources_script} ; do
     if [[ ${i} != "$(echo ${i} | sed -e 's|^//*||' -e 's|^\.\.//*||' -e 's|/*$||')" ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        bootstrap_print_first
-
         echo -e "${c_error}ERROR: Cannot Build, invalid build_sources_script path provided: '${i}'.${c_reset}"
       fi
 
@@ -2929,8 +2828,6 @@ bootstrap_operation_build_validate_sources() {
   for i in ${sources_headers} ; do
     if [[ ${i} != "$(echo ${i} | sed -e 's|^//*||' -e 's|^\.\.//*||' -e 's|/*$||')" ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        bootstrap_print_first
-
         echo -e "${c_error}ERROR: Cannot Build, invalid build_sources_headers path provided: '${i}'.${c_reset}"
       fi
 
@@ -2941,8 +2838,6 @@ bootstrap_operation_build_validate_sources() {
   for i in ${sources_library} ; do
     if [[ ${i} != "$(echo ${i} | sed -e 's|^//*||' -e 's|^\.\.//*||' -e 's|/*$||')" ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        bootstrap_print_first
-
         echo -e "${c_error}ERROR: Cannot Build, invalid build_sources_library path provided: '${i}'.${c_reset}"
       fi
 
@@ -2953,8 +2848,6 @@ bootstrap_operation_build_validate_sources() {
   for i in ${sources_library_object} ; do
     if [[ ${i} != "$(echo ${i} | sed -e 's|^//*||' -e 's|^\.\.//*||' -e 's|/*$||')" ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        bootstrap_print_first
-
         echo -e "${c_error}ERROR: Cannot Build, invalid build_sources_library_object path provided: '${i}'.${c_reset}"
       fi
 
@@ -2965,8 +2858,6 @@ bootstrap_operation_build_validate_sources() {
   for i in ${sources_program_object} ; do
     if [[ ${i} != "$(echo ${i} | sed -e 's|^//*||' -e 's|^\.\.//*||' -e 's|/*$||')" ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        bootstrap_print_first
-
         echo -e "${c_error}ERROR: Cannot Build, invalid build_sources_program_object path provided: '${i}'.${c_reset}"
       fi
 
@@ -2977,8 +2868,6 @@ bootstrap_operation_build_validate_sources() {
   for i in ${sources_program} ; do
     if [[ ${i} != "$(echo ${i} | sed -e 's|^//*||' -e 's|^\.\.//*||' -e 's|/*$||')" ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        bootstrap_print_first
-
         echo -e "${c_error}ERROR: Cannot Build, invalid build_sources_program path provided: '${i}'.${c_reset}"
       fi
 
@@ -2989,8 +2878,6 @@ bootstrap_operation_build_validate_sources() {
   for i in ${sources_documentation} ; do
     if [[ ${i} != "$(echo ${i} | sed -e 's|^//*||' -e 's|^\.\.//*||' -e 's|/*$||')" ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        bootstrap_print_first
-
         echo -e "${c_error}ERROR: Cannot Build, invalid build_sources_documentation path provided: '${i}'.${c_reset}"
       fi
 
@@ -3001,8 +2888,6 @@ bootstrap_operation_build_validate_sources() {
   for i in ${sources_setting} ; do
     if [[ ${i} != "$(echo ${i} | sed -e 's|^//*||' -e 's|^\.\.//*||' -e 's|/*$||')" ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        bootstrap_print_first
-
         echo -e "${c_error}ERROR: Cannot Build, invalid build_sources_setting path provided: '${i}'.${c_reset}"
       fi
 
@@ -3098,22 +2983,6 @@ bootstrap_operation_clean() {
   fi
 }
 
-bootstrap_print_first() {
-
-  if [[ ${print_line_first} == "yes" ]] ; then
-    echo
-
-    print_line_first=
-  fi
-}
-
-bootstrap_print_last() {
-
-  if [[ ${print_line_last} == "yes" ]] ; then
-    echo
-  fi
-}
-
 bootstrap_cleanup() {
 
   unset bootstrap_copyright
@@ -3144,8 +3013,6 @@ bootstrap_cleanup() {
   unset bootstrap_operation_build_validate_shared_static
   unset bootstrap_operation_build_validate_sources
   unset bootstrap_operation_clean
-  unset bootstrap_print_first
-  unset bootstrap_print_last
   unset bootstrap_cleanup
 }
 
index 400cfab5d02e897f036c6da1bf6776123c3afbcc..edc01ffe68ef8cefb344e8529d899cdd2a9456f6 100644 (file)
@@ -42,8 +42,6 @@ main() {
   local failure=0
   local file=
   local name=
-  local print_line_first="yes"
-  local print_line_last="yes"
   local source="./"
   local verbosity=normal
   local verbose=
@@ -95,10 +93,6 @@ main() {
           verbosity="debug"
           verbose="+D"
           verbose_common="-v"
-        elif [[ ${p} == "+F" || ${p} == "++line_first_no" ]] ; then
-          print_line_first="no"
-        elif [[ ${p} == "+L" || ${p} == "++line_last_no" ]] ; then
-          print_line_last="no"
         elif [[ ${p} == "+v" || ${p} == "++version" ]] ; then
           echo ${version}
           return 0
@@ -123,11 +117,6 @@ main() {
     p=
   fi
 
-  if [[ ${verbosity} == "quiet" ]] ; then
-    print_line_first="no"
-    print_line_last="no"
-  fi
-
   generate_ctags_handle_colors
 
   if [[ ${do_help} == "yes" ]] ; then
@@ -146,15 +135,11 @@ main() {
 
   if [[ $(echo "$name" | grep -s -o "/") != "" || ${name} == "" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      generate_ctags_print_first
-
       if [[ ${name} == "" ]] ; then
         echo -e "${c_error}ERROR: No ${c_notice}name${c_error} parameter has been provided or is empty.${c_reset}"
       else
         echo -e "${c_error}ERROR: The ${c_notice}name${c_error} parameter value '${c_notice}${name}${c_error}' must not have a slash.${c_reset}"
       fi
-
-      generate_ctags_print_last
     fi
 
     generate_ctags_cleanup
@@ -164,15 +149,11 @@ main() {
 
   if [[ ${destination} == "" || ! -d ${destination} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      generate_ctags_print_first
-
       if [[ ${destination} == "" ]] ; then
         echo -e "${c_error}ERROR: The ${c_notice}destination${c_error} parameter is empty.${c_reset}"
       else
         echo -e "${c_error}ERROR: The ${c_notice}destination${c_error} parameter value '${c_notice}${destination}${c_error}' must be a directory.${c_reset}"
       fi
-
-      generate_ctags_print_last
     fi
 
     generate_ctags_cleanup
@@ -182,15 +163,11 @@ main() {
 
   if [[ ${source} == "" || ! -d ${source} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      generate_ctags_print_first
-
       if [[ ${source} == "" ]] ; then
         echo -e "${c_error}ERROR: The ${c_notice}source${c_error} parameter is empty.${c_reset}"
       else
         echo -e "${c_error}ERROR: The ${c_notice}source${c_error} parameter value '${c_notice}${source}${c_error}' must be a directory.${c_reset}"
       fi
-
-      generate_ctags_print_last
     fi
 
     generate_ctags_cleanup
@@ -209,11 +186,7 @@ main() {
 
     if [[ $? -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        generate_ctags_print_first
-
         echo -e "${c_error}ERROR: The ${c_notice}ctags${c_error} process failed.${c_reset}"
-
-        generate_ctags_print_last
       fi
 
       generate_ctags_cleanup
@@ -231,11 +204,7 @@ main() {
 
       if [[ $? -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          generate_ctags_print_first
-
           echo -e "${c_error}ERROR: Failed to strip the full path from the ${c_notice}${file}${c_error} file.${c_reset}"
-
-          generate_ctags_print_last
         fi
 
         generate_ctags_cleanup
@@ -246,11 +215,7 @@ main() {
   fi
 
   if [[ ${verbosity} != "quiet" ]] ; then
-    generate_ctags_print_first
-
     echo -e "${c_highlight}SUCCESS: The file ${c_notice}${file}${c_highlight} has been generated.${c_reset}"
-
-    generate_ctags_print_last
   fi
 
   generate_ctags_cleanup
@@ -258,22 +223,6 @@ main() {
   return 0
 }
 
-generate_ctags_print_first() {
-
-  if [[ ${print_line_first} == "yes" ]] ; then
-    echo
-
-    print_line_first=
-  fi
-}
-
-generate_ctags_print_last() {
-
-  if [[ ${print_line_last} == "yes" ]] ; then
-    echo
-  fi
-}
-
 generate_ctags_handle_colors() {
 
   if [[ ${do_color} == "light" ]] ; then
@@ -298,48 +247,38 @@ generate_ctags_handle_colors() {
 
 generate_ctags_help() {
 
-  generate_ctags_print_first
-
   echo -e "${c_title}${public_name}${c_reset}"
   echo -e " ${c_notice}Version ${version}${c_reset}"
   echo
   echo -e "${c_highlight}${system_name}${c_reset} ${c_notice}[${c_reset} options ${c_notice}]${c_reset} ${c_notice}[${c_reset} name ${c_notice}]${c_reset}"
   echo
   echo -e "${c_highlight}Options:${c_reset}"
-  echo -e " -${c_important}h${c_reset}, --${c_important}help${c_reset}           Print this help message."
-  echo -e " +${c_important}C${c_reset}, ++${c_important}copyright${c_reset}      Print the copyright."
-  echo -e " +${c_important}d${c_reset}, ++${c_important}dark${c_reset}           Output using colors that show up better on dark backgrounds."
-  echo -e " +${c_important}l${c_reset}, ++${c_important}light${c_reset}          Output using colors that show up better on light backgrounds."
-  echo -e " +${c_important}n${c_reset}, ++${c_important}no_color${c_reset}       Do not print using color."
-  echo -e " +${c_important}Q${c_reset}, ++${c_important}quiet${c_reset}          Decrease verbosity, silencing most print.to."
-  echo -e " +${c_important}E${c_reset}, ++${c_important}error${c_reset}          Decrease verbosity, using only error print.to."
-  echo -e " +${c_important}N${c_reset}, ++${c_important}normal${c_reset}         Set verbosity to normal."
-  echo -e " +${c_important}V${c_reset}, ++${c_important}verbose${c_reset}        Increase verbosity beyond normal print.to."
-  echo -e " +${c_important}D${c_reset}, ++${c_important}debug${c_reset}          Enable debugging, significantly increasing verbosity beyond normal print.to."
-  echo -e " +${c_important}v${c_reset}, ++${c_important}version${c_reset}        Print only the version number."
-  echo -e " +${c_important}F${c_reset}, ++${c_important}line_first_no${c_reset}  Disable printing of first line."
-  echo -e " +${c_important}L${c_reset}, ++${c_important}line_last_no${c_reset}   Disable printing of last line."
+  echo -e " -${c_important}h${c_reset}, --${c_important}help${c_reset}       Print this help message."
+  echo -e " +${c_important}C${c_reset}, ++${c_important}copyright${c_reset}  Print the copyright."
+  echo -e " +${c_important}d${c_reset}, ++${c_important}dark${c_reset}       Output using colors that show up better on dark backgrounds."
+  echo -e " +${c_important}l${c_reset}, ++${c_important}light${c_reset}      Output using colors that show up better on light backgrounds."
+  echo -e " +${c_important}n${c_reset}, ++${c_important}no_color${c_reset}   Do not print using color."
+  echo -e " +${c_important}Q${c_reset}, ++${c_important}quiet${c_reset}      Decrease verbosity, silencing most print.to."
+  echo -e " +${c_important}E${c_reset}, ++${c_important}error${c_reset}      Decrease verbosity, using only error print.to."
+  echo -e " +${c_important}N${c_reset}, ++${c_important}normal${c_reset}     Set verbosity to normal."
+  echo -e " +${c_important}V${c_reset}, ++${c_important}verbose${c_reset}    Increase verbosity beyond normal print.to."
+  echo -e " +${c_important}D${c_reset}, ++${c_important}debug${c_reset}      Enable debugging, significantly increasing verbosity beyond normal print.to."
+  echo -e " +${c_important}v${c_reset}, ++${c_important}version${c_reset}    Print only the version number."
   echo
   echo -e "${c_highlight}Generate Options:${c_reset}"
   echo -e " -${c_important}d${c_reset}, --${c_important}destination${c_reset}  The destination directory to write to."
   echo -e " -${c_important}s${c_reset}, --${c_important}source${c_reset}       The source directory containing the header files for generating the ctags from."
   echo
   echo -e "The ${c_notice}name${c_reset} represents the name of the file, without the extension."
-
-  generate_ctags_print_last
 }
 
 generate_ctags_copyright() {
 
-  generate_ctags_print_first
-
   echo "Copyright Â© 2007-2024 Kevin Day."
   echo
   echo "Source code license lgpl-2.1-or-later."
   echo "Standard and specification license open-standard-license-1.0-or-later."
   echo "Documentation license cc-by-sa-4.0."
-
-  generate_ctags_print_last
 }
 
 generate_ctags_cleanup() {
@@ -348,8 +287,6 @@ generate_ctags_cleanup() {
   unset generate_ctags_main
   unset generate_ctags_handle_colors
   unset generate_ctags_help
-  unset generate_ctags_print_first
-  unset generate_ctags_print_last
   unset generate_ctags_cleanup
 }
 
index 2220c778224903725d05dbe6549027c0be75db6f..7e4db0c6ef1da27519fa99f48bc1b8580e38793c 100644 (file)
@@ -81,8 +81,6 @@ install_main() {
   local enable_static_programs="yes"
   local enable_static_libraries="yes"
   local enable_includes="yes"
-  local print_line_first="yes"
-  local print_line_last="yes"
 
   if [[ $# -gt 0 ]] ; then
     t=$#
@@ -130,10 +128,6 @@ install_main() {
           verbosity="debug"
           verbose="+D"
           verbose_common="-v"
-        elif [[ ${p} == "+F" || ${p} == "++line_first_no" ]] ; then
-          print_line_first="no"
-        elif [[ ${p} == "+L" || ${p} == "++line_last_no" ]] ; then
-          print_line_last="no"
         elif [[ ${p} == "+v" || ${p} == "++version" ]] ; then
           echo ${version}
           return 0
@@ -227,11 +221,6 @@ install_main() {
     p=
   fi
 
-  if [[ ${verbosity} == "quiet" ]] ; then
-    print_line_first="no"
-    print_line_last="no"
-  fi
-
   install_handle_colors
 
   if [[ ${do_help} == "yes" ]] ; then
@@ -250,11 +239,7 @@ install_main() {
 
   if [[ ${operation_failure} == "fail-unsupported" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      install_print_first
-
       echo -e "${c_error}ERROR: The operation ${c_notice}${operation}${c_error} was not recognized.${c_reset}"
-
-      install_print_last
     fi
 
     install_cleanup
@@ -264,11 +249,7 @@ install_main() {
 
   if [[ ! -d ${path_build} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      install_print_first
-
       echo -e "${c_error}ERROR: The build path ${c_notice}${path_build}${c_error} is not a valid directory.${c_reset}"
-
-      install_print_last
     fi
 
     install_cleanup
@@ -278,11 +259,7 @@ install_main() {
 
   if [[ ${work} == "" && ${destination_prefix} != "" && ! -d ${destination_prefix} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      install_print_first
-
       echo -e "${c_error}ERROR: The destination prefix ${c_notice}${destination_prefix}${c_error} is not a valid directory.${c_reset}"
-
-      install_print_last
     fi
 
     install_cleanup
@@ -346,11 +323,7 @@ install_main() {
 
   if [[ ${work} != "" && ! -d ${work} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      install_print_first
-
       echo -e "${c_error}ERROR: The work directory ${c_notice}${work}${c_error} is not a valid directory.${c_reset}"
-
-      install_print_last
     fi
 
     install_cleanup
@@ -360,11 +333,7 @@ install_main() {
 
   if [[ ${work} == "" && -e ${destination_programs} && ! -d ${destination_programs} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      install_print_first
-
       echo -e "${c_error}ERROR: The destination bindir ${c_notice}${destination_programs}${c_error} is not a valid directory.${c_reset}"
-
-      install_print_last
     fi
 
     install_cleanup
@@ -374,11 +343,7 @@ install_main() {
 
   if [[ ${work} == "" && -e ${destination_programs_static} && ! -d ${destination_programs_static} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      install_print_first
-
       echo -e "${c_error}ERROR: The destination (${c_notice}static${c_error}) bindir ${c_notice}${destination_programs_static}${c_error} is not a valid directory.${c_reset}"
-
-      install_print_last
     fi
 
     install_cleanup
@@ -388,11 +353,7 @@ install_main() {
 
   if [[ ${work} == "" && -e ${destination_programs_shared} && ! -d ${destination_programs_shared} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      install_print_first
-
       echo -e "${c_error}ERROR: The destination (${c_notice}shared${c_error}) bindir ${c_notice}${destination_programs_shared}${c_error} is not a valid directory.${c_reset}"
-
-      install_print_last
     fi
 
     install_cleanup
@@ -402,11 +363,7 @@ install_main() {
 
   if [[ ${work} == "" && -e ${destination_includes} && ! -d ${destination_includes} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      install_print_first
-
       echo -e "${c_error}ERROR: The destination incluedir ${c_notice}${destination_includes}${c_error} is not a valid directory.${c_reset}"
-
-      install_print_last
     fi
 
     install_cleanup
@@ -416,11 +373,7 @@ install_main() {
 
   if [[ ${work} == "" && -e ${destination_libraries_static} && ! -d ${destination_libraries_static} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      install_print_first
-
       echo -e "${c_error}ERROR: The destination (${c_notice}static${c_error}) libdir ${c_notice}${destination_libraries_static}${c_error} is not a valid directory.${c_reset}"
-
-      install_print_last
     fi
 
     install_cleanup
@@ -430,11 +383,7 @@ install_main() {
 
   if [[ ${work} == "" && -e ${destination_libraries_shared} && ! -d ${destination_libraries_shared} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      install_print_first
-
       echo -e "${c_error}ERROR: The destination (${c_notice}shared${c_error}) libdir ${c_notice}${destination_libraries_shared}${c_error} is not a valid directory.${c_reset}"
-
-      install_print_last
     fi
 
     install_cleanup
@@ -444,12 +393,6 @@ install_main() {
 
   install_perform_install
 
-  if [[ ${verbosity} != "quiet" ]] ; then
-    if [[ ${failure} -eq 1 || ${verbosity} != "error" ]] ; then
-      install_print_last
-    fi
-  fi
-
   install_cleanup
 
   if [[ ${failure} -eq 1 ]] ; then
@@ -483,27 +426,23 @@ install_handle_colors() {
 
 install_help() {
 
-  install_print_first
-
   echo -e "${c_title}${public_name}${c_reset}"
   echo -e " ${c_notice}Version ${version}${c_reset}"
   echo
   echo -e "${c_highlight}${system_name}${c_reset} ${c_notice}[${c_reset} options ${c_notice}]${c_reset}"
   echo
   echo -e "${c_highlight}Options:${c_reset}"
-  echo -e " -${c_important}h${c_reset}, --${c_important}help${c_reset}           Print this help message."
-  echo -e " +${c_important}C${c_reset}, ++${c_important}copyright${c_reset}      Print the copyright."
-  echo -e " +${c_important}d${c_reset}, ++${c_important}dark${c_reset}           Output using colors that show up better on dark backgrounds."
-  echo -e " +${c_important}l${c_reset}, ++${c_important}light${c_reset}          Output using colors that show up better on light backgrounds."
-  echo -e " +${c_important}n${c_reset}, ++${c_important}no_color${c_reset}       Do not print using color."
-  echo -e " +${c_important}Q${c_reset}, ++${c_important}quiet${c_reset}          Decrease verbosity, silencing most print.to."
-  echo -e " +${c_important}E${c_reset}, ++${c_important}error${c_reset}          Decrease verbosity, using only error print.to."
-  echo -e " +${c_important}N${c_reset}, ++${c_important}normal${c_reset}         Set verbosity to normal."
-  echo -e " +${c_important}V${c_reset}, ++${c_important}verbose${c_reset}        Increase verbosity beyond normal print.to."
-  echo -e " +${c_important}D${c_reset}, ++${c_important}debug${c_reset}          Enable debugging, significantly increasing verbosity beyond normal print.to."
-  echo -e " +${c_important}v${c_reset}, ++${c_important}version${c_reset}        Print only the version number."
-  echo -e " +${c_important}F${c_reset}, ++${c_important}line_first_no${c_reset}  Disable printing of first line."
-  echo -e " +${c_important}L${c_reset}, ++${c_important}line_last_no${c_reset}   Disable printing of last line."
+  echo -e " -${c_important}h${c_reset}, --${c_important}help${c_reset}       Print this help message."
+  echo -e " +${c_important}C${c_reset}, ++${c_important}copyright${c_reset}  Print the copyright."
+  echo -e " +${c_important}d${c_reset}, ++${c_important}dark${c_reset}       Output using colors that show up better on dark backgrounds."
+  echo -e " +${c_important}l${c_reset}, ++${c_important}light${c_reset}      Output using colors that show up better on light backgrounds."
+  echo -e " +${c_important}n${c_reset}, ++${c_important}no_color${c_reset}   Do not print using color."
+  echo -e " +${c_important}Q${c_reset}, ++${c_important}quiet${c_reset}      Decrease verbosity, silencing most print.to."
+  echo -e " +${c_important}E${c_reset}, ++${c_important}error${c_reset}      Decrease verbosity, using only error print.to."
+  echo -e " +${c_important}N${c_reset}, ++${c_important}normal${c_reset}     Set verbosity to normal."
+  echo -e " +${c_important}V${c_reset}, ++${c_important}verbose${c_reset}    Increase verbosity beyond normal print.to."
+  echo -e " +${c_important}D${c_reset}, ++${c_important}debug${c_reset}      Enable debugging, significantly increasing verbosity beyond normal print.to."
+  echo -e " +${c_important}v${c_reset}, ++${c_important}version${c_reset}    Print only the version number."
   echo
   echo -e "${c_highlight}Install Options:${c_reset}"
   echo -e " -${c_important}b${c_reset}, --${c_important}build${c_reset}       Custom build directory."
@@ -534,21 +473,15 @@ install_help() {
   echo -e " --${c_important}libraries-shared${c_reset}          Custom destination for shared libraries."
   echo -e " --${c_important}programs-static${c_reset}           Custom destination for static programs."
   echo -e " --${c_important}programs-shared${c_reset}           Custom destination for shared programs."
-
-  install_print_last
 }
 
 install_copyright() {
 
-  install_print_first
-
   echo "Copyright Â© 2007-2024 Kevin Day."
   echo
   echo "Source code license lgpl-2.1-or-later."
   echo "Standard and specification license open-standard-license-1.0-or-later."
   echo "Documentation license cc-by-sa-4.0."
-
-  install_print_last
 }
 
 install_perform_install() {
@@ -588,8 +521,6 @@ install_perform_install() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        install_print_first
-
         echo -e "${c_error}ERROR: Failed to create install ${message} ${c_notice}${destination_prefix}${c_error}.${c_reset}"
       fi
 
@@ -603,8 +534,6 @@ install_perform_install() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          install_print_first
-
           echo -e "${c_error}ERROR: Failed to create install ${message} ${c_notice}${destination_programs}${c_error}.${c_reset}"
         fi
 
@@ -617,8 +546,6 @@ install_perform_install() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          install_print_first
-
           echo -e "${c_error}ERROR: Failed to create install ${message} ${c_notice}${destination_programs_shared}${c_error}.${c_reset}"
         fi
 
@@ -631,8 +558,6 @@ install_perform_install() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          install_print_first
-
           echo -e "${c_error}ERROR: Failed to create install ${message} ${c_notice}${destination_programs_static}${c_error}.${c_reset}"
         fi
 
@@ -647,8 +572,6 @@ install_perform_install() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          install_print_first
-
           echo -e "${c_error}ERROR: Failed to create install ${message} ${c_notice}${destination_libraries}${c_error}.${c_reset}"
         fi
 
@@ -661,8 +584,6 @@ install_perform_install() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          install_print_first
-
           echo -e "${c_error}ERROR: Failed to create ${message} ${c_notice}${destination_libraries_shared}${c_error}.${c_reset}"
         fi
 
@@ -675,8 +596,6 @@ install_perform_install() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          install_print_first
-
           echo -e "${c_error}ERROR: Failed to create ${message} ${c_notice}${destination_libraries_static}${c_error}.${c_reset}"
         fi
 
@@ -691,8 +610,6 @@ install_perform_install() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          install_print_first
-
           echo -e "${c_error}ERROR: Failed to create ${message} ${c_notice}${destination_includes}${c_error}.${c_reset}"
         fi
 
@@ -707,8 +624,6 @@ install_perform_install() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          install_print_first
-
           echo -e "${c_error}ERROR: Failed to create ${message} ${c_notice}${destination_documentation}${c_error}.${c_reset}"
         fi
 
@@ -723,8 +638,6 @@ install_perform_install() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          install_print_first
-
           echo -e "${c_error}ERROR: Failed to create ${message} ${c_notice}${destination_settings}${c_error}.${c_reset}"
         fi
 
@@ -747,8 +660,7 @@ install_perform_install() {
 
     if [[ ${file} != "" ]] ; then
       if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-        install_print_first_or_always
-
+        echo
         echo -e "${c_highlight}Installing Includes to: ${c_reset}${c_notice}${destination_includes}${c_reset}${c_highlight}.${c_reset}"
       fi
 
@@ -756,8 +668,6 @@ install_perform_install() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          install_print_first
-
           echo -e "${c_error}ERROR: Failed to copy include files from ${c_notice}${path_build}${path_includes}${c_error} to ${c_notice}${destination_includes}${c_error}.${c_reset}"
         fi
 
@@ -781,8 +691,7 @@ install_perform_install() {
 
       if [[ ${file} != "" ]] ; then
         if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-          install_print_first_or_always
-
+          echo
           echo -e "${c_highlight}Installing (${c_notice}static${c_highlight}) Libraries to: ${c_reset}${c_notice}${destination_libraries_static}${c_reset}${c_highlight}.${c_reset}"
         fi
 
@@ -790,8 +699,6 @@ install_perform_install() {
 
         if [[ ${?} -ne 0 ]] ; then
           if [[ ${verbosity} != "quiet" ]] ; then
-            install_print_first
-
             echo -e "${c_error}ERROR: Failed to copy (${c_notice}static${c_error}) library files from ${c_notice}${path_build}${path_libraries}${path_static}${c_error} to ${c_notice}${destination_libraries_static}${c_error}.${c_reset}"
           fi
 
@@ -814,8 +721,7 @@ install_perform_install() {
 
       if [[ ${file} != "" ]] ; then
         if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-          install_print_first_or_always
-
+          echo
           echo -e "${c_highlight}Installing (${c_notice}shared${c_highlight}) Libraries to: ${c_reset}${c_notice}${destination_libraries_shared}${c_reset}${c_highlight}.${c_reset}"
         fi
 
@@ -823,8 +729,6 @@ install_perform_install() {
 
         if [[ ${?} -ne 0 ]] ; then
           if [[ ${verbosity} != "quiet" ]] ; then
-            install_print_first
-
             echo -e "${c_error}ERROR: Failed to copy (${c_notice}shared${c_error}) library files from ${c_notice}${path_build}${path_libraries}${path_shared}${c_error} to ${c_notice}${destination_libraries_shared}${c_error}.${c_reset}"
           fi
 
@@ -849,8 +753,7 @@ install_perform_install() {
 
       if [[ ${file} != "" && ${enable_static_programs} == "yes" ]] ; then
         if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-          install_print_first_or_always
-
+          echo
           echo -e "${c_highlight}Installing (${c_notice}static${c_highlight}) Programs to: ${c_reset}${c_notice}${destination_programs_static}${c_reset}${c_highlight}.${c_reset}"
         fi
 
@@ -858,8 +761,6 @@ install_perform_install() {
 
         if [[ ${?} -ne 0 ]] ; then
           if [[ ${verbosity} != "quiet" ]] ; then
-            install_print_first
-
             echo -e "${c_error}ERROR: failed to copy (${c_notice}static${c_error}) program files from ${c_notice}${path_build}${path_programs}${path_static}${c_error} to ${c_notice}${destination_programs_static}${c_error}.${c_reset}"
           fi
 
@@ -882,8 +783,7 @@ install_perform_install() {
 
       if [[ ${file} != "" ]] ; then
         if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-          install_print_first_or_always
-
+          echo
           echo -e "${c_highlight}Installing (${c_notice}shared${c_highlight}) Programs to: ${c_reset}${c_notice}${destination_programs_shared}${c_reset}${c_highlight}.${c_reset}"
         fi
 
@@ -891,8 +791,6 @@ install_perform_install() {
 
         if [[ ${?} -ne 0 ]] ; then
           if [[ ${verbosity} != "quiet" ]] ; then
-            install_print_first
-
             echo -e "${c_error}ERROR: failed to copy (${c_notice}shared${c_error}) program files from ${c_notice}${path_build}${path_programs}${path_shared}${c_error} to ${c_notice}${destination_programs_shared}${c_error}.${c_reset}"
           fi
 
@@ -916,8 +814,7 @@ install_perform_install() {
 
     if [[ ${file} != "" ]] ; then
       if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-        install_print_first_or_always
-
+        echo
         echo -e "${c_highlight}Installing Settings to: ${c_reset}${c_notice}${destination_settings}${c_reset}${c_highlight}.${c_reset}"
       fi
 
@@ -925,8 +822,6 @@ install_perform_install() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          install_print_first
-
           echo -e "${c_error}ERROR: failed to copy settings files from ${c_notice}${path_build}${path_settings}${c_error} to ${c_notice}${destination_settings}${c_error}.${c_reset}"
         fi
 
@@ -949,8 +844,7 @@ install_perform_install() {
 
     if [[ ${file} != "" ]] ; then
       if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-        install_print_first_or_always
-
+        echo
         echo -e "${c_highlight}Installing Documentation to: ${c_reset}${c_notice}${destination_documentation}${c_reset}${c_highlight}.${c_reset}"
       fi
 
@@ -958,8 +852,6 @@ install_perform_install() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          install_print_first
-
           echo -e "${c_error}ERROR: failed to copy documentation files from ${c_notice}${path_build}${path_documentation}${c_error} to ${c_notice}${destination_documentation}${c_error}.${c_reset}"
         fi
 
@@ -975,35 +867,6 @@ install_perform_install() {
   return 0
 }
 
-install_print_first() {
-
-  if [[ ${print_line_first} == "yes" ]] ; then
-    echo
-
-    print_line_first=
-  fi
-}
-
-install_print_first_or_always() {
-
-  if [[ ${print_line_first} == "yes" ]] ; then
-    echo
-
-    print_line_first=
-  elif [[ ${print_line_first} == "no" ]] ; then
-    print_line_first=
-  else
-    echo
-  fi
-}
-
-install_print_last() {
-
-  if [[ ${print_line_last} == "yes" ]] ; then
-    echo
-  fi
-}
-
 install_cleanup() {
 
   unset install_copyright
@@ -1011,9 +874,6 @@ install_cleanup() {
   unset install_handle_colors
   unset install_help
   unset install_perform_install
-  unset install_print_first
-  unset install_print_first_or_always
-  unset install_print_last
   unset install_cleanup
 }
 
index 5f06e154e625bd4c25da96d69fb43b795b9caba7..9d9d4c9d34b385c73f37b0e2c036b3bddfb83c23 100644 (file)
@@ -53,8 +53,6 @@ package_main() {
   local path_destination=package/
   local path_sources=./
   local prepend=
-  local print_line_first="yes"
-  local print_line_last="yes"
   local verbosity=normal
   local verbose=
   local verbose_common=
@@ -106,10 +104,6 @@ package_main() {
           verbosity="debug"
           verbose="+D"
           verbose_common="-v"
-        elif [[ ${p} == "+F" || ${p} == "++line_first_no" ]] ; then
-          print_line_first="no"
-        elif [[ ${p} == "+L" || ${p} == "++line_last_no" ]] ; then
-          print_line_last="no"
         elif [[ ${p} == "+v" || ${p} == "++version" ]] ; then
           echo $version
           return 0
@@ -159,11 +153,6 @@ package_main() {
     p=
   fi
 
-  if [[ ${verbosity} == "quiet" ]] ; then
-    print_line_first="no"
-    print_line_last="no"
-  fi
-
   package_handle_colors
 
   if [[ ${do_help} == "yes" ]] ; then
@@ -182,11 +171,7 @@ package_main() {
 
   if [[ ${operation_failure} == "fail-multiple" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      package_print_first
-
       echo -e "${c_error}ERROR: Only one operation may be specified at a time.${c_reset}"
-
-      package_print_last
     fi
 
     package_cleanup
@@ -205,11 +190,7 @@ package_main() {
 
       if [[ ! -f build/stand_alone/${i}.settings ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Unknown or unsupported stand alone program '${c_notice}${i}${c_error}'.${c_reset}"
-
-          package_print_last
         fi
 
         package_cleanup
@@ -231,11 +212,7 @@ package_main() {
   if [[ ${operation} == "build" || ${operation} == "rebuild" ]] ; then
     if [[ ! -d ${path_build} ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Build directory '${c_notice}${path_build}${c_error}' is invalid or missing.${c_reset}"
-
-        package_print_last
       fi
 
       package_cleanup
@@ -248,11 +225,7 @@ package_main() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Package directory '${c_notice}${path_destination}${c_error}' is invalid or could not be created.${c_reset}"
-
-          package_print_last
         fi
 
         package_cleanup
@@ -263,11 +236,7 @@ package_main() {
 
     if [[ ! -d ${path_sources} ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Sources directory '${c_notice}${path_sources}${c_error}' is invalid or missing.${c_reset}"
-
-        package_print_last
       fi
 
       package_cleanup
@@ -277,11 +246,7 @@ package_main() {
 
     if [[ ! -d ${path_sources}level_0/ ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Build sources directory '${c_notice}${path_sources}level_0/${c_error}' is invalid or missing.${c_reset}"
-
-        package_print_last
       fi
 
       package_cleanup
@@ -291,11 +256,7 @@ package_main() {
 
     if [[ ! -d ${path_sources}level_1/ ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Build sources directory '${c_notice}${path_sources}level_1/${c_error}' is invalid or missing.${c_reset}"
-
-        package_print_last
       fi
 
       package_cleanup
@@ -305,11 +266,7 @@ package_main() {
 
     if [[ ! -d ${path_sources}level_2/ ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Build sources directory '${c_notice}${path_sources}level_2/${c_error}' is invalid or missing.${c_reset}"
-
-        package_print_last
       fi
 
       package_cleanup
@@ -319,11 +276,7 @@ package_main() {
 
     if [[ ! -d ${path_sources}level_3/ ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Build sources directory '${c_notice}${path_sources}level_3/${c_error}' is invalid or missing.${c_reset}"
-
-        package_print_last
       fi
 
       package_cleanup
@@ -385,11 +338,7 @@ package_main() {
   elif [[ ${operation} == "dependencies" ]] ; then
     if [[ ! -d ${path_sources} ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Sources directory '${c_notice}${path_sources}${c_error}' is invalid or missing.${c_reset}"
-
-        package_print_last
       fi
 
       package_cleanup
@@ -401,11 +350,7 @@ package_main() {
   elif [[ ${operation} == "clean" ]] ; then
     if [[ ! -d ${path_destination} ]] ; then
       if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-        package_print_first
-
         echo -e "${c_warning}WARNING: Package directory '${c_notice}${path_destination}${c_error}' does not exist, there is nothing to clean.${c_reset}"
-
-        package_print_last
       fi
 
       package_cleanup
@@ -416,11 +361,7 @@ package_main() {
     package_operation_clean
   elif [[ ${operation} == "" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      package_print_first
-
       echo -e "${c_error}ERROR: No operation was given.${c_reset}"
-
-      package_print_last
     fi
 
     package_cleanup
@@ -428,11 +369,7 @@ package_main() {
     return 1
   else
     if [[ ${verbosity} != "quiet" ]] ; then
-      package_print_first
-
       echo -e "${c_error}ERROR: The operation ${c_notice}${operation}${c_error} was not recognized.${c_reset}"
-
-      package_print_last
     fi
 
     package_cleanup
@@ -440,12 +377,6 @@ package_main() {
     return 1
   fi
 
-  if [[ ${verbosity} != "quiet" ]] ; then
-    if [[ ${failure} -eq 1 || ${verbosity} != "error" ]] ; then
-      package_print_last
-    fi
-  fi
-
   package_cleanup
 
   if [[ ${failure} -eq 1 ]] ; then
@@ -479,8 +410,6 @@ package_handle_colors() {
 
 package_help() {
 
-  package_print_first
-
   echo -e "${c_title}${public_name}${c_reset}"
   echo -e " ${c_notice}Version ${version}${c_reset}"
   echo
@@ -491,19 +420,17 @@ package_help() {
   echo -e " ${c_important}rebuild${c_reset}       Delete all built packages then build the package."
   echo
   echo -e "${c_highlight}Options:${c_reset}"
-  echo -e " -${c_important}h${c_reset}, --${c_important}help${c_reset}           Print this help message."
-  echo -e " +${c_important}C${c_reset}, ++${c_important}copyright${c_reset}      Print the copyright."
-  echo -e " +${c_important}d${c_reset}, ++${c_important}dark${c_reset}           Output using colors that show up better on dark backgrounds."
-  echo -e " +${c_important}l${c_reset}, ++${c_important}light${c_reset}          Output using colors that show up better on light backgrounds."
-  echo -e " +${c_important}n${c_reset}, ++${c_important}no_color${c_reset}       Do not print using color."
-  echo -e " +${c_important}Q${c_reset}, ++${c_important}quiet${c_reset}          Decrease verbosity, silencing most print.to."
-  echo -e " +${c_important}E${c_reset}, ++${c_important}error${c_reset}          Decrease verbosity, using only error print.to."
-  echo -e " +${c_important}N${c_reset}, ++${c_important}normal${c_reset}         Set verbosity to normal."
-  echo -e " +${c_important}V${c_reset}, ++${c_important}verbose${c_reset}        Increase verbosity beyond normal print.to."
-  echo -e " +${c_important}D${c_reset}, ++${c_important}debug${c_reset}          Enable debugging, significantly increasing verbosity beyond normal print.to."
-  echo -e " +${c_important}v${c_reset}, ++${c_important}version${c_reset}        Print only the version number."
-  echo -e " +${c_important}F${c_reset}, ++${c_important}line_first_no${c_reset}  Disable printing of first line."
-  echo -e " +${c_important}L${c_reset}, ++${c_important}line_last_no${c_reset}   Disable printing of last line."
+  echo -e " -${c_important}h${c_reset}, --${c_important}help${c_reset}       Print this help message."
+  echo -e " +${c_important}C${c_reset}, ++${c_important}copyright${c_reset}  Print the copyright."
+  echo -e " +${c_important}d${c_reset}, ++${c_important}dark${c_reset}       Output using colors that show up better on dark backgrounds."
+  echo -e " +${c_important}l${c_reset}, ++${c_important}light${c_reset}      Output using colors that show up better on light backgrounds."
+  echo -e " +${c_important}n${c_reset}, ++${c_important}no_color${c_reset}   Do not print using color."
+  echo -e " +${c_important}Q${c_reset}, ++${c_important}quiet${c_reset}      Decrease verbosity, silencing most print.to."
+  echo -e " +${c_important}E${c_reset}, ++${c_important}error${c_reset}      Decrease verbosity, using only error print.to."
+  echo -e " +${c_important}N${c_reset}, ++${c_important}normal${c_reset}     Set verbosity to normal."
+  echo -e " +${c_important}V${c_reset}, ++${c_important}verbose${c_reset}    Increase verbosity beyond normal print.to."
+  echo -e " +${c_important}D${c_reset}, ++${c_important}debug${c_reset}      Enable debugging, significantly increasing verbosity beyond normal print.to."
+  echo -e " +${c_important}v${c_reset}, ++${c_important}version${c_reset}    Print only the version number."
   echo
   echo -e "${c_highlight}Package Options:${c_reset}"
   echo -e " -${c_important}d${c_reset}, --${c_important}destination${c_reset}  Specify a custom package destination directory."
@@ -515,20 +442,15 @@ package_help() {
   echo -e " -${c_important}p${c_reset}, --${c_important}program${c_reset}      Build program packages (level 3)."
   echo -e " -${c_important}s${c_reset}, --${c_important}sources${c_reset}      Specify a custom sources directory."
   echo -e " -${c_important}S${c_reset}, --${c_important}stand_alone${c_reset}  Build a specified program package as stand alone."
-  echo
 }
 
 package_copyright() {
 
-  package_print_first
-
   echo "Copyright Â© 2007-2024 Kevin Day."
   echo
   echo "Source code license lgpl-2.1-or-later."
   echo "Standard and specification license open-standard-license-1.0-or-later."
   echo "Documentation license cc-by-sa-4.0."
-
-  package_print_last
 }
 
 package_create_base_files() {
@@ -538,8 +460,6 @@ package_create_base_files() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to create directory ${c_notice}${package}${c_error}.${c_reset}"
       fi
 
@@ -552,8 +472,6 @@ package_create_base_files() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to copy directory ${c_notice}${path_build}documents${c_error} to ${c_notice}${package}${c_error}.${c_reset}"
       fi
 
@@ -567,8 +485,6 @@ package_create_base_files() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to copy directory ${c_notice}${path_build}licenses${c_error} to ${c_notice}${package}${c_error}.${c_reset}"
         fi
 
@@ -579,8 +495,6 @@ package_create_base_files() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to copy directory ${c_notice}${path_build}../licenses${c_error} to ${c_notice}${package}${c_error}.${c_reset}"
         fi
 
@@ -588,8 +502,6 @@ package_create_base_files() {
       fi
     else
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Neither directory ${c_notice}${path_build}licenses${c_error} nor ${c_notice}${path_build}../licenses${c_error} can be found or are invalid.${c_reset}"
       fi
 
@@ -602,8 +514,6 @@ package_create_base_files() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to copy script ${c_notice}${path_build}bootstrap.sh${c_error} to ${c_notice}${package}${c_error}.${c_reset}"
       fi
 
@@ -615,8 +525,6 @@ package_create_base_files() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to set executable permissions on script ${c_notice}${package}bootstrap.sh${c_error}.${c_reset}"
         fi
 
@@ -629,8 +537,6 @@ package_create_base_files() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to copy script ${c_notice}${path_build}install.sh${c_error} to ${c_notice}${package}${c_error}.${c_reset}"
         fi
 
@@ -643,8 +549,6 @@ package_create_base_files() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to set executable permissions on script ${c_notice}${package}install.sh${c_error}.${c_reset}"
         fi
 
@@ -691,15 +595,12 @@ package_dependencies_individual() {
     level_current="$(echo ${directory} | grep -o '\<level_[[:digit:]]/' | sed -e 's|level_||' -e 's|/$||')"
 
     if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-      package_print_first_or_always
-
+      echo
       echo -e "${c_highlight}Building Dependencies for ${c_reset}${c_notice}${name}${c_reset}${c_highlight}.${c_reset}"
     fi
 
     if [[ ! -d ${directory}/data/build/ ]] ; then
       if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-        package_print_first
-
         echo -e "${c_warning}WARNING: The project build directory ${c_notice}${dependency_file}${c_warning} is not found.${c_reset}"
       fi
 
@@ -730,14 +631,10 @@ package_dependencies_individual() {
 
         if [[ $dependency_files == "yes" && "${directory}/data/build/dependencies" != ${dependency_file} ]] ; then
           if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-            package_print_first
-
             echo -e "${c_warning}WARNING: The dependency file ${c_notice}${dependency_file}${c_warning} is not found.${c_reset}"
           fi
         elif [[ $dependency_files == "no" && "${directory}/data/build/dependencies.*" != ${dependency_file} ]] ; then
           if [[ ${verbosity} != "quiet" ]] ; then
-            package_print_first
-
             echo -e "${c_error}ERROR: Cannot build dependencies, failed to find ${c_notice}${dependency_file}${c_error} file(s).${c_reset}"
           fi
         fi
@@ -753,8 +650,6 @@ package_dependencies_individual() {
 
       if [[ ! -f ${directory}/data/build/settings${dependency_suffix} ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Cannot build dependencies for ${c_reset}${c_notice}${name}${c_reset}${c_error}, failed to find ${c_notice}${directory}/data/build/settings${dependency_suffix}${c_error}.${c_reset}"
         fi
 
@@ -787,8 +682,6 @@ package_dependencies_individual() {
           level=level_2
         else
           if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-            package_print_first
-
             echo -e "${c_warning}WARNING: Failed to detect level for dependency ${c_notice}${dependency}${c_warning}.${c_reset}"
           fi
 
@@ -797,8 +690,6 @@ package_dependencies_individual() {
 
         if [[ ! -d ${path_sources}${level}/${dependency}/data/build/ ]] ; then
           if [[ ${verbosity} != "quiet" ]] ; then
-            package_print_first
-
             echo -e "${c_error}ERROR: Failed to find dependency data directory ${c_notice}${path_sources}${level}/${dependency}/data/build/${c_error}.${c_reset}"
           fi
 
@@ -820,8 +711,6 @@ package_dependencies_individual() {
             sub_level=level_1
           else
             if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-              package_print_first
-
               echo -e "${c_warning}WARNING: Failed to detect level for sub-dependency ${c_notice}${sub_dependency}${c_warning}.${c_reset}"
             fi
 
@@ -830,8 +719,6 @@ package_dependencies_individual() {
 
           if [[ ! -d ${path_sources}${sub_level}/${sub_dependency}/data/build/ ]] ; then
             if [[ ${verbosity} != "quiet" ]] ; then
-              package_print_first
-
               echo -e "${c_error}ERROR: Failed to find dependency data directory ${c_notice}${path_sources}${sub_level}/${sub_dependency}/data/build/${c_error}.${c_reset}"
             fi
 
@@ -851,8 +738,6 @@ package_dependencies_individual() {
               sub_sub_level=level_0
             else
               if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-                package_print_first
-
                 echo -e "${c_warning}WARNING: Failed to detect level for sub-sub-dependency ${c_notice}${sub_sub_dependency}${c_warning}.${c_reset}"
               fi
 
@@ -907,8 +792,6 @@ package_dependencies_individual() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to update settings file ${c_notice}${settings}${c_error}.${c_reset}"
         fi
 
@@ -924,8 +807,6 @@ package_dependencies_individual() {
 
         if [[ ${?} -ne 0 ]] ; then
           if [[ ${verbosity} != "quiet" ]] ; then
-            package_print_first
-
             echo -e "${c_error}ERROR: Failed to update settings file ${c_notice}${settings}${c_error}.${c_reset}"
           fi
 
@@ -939,8 +820,6 @@ package_dependencies_individual() {
 
         if [[ ${?} -ne 0 ]] ; then
           if [[ ${verbosity} != "quiet" ]] ; then
-            package_print_first
-
             echo -e "${c_error}ERROR: Failed to update settings file ${c_notice}${settings}${c_error}.${c_reset}"
           fi
 
@@ -972,8 +851,6 @@ package_dependencies_individual_append() {
   settings=${path_sources}${level}/${dependency}/data/build/settings
   if [[ ! -f ${settings} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      package_print_first
-
       echo -e "${c_error}ERROR: Failed to find dependency settings file ${c_notice}${settings}${c_error}.${c_reset}"
     fi
 
@@ -1075,8 +952,7 @@ package_dependencies_level_update() {
   local monolithic_headers_threaded=
 
   if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-    package_print_first_or_always
-
+    echo
     echo -e "${c_highlight}Building Dependencies: ${c_notice}${level}${c_highlight}.${c_reset}"
   fi
 
@@ -1087,8 +963,6 @@ package_dependencies_level_update() {
     settings=${directory}/data/build/settings
     if [[ ! -f ${settings} ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to find settings file ${c_notice}${settings}${c_error}.${c_reset}"
       fi
 
@@ -1128,8 +1002,6 @@ package_dependencies_level_update() {
 
   if [[ ! -f ${settings} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      package_print_first
-
       echo -e "${c_error}ERROR: Failed to find settings file ${c_notice}${settings}${c_error}.${c_reset}"
     fi
 
@@ -1143,8 +1015,6 @@ package_dependencies_level_update() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      package_print_first
-
       echo -e "${c_error}ERROR: Failed to update libraries for settings file ${c_notice}${settings}${c_error}.${c_reset}"
     fi
 
@@ -1166,8 +1036,6 @@ package_dependencies_level_update() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      package_print_first
-
       echo -e "${c_error}ERROR: Failed to update libraries for settings file ${c_notice}${settings}${c_error}.${c_reset}"
     fi
 
@@ -1189,8 +1057,6 @@ package_dependencies_level_update() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      package_print_first
-
       echo -e "${c_error}ERROR: Failed to update headers for settings file ${c_notice}${settings}${c_error}.${c_reset}"
     fi
 
@@ -1229,8 +1095,7 @@ package_dependencies_monolithic() {
   local monolithic_headers_threaded=""
 
   if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-    package_print_first_or_always
-
+    echo
     echo -e "${c_highlight}Building Dependencies: ${c_notice}monolithic${c_highlight}.${c_reset}"
   fi
 
@@ -1339,8 +1204,6 @@ package_dependencies_monolithic() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      package_print_first
-
       echo -e "${c_error}ERROR: Failed to update libraries for settings file ${c_notice}${settings}${c_error}.${c_reset}"
     fi
 
@@ -1372,8 +1235,6 @@ package_dependencies_monolithic() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      package_print_first
-
       echo -e "${c_error}ERROR: Failed to update headers for settings file ${c_notice}${settings}${c_error}.${c_reset}"
     fi
 
@@ -1389,8 +1250,7 @@ package_operation_clean() {
   local i=
 
   if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-    package_print_first_or_always
-
+    echo
     echo -e "${c_highlight}Cleaning Package Directory '${c_reset}${c_notice}${path_destination}${c_reset}${c_highlight}'.${c_reset}"
   fi
 
@@ -1406,8 +1266,7 @@ package_operation_clean() {
     fi
 
     if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-      package_print_first_or_always
-
+      echo
       echo "Cleaned '${path_destination}individual'."
     fi
   fi
@@ -1424,8 +1283,7 @@ package_operation_clean() {
     fi
 
     if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-      package_print_first_or_always
-
+      echo
       echo "Cleaned '${path_destination}level'."
     fi
   fi
@@ -1442,8 +1300,7 @@ package_operation_clean() {
     fi
 
     if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-      package_print_first_or_always
-
+      echo
       echo "Cleaned '${path_destination}monolithic'."
     fi
   fi
@@ -1460,8 +1317,7 @@ package_operation_clean() {
     fi
 
     if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-      package_print_first_or_always
-
+      echo
       echo "Cleaned '${path_destination}program'."
     fi
   fi
@@ -1482,8 +1338,7 @@ package_operation_clean() {
         fi
 
         if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-          package_print_first_or_always
-
+          echo
           echo "Cleaned '${path_destination}stand_alone/${prepend}${i}-${version}/'."
         fi
       done
@@ -1491,8 +1346,7 @@ package_operation_clean() {
       rmdir ${verbose_common} --ignore-fail-on-non-empty ${path_destination}stand_alone
 
       if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-        package_print_first_or_always
-
+        echo
         echo "Cleaned '${path_destination}stand_alone'."
       fi
     fi
@@ -1508,8 +1362,6 @@ package_operation_copy_package() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to copy the data directory ${c_notice}${package}sources/data${c_error} to ${c_notice}${package}${c_error}.${c_reset}"
       fi
 
@@ -1522,8 +1374,6 @@ package_operation_copy_package() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to remove directory ${c_notice}${package}sources/data${c_error}.${c_reset}"
       fi
 
@@ -1540,8 +1390,6 @@ package_operation_copy_package() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to move sources documents directory ${c_notice}${path_sources}sources/documents${c_error} to ${c_notice}${package}${c_error}.${c_reset}"
       fi
 
@@ -1554,8 +1402,6 @@ package_operation_copy_package() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to remove sources documents directory ${c_notice}${path_sources}sources/documents${c_error} to ${c_notice}${package}${c_error}.${c_reset}"
       fi
 
@@ -1570,8 +1416,6 @@ package_operation_copy_package() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to move sources licenses directory ${c_notice}${path_sources}sources/licenses${c_error} to ${c_notice}${package}${c_error}.${c_reset}"
       fi
 
@@ -1584,8 +1428,6 @@ package_operation_copy_package() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to remove sources licenses directory ${c_notice}${path_sources}sources/licenses${c_error} to ${c_notice}${package}${c_error}.${c_reset}"
       fi
 
@@ -1600,8 +1442,6 @@ package_operation_copy_package() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to move sources specifications directory ${c_notice}${path_sources}sources/specifications${c_error} to ${c_notice}${package}${c_error}.${c_reset}"
       fi
 
@@ -1614,8 +1454,6 @@ package_operation_copy_package() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to remove sources specifications directory ${c_notice}${path_sources}sources/specifications${c_error} to ${c_notice}${package}${c_error}.${c_reset}"
       fi
 
@@ -1630,8 +1468,6 @@ package_operation_copy_package() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to move sources tests directory ${c_notice}${path_sources}sources/tests${c_error} to ${c_notice}${package}${c_error}.${c_reset}"
       fi
 
@@ -1644,8 +1480,6 @@ package_operation_copy_package() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to remove sources tests directory ${c_notice}${path_sources}sources/tests${c_error} to ${c_notice}${package}${c_error}.${c_reset}"
       fi
 
@@ -1678,8 +1512,6 @@ package_operation_create_config_stubs() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to insert the config.c into ${c_notice}${package}data/build/settings${c_error}.${c_reset}"
         fi
 
@@ -1692,8 +1524,6 @@ package_operation_create_config_stubs() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to insert the config.c into ${c_notice}${package}data/build/settings${c_error}.${c_reset}"
         fi
 
@@ -1709,8 +1539,6 @@ package_operation_create_config_stubs() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to create the config.c at ${c_notice}${package}sources/c/config.c${c_error}.${c_reset}"
         fi
 
@@ -1725,8 +1553,6 @@ package_operation_create_config_stubs() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to insert the config.cpp into ${c_notice}${package}data/build/settings${c_error}.${c_reset}"
         fi
 
@@ -1739,8 +1565,6 @@ package_operation_create_config_stubs() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to insert the config.cpp into ${c_notice}${package}data/build/settings${c_error}.${c_reset}"
         fi
 
@@ -1756,8 +1580,6 @@ package_operation_create_config_stubs() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to create the config.cpp at ${c_notice}${package}sources/c++/config.cpp${c_error}.${c_reset}"
         fi
 
@@ -1774,8 +1596,6 @@ package_operation_create_config_stubs() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to create the config.cpp at ${c_notice}${package}sources/c/config.h${c_error}.${c_reset}"
         fi
 
@@ -1788,8 +1608,6 @@ package_operation_create_config_stubs() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to create the config.cpp at ${c_notice}${package}sources/c++/config.h${c_error}.${c_reset}"
         fi
 
@@ -1838,8 +1656,6 @@ package_operation_individual() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to create directory ${c_notice}${path_destination}individual${c_error}.${c_reset}"
       fi
 
@@ -1853,8 +1669,7 @@ package_operation_individual() {
     package="${path_destination}individual/${prepend}${name}-${version}/"
 
     if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-      package_print_first_or_always
-
+      echo
       echo -e "${c_highlight}Packaging Project${c_reset} (individual) ${c_notice}${prepend}${name}-${version}${c_reset}${c_highlight}.${c_reset}"
     fi
 
@@ -1864,8 +1679,6 @@ package_operation_individual() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to copy sources directory ${c_notice}${directory}${c_error} to ${c_notice}${package}sources${c_error}.${c_reset}"
       fi
 
@@ -1900,15 +1713,12 @@ package_operation_level() {
     package="${path_destination}level/${prepend}${name}-${version}/"
 
     if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-      package_print_first_or_always
-
+      echo
       echo -e "${c_highlight}Packaging Project${c_reset} (level) ${c_notice}${prepend}${name}-${version}${c_reset}${c_highlight}.${c_reset}"
     fi
 
     if [[ ! -d ${path_build}${level} ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Build settings directory ${c_notice}${path_build}${level}${c_error} is invalid or missing.${c_reset}"
       fi
 
@@ -1924,8 +1734,6 @@ package_operation_level() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to create directory ${c_notice}${package}data${c_error}.${c_reset}"
         fi
 
@@ -1943,8 +1751,6 @@ package_operation_level() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to move the directory ${c_notice}${path_build}${level}${c_error} as ${c_notice}${path_build}${level}build${c_error}.${c_reset}"
       fi
 
@@ -1958,8 +1764,6 @@ package_operation_level() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to create directory ${c_notice}${package}sources${c_error}.${c_reset}"
         fi
 
@@ -1975,8 +1779,6 @@ package_operation_level() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to copy files from sources directory ${c_notice}${directory}${c_error} to ${c_notice}${package}sources${c_error}.${c_reset}"
         fi
 
@@ -1989,8 +1791,6 @@ package_operation_level() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to remove directory ${c_notice}${package}sources/data/build${c_error}.${c_reset}"
         fi
 
@@ -2029,15 +1829,12 @@ package_operation_monolithic() {
   package="${path_destination}monolithic/${prepend}${name}-${version}/"
 
   if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-    package_print_first_or_always
-
+    echo
     echo -e "${c_highlight}Packaging Project${c_reset} (monolithic) ${c_notice}${prepend}${name}-${version}${c_reset}${c_highlight}.${c_reset}"
   fi
 
   if [[ ! -d ${path_build}monolithic ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      package_print_first
-
       echo -e "${c_error}ERROR: Build settings directory ${c_notice}${path_build}monolithic${c_error} is invalid or missing.${c_reset}"
     fi
 
@@ -2053,8 +1850,6 @@ package_operation_monolithic() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to create directory ${c_notice}${package}data${c_error}.${c_reset}"
       fi
 
@@ -2072,8 +1867,6 @@ package_operation_monolithic() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      package_print_first
-
       echo -e "${c_error}ERROR: Failed to move the directory ${c_notice}${path_build}${level}${c_error} as ${c_notice}${path_build}${level}build${c_error}.${c_reset}"
     fi
 
@@ -2087,8 +1880,6 @@ package_operation_monolithic() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to create directory ${c_notice}${package}sources${c_error}.${c_reset}"
       fi
 
@@ -2103,8 +1894,6 @@ package_operation_monolithic() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to create directory ${c_notice}${package}tests${c_error}.${c_reset}"
       fi
 
@@ -2128,8 +1917,6 @@ package_operation_monolithic() {
 
             if [[ ${?} -ne 0 ]] ; then
               if [[ ${verbosity} != "quiet" ]] ; then
-                package_print_first
-
                 echo -e "${c_error}ERROR: Failed to create package data directory ${c_notice}${package}data/${level}${c_error}.${c_reset}"
               fi
 
@@ -2143,8 +1930,6 @@ package_operation_monolithic() {
 
           if [[ ${?} -ne 0 ]] ; then
             if [[ ${verbosity} != "quiet" ]] ; then
-              package_print_first
-
               echo -e "${c_error}ERROR: Failed to copy files from data directory ${c_notice}${directory_sub}${c_error} to ${c_notice}${package}sources/data${level}${c_error}.${c_reset}"
             fi
 
@@ -2157,8 +1942,6 @@ package_operation_monolithic() {
 
           if [[ ${?} -ne 0 ]] ; then
             if [[ ${verbosity} != "quiet" ]] ; then
-              package_print_first
-
               echo -e "${c_error}ERROR: Failed to remove directory ${c_notice}${package}sources/data/build${c_error}.${c_reset}"
             fi
 
@@ -2172,8 +1955,6 @@ package_operation_monolithic() {
 
             if [[ ${?} -ne 0 ]] ; then
               if [[ ${verbosity} != "quiet" ]] ; then
-                package_print_first
-
                 echo -e "${c_error}ERROR: Failed to copy the data directory ${c_notice}${package}sources/data/${level}/data${c_error} to ${c_notice}${package}data/${level}${c_error}.${c_reset}"
               fi
 
@@ -2187,8 +1968,6 @@ package_operation_monolithic() {
 
           if [[ ${?} -ne 0 ]] ; then
             if [[ ${verbosity} != "quiet" ]] ; then
-              package_print_first
-
               echo -e "${c_error}ERROR: Failed to remove directory ${c_notice}${package}sources/data${c_error}.${c_reset}"
             fi
 
@@ -2202,8 +1981,6 @@ package_operation_monolithic() {
 
             if [[ ${?} -ne 0 ]] ; then
               if [[ ${verbosity} != "quiet" ]] ; then
-                package_print_first
-
                 echo -e "${c_error}ERROR: Failed to copy directory ${c_notice}${package}data/${level}/documentation${c_error} into ${c_notice}${package}data${c_error}.${c_reset}"
               fi
 
@@ -2217,8 +1994,6 @@ package_operation_monolithic() {
 
           if [[ ${?} -ne 0 ]] ; then
             if [[ ${verbosity} != "quiet" ]] ; then
-              package_print_first
-
               echo -e "${c_error}ERROR: Failed to remove directory ${c_notice}${package}data/${level}/documentation${c_error}.${c_reset}"
             fi
 
@@ -2232,8 +2007,6 @@ package_operation_monolithic() {
 
             if [[ ${?} -ne 0 ]] ; then
               if [[ ${verbosity} != "quiet" ]] ; then
-                package_print_first
-
                 echo -e "${c_error}ERROR: Failed to copy files from data directory ${c_notice}${directory_sub}${c_error} to ${c_notice}${package}sources/documents${c_error}.${c_reset}"
               fi
 
@@ -2248,8 +2021,6 @@ package_operation_monolithic() {
 
             if [[ ${?} -ne 0 ]] ; then
               if [[ ${verbosity} != "quiet" ]] ; then
-                package_print_first
-
                 echo -e "${c_error}ERROR: Failed to copy files from data directory ${c_notice}${directory_sub}${c_error} to ${c_notice}${package}sources/licenses${c_error}.${c_reset}"
               fi
 
@@ -2264,8 +2035,6 @@ package_operation_monolithic() {
 
             if [[ ${?} -ne 0 ]] ; then
               if [[ ${verbosity} != "quiet" ]] ; then
-                package_print_first
-
                 echo -e "${c_error}ERROR: Failed to copy files from data directory ${c_notice}${directory_sub}${c_error} to ${c_notice}${package}sources/specifications${c_error}.${c_reset}"
               fi
 
@@ -2280,8 +2049,6 @@ package_operation_monolithic() {
 
             if [[ ${?} -ne 0 ]] ; then
               if [[ ${verbosity} != "quiet" ]] ; then
-                package_print_first
-
                 echo -e "${c_error}ERROR: Failed to copy files from data directory ${c_notice}${directory_sub}${c_error} to ${c_notice}${package}tests${c_error}.${c_reset}"
               fi
 
@@ -2296,8 +2063,6 @@ package_operation_monolithic() {
 
             if [[ ${?} -ne 0 ]] ; then
               if [[ ${verbosity} != "quiet" ]] ; then
-                package_print_first
-
                 echo -e "${c_error}ERROR: Failed to create package sources directory ${c_notice}${package}sources/${path_name}/${level}${c_error}.${c_reset}"
               fi
 
@@ -2311,8 +2076,6 @@ package_operation_monolithic() {
 
           if [[ ${?} -ne 0 ]] ; then
             if [[ ${verbosity} != "quiet" ]] ; then
-              package_print_first
-
               echo -e "${c_error}ERROR: Failed to copy files from sources directory ${c_notice}${directory_sub}${c_error} to ${c_notice}${package}sources/${path_name}/${level}${c_error}.${c_reset}"
             fi
 
@@ -2358,8 +2121,6 @@ package_operation_program() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to create directory ${c_notice}${path_destination}program${c_error}.${c_reset}"
       fi
 
@@ -2375,8 +2136,7 @@ package_operation_program() {
     package="${path_destination}program/${prepend}${name}-${version}/"
 
     if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-      package_print_first_or_always
-
+      echo
       echo -e "${c_highlight}Packaging Project${c_reset} (program) ${c_notice}${prepend}${name}-${version}${c_reset}${c_highlight}.${c_reset}"
     fi
 
@@ -2386,8 +2146,6 @@ package_operation_program() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to copy sources directory ${c_notice}${directory}${c_error} to ${c_notice}${package}sources${c_error}.${c_reset}"
       fi
 
@@ -2431,8 +2189,6 @@ package_operation_stand_alone() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to create directory ${c_notice}${path_destination}stand_alone${c_error}.${c_reset}"
       fi
 
@@ -2448,8 +2204,7 @@ package_operation_stand_alone() {
     package="${path_destination}stand_alone/${prepend}${name}-${version}/"
 
     if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-      package_print_first_or_always
-
+      echo
       echo -e "${c_highlight}Packaging Project${c_reset} (stand_alone) ${c_notice}${prepend}${name}-${version}${c_reset}${c_highlight}.${c_reset}"
     fi
 
@@ -2465,8 +2220,6 @@ package_operation_stand_alone() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to copy sources directory ${c_notice}${directory}${c_error} to ${c_notice}${package}sources${c_error}.${c_reset}"
       fi
 
@@ -2487,8 +2240,6 @@ package_operation_stand_alone() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to copy file ${c_notice}${path_build}stand_alone/${name}.settings${c_error} to ${c_notice}${package}data/build/settings${c_error}.${c_reset}"
       fi
 
@@ -2501,8 +2252,6 @@ package_operation_stand_alone() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        package_print_first
-
         echo -e "${c_error}ERROR: Failed to copy file ${c_notice}${path_build}stand_alone/${name}.fakefile${c_error} to ${c_notice}${package}data/build/fakefile${c_error}.${c_reset}"
       fi
 
@@ -2516,8 +2265,6 @@ package_operation_stand_alone() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to create package sources directory ${c_notice}${package}sources/c/program/${name}/${c_error}.${c_reset}"
         fi
 
@@ -2546,8 +2293,6 @@ package_operation_stand_alone() {
 
           if [[ ${?} -ne 0 ]] ; then
             if [[ ${verbosity} != "quiet" ]] ; then
-              package_print_first
-
               echo -e "${c_error}ERROR: Failed to create package sources directory ${c_notice}${package}sources/${path_name}/program/${name}/${c_error}.${c_reset}"
             fi
 
@@ -2561,8 +2306,6 @@ package_operation_stand_alone() {
 
         if [[ ${?} -ne 0 ]] ; then
           if [[ ${verbosity} != "quiet" ]] ; then
-            package_print_first
-
             echo -e "${c_error}ERROR: Failed to move path ${c_notice}${path_sub}${c_error} to ${c_notice}${package}sources/${path_name}/program/${name}/${c_error}.${c_reset}"
           fi
 
@@ -2586,8 +2329,6 @@ package_operation_stand_alone() {
 
       if [[ ${?} -ne 0 ]] ; then
         if [[ ${verbosity} != "quiet" ]] ; then
-          package_print_first
-
           echo -e "${c_error}ERROR: Failed to copy file ${c_notice}${path_build}stand_alone/config.h${c_error} to ${c_notice}${package}sources/c/${c_error}.${c_reset}"
         fi
 
@@ -2631,8 +2372,6 @@ package_operation_stand_alone() {
 
               if [[ ${?} -ne 0 ]] ; then
                 if [[ ${verbosity} != "quiet" ]] ; then
-                  package_print_first
-
                   echo -e "${c_error}ERROR: Failed to create package sources directory ${c_notice}${package}sources/${path_name}/fll/${level}/${c_error}.${c_reset}"
                 fi
 
@@ -2646,8 +2385,6 @@ package_operation_stand_alone() {
 
             if [[ ${?} -ne 0 ]] ; then
               if [[ ${verbosity} != "quiet" ]] ; then
-                package_print_first
-
                 echo -e "${c_error}ERROR: Failed to copy files from sources directory ${c_notice}${directory_level}${path_name}/${c_error} to ${c_notice}${package}sources/${path_name}/fll/${level}/${c_error}.${c_reset}"
               fi
 
@@ -2676,35 +2413,6 @@ package_operation_stand_alone() {
   return 0
 }
 
-package_print_first() {
-
-  if [[ ${print_line_first} == "yes" ]] ; then
-    echo
-
-    print_line_first=
-  fi
-}
-
-package_print_first_or_always() {
-
-  if [[ ${print_line_first} == "yes" ]] ; then
-    echo
-
-    print_line_first=
-  elif [[ ${print_line_first} == "no" ]] ; then
-    print_line_first=
-  else
-    echo
-  fi
-}
-
-package_print_last() {
-
-  if [[ ${print_line_last} == "yes" ]] ; then
-    echo
-  fi
-}
-
 package_cleanup() {
 
   unset package_copyright
@@ -2727,9 +2435,6 @@ package_cleanup() {
   unset package_operation_monolithic
   unset package_operation_program
   unset package_operation_stand_alone
-  unset package_print_first
-  unset package_print_first_or_always
-  unset package_print_last
   unset package_cleanup
 }
 
index 4a12497a20686ddb391b6c933878226e7d2b45d6..7c98707d13fb1cca22c7cee338cdd5696ad3a6df 100644 (file)
@@ -57,8 +57,6 @@ test_main() {
   local path_test_package_stand_alone=${path_test_package}stand_alone/
   local path_test_project=${path_test}project/
   local path_test_work=${path_test}work/
-  local print_line_first="yes"
-  local print_line_last="yes"
   local test_system=
   local test_thread="thread"
   local test_thread_individual="individual_thread"
@@ -124,10 +122,6 @@ test_main() {
           verbosity="debug"
           verbose="+D"
           verbose_common="-v"
-        elif [[ ${p} == "+F" || ${p} == "++line_first_no" ]] ; then
-          print_line_first="no"
-        elif [[ ${p} == "+L" || ${p} == "++line_last_no" ]] ; then
-          print_line_last="no"
         elif [[ ${p} == "+v" || ${p} == "++version" ]] ; then
           echo ${version}
           return 0
@@ -179,11 +173,6 @@ test_main() {
     p=
   fi
 
-  if [[ ${verbosity} == "quiet" ]] ; then
-    print_line_first="no"
-    print_line_last="no"
-  fi
-
   test_handle_colors
 
   if [[ ${do_help} == "yes" ]] ; then
@@ -202,8 +191,6 @@ test_main() {
 
   if [[ ${operation_failure} == "fail-too_many" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Only a single build system is supported, received the following test systems ${c_notice}${test_system} ${operation}${c_error} was not recognized.${c_reset}"
     fi
 
@@ -220,8 +207,6 @@ test_main() {
 
   if [[ ${failure} -eq 0 && ${test_system} != "normal" && ${test_system} != "github" && ${test_system} != "gitlab" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: The test system must be one of ${c_notice}normal${c_error}, ${c_notice}github${c_error}, or  ${c_notice}gitlab${c_error}.${c_reset}"
     fi
 
@@ -230,8 +215,6 @@ test_main() {
 
   if [[ ${failure} -eq 0 && ${build_compiler} != "gcc" && ${build_compiler} != "clang" ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: The build compiler ${c_notice}${build_compiler}${c_error} is not currently directly supported.${c_reset}"
     fi
 
@@ -240,8 +223,6 @@ test_main() {
 
   if [[ ${failure} -eq 0 && ! -d ${path_scripts} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: The build scripts path ${c_notice}${path_scripts}${c_error} is not a valid directory.${c_reset}"
     fi
 
@@ -250,8 +231,6 @@ test_main() {
 
   if [[ ${failure} -eq 0 && ! -f ${path_scripts_package} ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Unable to find the package build script file under the build scripts path at ${c_notice}${path_scripts_package}${c_error}.${c_reset}"
     fi
 
@@ -263,8 +242,6 @@ test_main() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        test_print_first
-
         echo -e "${c_error}ERROR: The test path ${c_notice}${path_test}${c_error}, does not exist and could not be created or exists and is not a valid directory.${c_reset}"
       fi
 
@@ -277,8 +254,6 @@ test_main() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        test_print_first
-
         echo -e "${c_error}ERROR: The package path ${c_notice}${path_test_package}${c_error}, does not exist and could not be created or exists and is not a valid directory.${c_reset}"
       fi
 
@@ -291,8 +266,6 @@ test_main() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        test_print_first
-
         echo -e "${c_error}ERROR: The test project path ${c_notice}${path_test_project}${c_error}, does not exist and could not be created or exists and is not a valid directory.${c_reset}"
       fi
 
@@ -305,8 +278,6 @@ test_main() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        test_print_first
-
         echo -e "${c_error}ERROR: The test work path ${c_notice}${path_test_work}${c_error}, does not exist and could not be created or exists and is not a valid directory.${c_reset}"
       fi
 
@@ -316,13 +287,8 @@ test_main() {
 
   if [[ ${failure} -eq 0 ]] ; then
     test_operate
-    let failure=$?
-  fi
 
-  if [[ ${verbosity} != "quiet" ]] ; then
-    if [[ ${failure} -eq 1 || ${verbosity} != "error" ]] ; then
-      test_print_last
-    fi
+    let failure=$?
   fi
 
   test_cleanup
@@ -358,8 +324,6 @@ test_handle_colors() {
 
 test_help() {
 
-  test_print_first
-
   echo -e "${c_title}${public_name}${c_reset}"
   echo -e " ${c_notice}Version ${version}${c_reset}"
   echo
@@ -369,19 +333,17 @@ test_help() {
   echo -e " ${c_important}gitlab${c_reset}  Perform a test meant to be used within Gitlab (not yet supported)."
   echo
   echo -e "${c_highlight}Available Options:${c_reset}"
-  echo -e " -${c_important}h${c_reset}, --${c_important}help${c_reset}           Print this help message."
-  echo -e " +${c_important}C${c_reset}, ++${c_important}copyright${c_reset}      Print the copyright."
-  echo -e " +${c_important}d${c_reset}, ++${c_important}dark${c_reset}           Output using colors that show up better on dark backgrounds."
-  echo -e " +${c_important}l${c_reset}, ++${c_important}light${c_reset}          Output using colors that show up better on light backgrounds."
-  echo -e " +${c_important}n${c_reset}, ++${c_important}no_color${c_reset}       Do not print using color."
-  echo -e " +${c_important}Q${c_reset}, ++${c_important}quiet${c_reset}          Decrease verbosity, silencing most print.to."
-  echo -e " +${c_important}E${c_reset}, ++${c_important}error${c_reset}          Decrease verbosity, using only error print.to."
-  echo -e " +${c_important}N${c_reset}, ++${c_important}normal${c_reset}         Set verbosity to normal."
-  echo -e " +${c_important}V${c_reset}, ++${c_important}verbose${c_reset}        Increase verbosity beyond normal print.to."
-  echo -e " +${c_important}D${c_reset}, ++${c_important}debug${c_reset}          Enable debugging, significantly increasing verbosity beyond normal print.to."
-  echo -e " +${c_important}v${c_reset}, ++${c_important}version${c_reset}        Print only the version number."
-  echo -e " +${c_important}F${c_reset}, ++${c_important}line_first_no${c_reset}  Disable printing of first line."
-  echo -e " +${c_important}L${c_reset}, ++${c_important}line_last_no${c_reset}   Disable printing of last line."
+  echo -e " -${c_important}h${c_reset}, --${c_important}help${c_reset}       Print this help message."
+  echo -e " +${c_important}C${c_reset}, ++${c_important}copyright${c_reset}  Print the copyright."
+  echo -e " +${c_important}d${c_reset}, ++${c_important}dark${c_reset}       Output using colors that show up better on dark backgrounds."
+  echo -e " +${c_important}l${c_reset}, ++${c_important}light${c_reset}      Output using colors that show up better on light backgrounds."
+  echo -e " +${c_important}n${c_reset}, ++${c_important}no_color${c_reset}   Do not print using color."
+  echo -e " +${c_important}Q${c_reset}, ++${c_important}quiet${c_reset}      Decrease verbosity, silencing most print.to."
+  echo -e " +${c_important}E${c_reset}, ++${c_important}error${c_reset}      Decrease verbosity, using only error print.to."
+  echo -e " +${c_important}N${c_reset}, ++${c_important}normal${c_reset}     Set verbosity to normal."
+  echo -e " +${c_important}V${c_reset}, ++${c_important}verbose${c_reset}    Increase verbosity beyond normal print.to."
+  echo -e " +${c_important}D${c_reset}, ++${c_important}debug${c_reset}      Enable debugging, significantly increasing verbosity beyond normal print.to."
+  echo -e " +${c_important}v${c_reset}, ++${c_important}version${c_reset}    Print only the version number."
   echo
   echo -e " -${c_important}a${c_reset}, --${c_important}analyze${c_reset}       Perform analyzation on during tests (using fanalyzer mode)."
   echo -e " -${c_important}c${c_reset}, --${c_important}compiler${c_reset}      Specify the compiler, either gcc (default) or clang."
@@ -390,21 +352,15 @@ test_help() {
   echo -e " -${c_important}t${c_reset}, --${c_important}path_test${c_reset}     Specify a custom directory where the test environment is found."
   echo -e " -${c_important}T${c_reset}, --${c_important}thread${c_reset}        Compile code being tested with threads enabled."
   echo -e " -${c_important}L${c_reset}, --${c_important}threadless${c_reset}    Compile code being tested with threads disabled."
-
-  test_print_last
 }
 
 test_copyright() {
 
-  test_print_first
-
   echo "Copyright Â© 2007-2024 Kevin Day."
   echo
   echo "Source code license lgpl-2.1-or-later."
   echo "Standard and specification license open-standard-license-1.0-or-later."
   echo "Documentation license cc-by-sa-4.0."
-
-  test_print_last
 }
 
 test_operate() {
@@ -459,25 +415,20 @@ test_operate_build_individual() {
   local path_original="${PWD}/"
 
   if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-    test_print_first_or_always
-
+    echo
     echo -e "${c_highlight}Cleaning and building individual package.${c_reset}"
     echo -e "${c_title}-----------------------------------------${c_reset}"
     echo
   fi
 
   if [[ ${verbosity} == "debug" ]] ; then
-    test_print_first_or_always
-
-    echo "${shell_command} ${path_scripts_package} ${verbose} ${context} +F -d ${path_test_package} -i rebuild"
+    echo "${shell_command} ${path_scripts_package} ${verbose} ${context} -d ${path_test_package} -i rebuild"
   fi
 
-  ${shell_command} ${path_scripts_package} ${verbose} ${context} +F -d ${path_test_package} -i rebuild
+  ${shell_command} ${path_scripts_package} ${verbose} ${context} -d ${path_test_package} -i rebuild
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Failed to clean and build the individual packages.${c_reset}"
     fi
 
@@ -513,25 +464,20 @@ test_operate_build_program() {
   local path_original="${PWD}/"
 
   if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-    test_print_first_or_always
-
+    echo
     echo -e "${c_highlight}Cleaning and building program packages.${c_reset}"
     echo -e "${c_title}---------------------------------------${c_reset}"
     echo
   fi
 
   if [[ ${verbosity} == "debug" ]] ; then
-    test_print_first_or_always
-
-    echo "${shell_command} ${path_scripts_package} ${verbose} ${context} +F -d ${path_test_package} -p rebuild"
+    echo "${shell_command} ${path_scripts_package} ${verbose} ${context} -d ${path_test_package} -p rebuild"
   fi
 
-  ${shell_command} ${path_scripts_package} ${verbose} ${context} +F -d ${path_test_package} -p rebuild
+  ${shell_command} ${path_scripts_package} ${verbose} ${context} -d ${path_test_package} -p rebuild
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Failed to clean and build the program packages.${c_reset}"
     fi
 
@@ -570,8 +516,6 @@ test_operate_build_project() {
 
   if [[ ! -d ${path_}${project}-${version}/ ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Package directory '${c_notice}${path_}${project}-${version}${c_error}' is invalid or missing.${c_reset}"
     fi
 
@@ -581,8 +525,6 @@ test_operate_build_project() {
   fi
 
   if [[ ${verbosity} == "debug" ]] ; then
-    test_print_first_or_always
-
     echo -e "Running '${c_notice}cd ${path_}${project}-${version}/${c_reset}'."
   fi
 
@@ -590,8 +532,6 @@ test_operate_build_project() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Failed to change into directory '${c_notice}${path_}${project}-${version}${c_error}'.${c_reset}"
     fi
 
@@ -602,8 +542,6 @@ test_operate_build_project() {
 
   if [[ ${bootstrap} == "" ]] ; then
     if [[ ${verbosity} == "debug" ]] ; then
-      test_print_first_or_always
-
       if [[ ${build_compiler} == "gcc" ]] ; then
         echo "PATH=\"${env_path}\" LD_LIBRARY_PATH=\"${env_libs}\" fake ${verbose} ${context} -w \"${destination}\" -m ${mode} ${mode_thread_param} ${mode_thread_value} ${mode_thread_individual_param} ${mode_thread_individual_value} -m test ${analyze_flag} ${analyze_value} clean build ${ci_arguments}"
       else
@@ -619,43 +557,37 @@ test_operate_build_project() {
   else
     if [[ ${SHELL_ENGINE} == "zsh" ]] ; then
       if [[ ${verbosity} == "debug" ]] ; then
-        test_print_first_or_always
-
         if [[ ${build_compiler} == "gcc" ]] ; then
-          echo "zsh ./bootstrap.sh ${verbose} ${context} +F -w \"${destination}\" -m ${mode} ${mode_thread_param} ${mode_thread_value} ${mode_thread_individual_param} ${mode_thread_individual_value} -m test ${analyze_flag} ${analyze_value} build"
+          echo "zsh ./bootstrap.sh ${verbose} ${context} -w \"${destination}\" -m ${mode} ${mode_thread_param} ${mode_thread_value} ${mode_thread_individual_param} ${mode_thread_individual_value} -m test ${analyze_flag} ${analyze_value} build"
         else
-          echo "zsh ./bootstrap.sh ${verbose} ${context} +F -w \"${destination}\" -m ${mode} ${mode_thread_param} ${mode_thread_value} ${mode_thread_individual_param} ${mode_thread_individual_value} -m test ${analyze_flag} ${analyze_value} -m ${build_compiler} build"
+          echo "zsh ./bootstrap.sh ${verbose} ${context} -w \"${destination}\" -m ${mode} ${mode_thread_param} ${mode_thread_value} ${mode_thread_individual_param} ${mode_thread_individual_value} -m test ${analyze_flag} ${analyze_value} -m ${build_compiler} build"
         fi
       fi
 
       if [[ ${build_compiler} == "gcc" ]] ; then
-        zsh ./bootstrap.sh ${verbose} ${context} +F -w "${destination}" -m ${mode} ${mode_thread_param} ${mode_thread_value} ${mode_thread_individual_param} ${mode_thread_individual_value} -m test ${analyze_flag} ${analyze_value} build
+        zsh ./bootstrap.sh ${verbose} ${context} -w "${destination}" -m ${mode} ${mode_thread_param} ${mode_thread_value} ${mode_thread_individual_param} ${mode_thread_individual_value} -m test ${analyze_flag} ${analyze_value} build
       else
-        zsh ./bootstrap.sh ${verbose} ${context} +F -w "${destination}" -m ${mode} ${mode_thread_param} ${mode_thread_value} ${mode_thread_individual_param} ${mode_thread_individual_value} -m test ${analyze_flag} ${analyze_value} -m ${build_compiler} build
+        zsh ./bootstrap.sh ${verbose} ${context} -w "${destination}" -m ${mode} ${mode_thread_param} ${mode_thread_value} ${mode_thread_individual_param} ${mode_thread_individual_value} -m test ${analyze_flag} ${analyze_value} -m ${build_compiler} build
       fi
     else
       if [[ ${verbosity} == "debug" ]] ; then
-        test_print_first_or_always
-
         if [[ ${build_compiler} == "gcc" ]] ; then
-          echo "./bootstrap.sh ${verbose} ${context} +F -w \"${destination}\" -m ${mode} ${mode_thread_individual_param} ${mode_thread_individual_value} ${mode_thread_param} ${mode_thread_value} -m test ${analyze_flag} ${analyze_value} build"
+          echo "./bootstrap.sh ${verbose} ${context} -w \"${destination}\" -m ${mode} ${mode_thread_individual_param} ${mode_thread_individual_value} ${mode_thread_param} ${mode_thread_value} -m test ${analyze_flag} ${analyze_value} build"
         else
-          echo "./bootstrap.sh ${verbose} ${context} +F -w \"${destination}\" -m ${mode} ${mode_thread_individual_param} ${mode_thread_individual_value} ${mode_thread_param} ${mode_thread_value} -m test ${analyze_flag} ${analyze_value} -m ${build_compiler} build"
+          echo "./bootstrap.sh ${verbose} ${context} -w \"${destination}\" -m ${mode} ${mode_thread_individual_param} ${mode_thread_individual_value} ${mode_thread_param} ${mode_thread_value} -m test ${analyze_flag} ${analyze_value} -m ${build_compiler} build"
         fi
       fi
 
       if [[ ${build_compiler} == "gcc" ]] ; then
-        ./bootstrap.sh ${verbose} ${context} +F -w "${destination}" -m ${mode} ${mode_thread_param} ${mode_thread_value} ${mode_thread_individual_param} ${mode_thread_individual_value} -m test ${analyze_flag} ${analyze_value} build
+        ./bootstrap.sh ${verbose} ${context} -w "${destination}" -m ${mode} ${mode_thread_param} ${mode_thread_value} ${mode_thread_individual_param} ${mode_thread_individual_value} -m test ${analyze_flag} ${analyze_value} build
       else
-        ./bootstrap.sh ${verbose} ${context} +F -w "${destination}" -m ${mode} ${mode_thread_param} ${mode_thread_value} ${mode_thread_individual_param} ${mode_thread_individual_value} -m test ${analyze_flag} ${analyze_value} -m ${build_compiler} build
+        ./bootstrap.sh ${verbose} ${context} -w "${destination}" -m ${mode} ${mode_thread_param} ${mode_thread_value} ${mode_thread_individual_param} ${mode_thread_individual_value} -m test ${analyze_flag} ${analyze_value} -m ${build_compiler} build
       fi
     fi
   fi
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Failed to build ${mode} project '${c_notice}${project}${c_reset}${c_error}'.${c_reset}"
     fi
 
@@ -670,15 +602,13 @@ test_operate_build_project() {
   fi
 
   if [[ ${SHELL_ENGINE} == "zsh" ]] ; then
-    zsh ./install.sh ${verbose} ${context} +F +L -w "${destination}"
+    zsh ./install.sh ${verbose} ${context} -w "${destination}"
   else
-    ./install.sh ${verbose} ${context} +F +L -w "${destination}"
+    ./install.sh ${verbose} ${context} -w "${destination}"
   fi
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Failed to install ${mode} project '${c_notice}${project}${c_reset}${c_error}'.${c_reset}"
     fi
 
@@ -694,25 +624,20 @@ test_operate_build_tools() {
   local path_original="${PWD}/"
 
   if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-    test_print_first_or_always
-
+    echo
     echo -e "${c_highlight}Building project build tools.${c_reset}"
     echo -e "${c_title}-----------------------------${c_reset}"
     echo
   fi
 
   if [[ ${verbosity} == "debug" ]] ; then
-    test_print_first_or_always
-
-    echo "${shell_command} ${path_scripts_package} ${verbose} ${context} +F -d ${path_test_package} -S fake rebuild"
+    echo "${shell_command} ${path_scripts_package} ${verbose} ${context} -d ${path_test_package} -S fake rebuild"
   fi
 
-  ${shell_command} ${path_scripts_package} ${verbose} ${context} +F -d ${path_test_package} -S fake rebuild
+  ${shell_command} ${path_scripts_package} ${verbose} ${context} -d ${path_test_package} -S fake rebuild
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Failed to clean and build the stand_alone fake package.${c_reset}"
     fi
 
@@ -746,8 +671,7 @@ test_operate_ci_prebuild() {
   fi
 
   if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-    test_print_first_or_always
-
+    echo
     echo -e "${c_highlight}Performing Github Specific Pre-Build Operations.${c_reset}"
     echo -e "${c_title}------------------------------------------------${c_reset}"
     echo
@@ -778,8 +702,7 @@ test_operate_ci_pretest() {
   fi
 
   if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-    test_print_first_or_always
-
+    echo
     echo -e "${c_highlight}Performing Github Specific Pre-Test Operations.${c_reset}"
     echo -e "${c_title}-----------------------------------------------${c_reset}"
     echo
@@ -810,8 +733,6 @@ test_operate_ci_pretest_cmocka() {
 
   if [[ -d ${cmocka_path} ]] ; then
     if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-      test_print_first_or_always
-
       echo -e "Detected existing cmocka repository at \"${c_notice}${cmocka_path}${c_reset}\", skipping the cmocka process."
     fi
 
@@ -819,8 +740,6 @@ test_operate_ci_pretest_cmocka() {
   fi
 
   if [[ ${verbosity} == "debug" ]] ; then
-    test_print_first_or_always
-
     echo "git clone ${clone_quiet} --single-branch -b ${cmocka_branch} \"${cmocka_uri}\" ${cmocka_path}"
   fi
 
@@ -828,8 +747,6 @@ test_operate_ci_pretest_cmocka() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Failed to git clone '${c_notice}${cmocka_uri}${c_error}' onto  '${c_notice}${cmocka_path}${c_error}'.${c_reset}"
     fi
 
@@ -839,8 +756,6 @@ test_operate_ci_pretest_cmocka() {
   fi
 
   if [[ ${verbosity} == "debug" ]] ; then
-    test_print_first_or_always
-
     echo "mkdir ${verbose_common} -p ${cmocka_data}"
   fi
 
@@ -848,8 +763,6 @@ test_operate_ci_pretest_cmocka() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Failed to create cmocka build data directory '${c_notice}${cmocka_data}${c_error}'.${c_reset}"
     fi
 
@@ -859,8 +772,6 @@ test_operate_ci_pretest_cmocka() {
   fi
 
   if [[ ${verbosity} == "debug" ]] ; then
-    test_print_first_or_always
-
     echo "cp ${verbose_common} ${cmocka_settings} ${cmocka_data}"
   fi
 
@@ -868,8 +779,6 @@ test_operate_ci_pretest_cmocka() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Failed to copy cmocka build settings: '${c_notice}${cmocka_settings}${c_error}'.${c_reset}"
     fi
 
@@ -879,8 +788,6 @@ test_operate_ci_pretest_cmocka() {
   fi
 
   if [[ ${verbosity} == "debug" ]] ; then
-    test_print_first_or_always
-
     echo "cd ${cmocka_path}"
   fi
 
@@ -888,8 +795,6 @@ test_operate_ci_pretest_cmocka() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Failed to change cmocka source directory '${c_notice}${cmocka_path}${c_error}'.${c_reset}"
     fi
 
@@ -899,8 +804,6 @@ test_operate_ci_pretest_cmocka() {
   fi
 
   if [[ ${verbosity} == "debug" ]] ; then
-    test_print_first_or_always
-
     echo "PATH=\"${env_path}\" LD_LIBRARY_PATH=\"${env_libs}\" fake ${verbose} ${context} -w \"${path_test_work}\" -m ${build_compiler} -m ${test_thread} clean build ${ci_arguments}"
   fi
 
@@ -908,8 +811,6 @@ test_operate_ci_pretest_cmocka() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Failed to build '${c_notice}cmocka${c_error}'.${c_reset}"
     fi
 
@@ -919,8 +820,6 @@ test_operate_ci_pretest_cmocka() {
   fi
 
   if [[ ${verbosity} == "debug" ]] ; then
-    test_print_first_or_always
-
     echo "cp ${verbose_common} -R ${cmocka_build}includes/* ${work_path}includes/"
   fi
 
@@ -928,8 +827,6 @@ test_operate_ci_pretest_cmocka() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Failed to install cmocka headers to '${c_notice}${work_path}includes/${c_error}'.${c_reset}"
     fi
 
@@ -939,8 +836,6 @@ test_operate_ci_pretest_cmocka() {
   fi
 
   if [[ ${verbosity} == "debug" ]] ; then
-    test_print_first_or_always
-
     echo "cp ${verbose_common} -R ${cmocka_build}libraries/shared/* ${work_path}libraries/shared/"
   fi
 
@@ -948,8 +843,6 @@ test_operate_ci_pretest_cmocka() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Failed to install cmocka libraries to '${c_notice}${work_path}libraries/shared/${c_error}'.${c_reset}"
     fi
 
@@ -968,8 +861,6 @@ test_operate_ci_prebuild_libcap() {
 
   if [[ -d ${libcap_path} ]] ; then
     if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-      test_print_first_or_always
-
       echo -e "Detected existing libcap repository at \"${c_notice}${libcap_path}${c_reset}\", skipping the libcap process."
     fi
 
@@ -977,8 +868,6 @@ test_operate_ci_prebuild_libcap() {
   fi
 
   if [[ ${verbosity} == "debug" ]] ; then
-    test_print_first_or_always
-
     echo "git clone ${clone_quiet} --single-branch -b ${libcap_branch} \"${libcap_uri}\" ${libcap_path}"
   fi
 
@@ -986,8 +875,6 @@ test_operate_ci_prebuild_libcap() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Failed to git clone '${c_notice}${libcap_uri}${c_error}' onto  '${c_notice}${libcap_path}${c_error}'.${c_reset}"
     fi
 
@@ -997,8 +884,6 @@ test_operate_ci_prebuild_libcap() {
   fi
 
   if [[ ${verbosity} == "debug" ]] ; then
-    test_print_first_or_always
-
     echo "cd ${libcap_path}"
   fi
 
@@ -1006,11 +891,7 @@ test_operate_ci_prebuild_libcap() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Failed to change libcap source directory '${c_notice}${libcap_path}${c_error}'.${c_reset}"
-
-      test_print_last
     fi
 
     let failure=1
@@ -1019,8 +900,6 @@ test_operate_ci_prebuild_libcap() {
   fi
 
   if [[ ${verbosity} == "debug" ]] ; then
-    test_print_first_or_always
-
     echo "make MANDIR=${work_path}fake/ SBINDIR=${work_path}fake/ INCDIR=${work_path}includes/ LIBDIR=${work_path}libraries/shared/ PKGCONFIGDIR=${work_path}fake/ install"
   fi
 
@@ -1028,11 +907,7 @@ test_operate_ci_prebuild_libcap() {
 
   if [[ ${?} -ne 0 ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: Failed to build and install libcap into the work directory '${c_notice}${work_path}${c_error}'.${c_reset}"
-
-      test_print_last
     fi
 
     let failure=1
@@ -1073,8 +948,6 @@ test_operate_tests_change_to() {
 
   if [[ ${failure} -eq 0 ]] ; then
     if [[ ${verbosity} == "debug" ]] ; then
-      test_print_first_or_always
-
       echo -e "Running '${c_notice}cd ${destination}${c_reset}'."
     fi
 
@@ -1082,11 +955,7 @@ test_operate_tests_change_to() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        test_print_first
-
         echo -e "${c_error}ERROR: Failed to change into directory '${c_notice}${destination}${c_error}'.${c_reset}"
-
-        test_print_last
       fi
 
       let failure=1
@@ -1099,8 +968,7 @@ test_operate_tests_name() {
   local name=${2}
 
   if [[ ${verbosity} != "quiet" && ${verbosity} != "error" ]] ; then
-    test_print_first_or_always
-
+    echo
     echo -e "${c_highlight}Testing ${what} ${name}.${c_reset}"
     echo -e "${c_title}--------------------------------------${c_reset}"
     echo
@@ -1113,11 +981,7 @@ test_operate_tests_path_exists() {
 
   if [[ ! -d ${path_name}/ ]] ; then
     if [[ ${verbosity} != "quiet" ]] ; then
-      test_print_first
-
       echo -e "${c_error}ERROR: ${what} directory '${c_notice}${path_name}${c_error}' is invalid or missing.${c_reset}"
-
-      test_print_last
     fi
 
     let failure=1
@@ -1137,13 +1001,9 @@ test_operate_tests_projects() {
       if [[ ! -f ${path_test_package_individual}${project}-${version}/data/build/testfile ]] ; then
         if [[ $(echo ${projects_no_tests} | grep -o "\<${project}\>") == "" ]] ; then
           if [[ ${verbosity} == "verbose" || ${verbosity} == "debug" ]] ; then
-            test_print_first_or_always
-
             echo -e "${c_warning}WARNING: Project '${c_notice}${project}${c_warning}' does not have a testfile.${c_reset}"
           fi
         else
-          test_print_first_or_always
-
           echo -e "Project '${c_notice}${project}${c_reset}' has no tests and is not expected to.${c_reset}"
         fi
 
@@ -1181,8 +1041,6 @@ test_operate_tests_programs() {
     if [[ ${failure} -eq 0 ]] ; then
       if [[ ! -f ${path_test_package_program}${program}-${version}/data/build/testfile ]] ; then
         if [[ ${verbosity} == "verbose" || ${verbosity} == "debug" ]] ; then
-          test_print_first_or_always
-
           echo -e "${c_warning}WARNING: Program '${c_notice}${program}${c_warning}' does not have a testfile.${c_reset}"
         fi
 
@@ -1214,8 +1072,6 @@ test_operate_tests_run() {
 
   if [[ ${failure} -eq 0 ]] ; then
     if [[ ${verbosity} == "debug" ]] ; then
-      test_print_first_or_always
-
       if [[ ${build_compiler} == "gcc" ]] ; then
         echo "PATH=\"${env_path}\" LD_LIBRARY_PATH=\"${env_libs}\" fake ${verbose} ${context} -w \"${destination}\" -m individual -m ${test_thread} ${thread_individual_param} ${thread_individual_value} -m test ${analyze_flag} ${analyze_value} clean make -f testfile ${ci_arguments}"
       else
@@ -1231,11 +1087,7 @@ test_operate_tests_run() {
 
     if [[ ${?} -ne 0 ]] ; then
       if [[ ${verbosity} != "quiet" ]] ; then
-        test_print_first
-
         echo -e "${c_error}ERROR: Failure while testing ${what} '${c_notice}${name}${c_reset}${c_error}'.${c_reset}"
-
-        test_print_last
       fi
 
       let failure=1
@@ -1243,35 +1095,6 @@ test_operate_tests_run() {
   fi
 }
 
-test_print_first() {
-
-  if [[ ${print_line_first} == "yes" ]] ; then
-    echo
-
-    print_line_first=
-  fi
-}
-
-test_print_first_or_always() {
-
-  if [[ ${print_line_first} == "yes" ]] ; then
-    echo
-
-    print_line_first=
-  elif [[ ${print_line_first} == "no" ]] ; then
-    print_line_first=
-  else
-    echo
-  fi
-}
-
-test_print_last() {
-
-  if [[ ${print_line_last} == "yes" ]] ; then
-    echo
-  fi
-}
-
 test_cleanup() {
 
   unset test_copyright
@@ -1293,9 +1116,6 @@ test_cleanup() {
   unset test_operate_tests_projects
   unset test_operate_tests_programs
   unset test_operate_tests_run
-  unset test_print_first
-  unset test_print_first_or_always
-  unset test_print_last
   unset test_cleanup
 }
 
index c7646c5283a90dffa9f97399ca5d38d6d68f7a6b..4c9ac78bb4b4438482523a4afdb7f5146788cbbb 100644 (file)
@@ -29,14 +29,6 @@ extern "C" {
     const f_string_static_t f_console_standard_short_light_s = macro_f_string_static_t_initialize_1(F_console_standard_short_light_s, 0, F_console_standard_short_light_s_length);
   #endif // _di_f_console_standard_short_light_s_
 
-  #ifndef _di_f_console_standard_short_line_first_no_s_
-    const f_string_static_t f_console_standard_short_line_first_no_s = macro_f_string_static_t_initialize_1(F_console_standard_short_line_first_no_s, 0, F_console_standard_short_line_first_no_s_length);
-  #endif // _di_f_console_standard_short_line_first_no_s_
-
-  #ifndef _di_f_console_standard_short_line_last_no_s_
-    const f_string_static_t f_console_standard_short_line_last_no_s = macro_f_string_static_t_initialize_1(F_console_standard_short_line_last_no_s, 0, F_console_standard_short_line_last_no_s_length);
-  #endif // _di_f_console_standard_short_line_last_no_s_
-
   #ifndef _di_f_console_standard_short_no_color_s_
     const f_string_static_t f_console_standard_short_no_color_s = macro_f_string_static_t_initialize_1(F_console_standard_short_no_color_s, 0, F_console_standard_short_no_color_s_length);
   #endif // _di_f_console_standard_short_no_color_s_
@@ -89,14 +81,6 @@ extern "C" {
     const f_string_static_t f_console_standard_long_light_s = macro_f_string_static_t_initialize_1(F_console_standard_long_light_s, 0, F_console_standard_long_light_s_length);
   #endif // _di_f_console_standard_long_light_s_
 
-  #ifndef _di_f_console_standard_long_line_first_no_s_
-    const f_string_static_t f_console_standard_long_line_first_no_s = macro_f_string_static_t_initialize_1(F_console_standard_long_line_first_no_s, 0, F_console_standard_long_line_first_no_s_length);
-  #endif // _di_f_console_standard_long_line_first_no_s_
-
-  #ifndef _di_f_console_standard_long_line_last_no_s_
-    const f_string_static_t f_console_standard_long_line_last_no_s = macro_f_string_static_t_initialize_1(F_console_standard_long_line_last_no_s, 0, F_console_standard_long_line_last_no_s_length);
-  #endif // _di_f_console_standard_long_line_last_no_s_
-
   #ifndef _di_f_console_standard_long_no_color_s_
     const f_string_static_t f_console_standard_long_no_color_s = macro_f_string_static_t_initialize_1(F_console_standard_long_no_color_s, 0, F_console_standard_long_no_color_s_length);
   #endif // _di_f_console_standard_long_no_color_s_
index b0d04634b0a572a4063f02df719f83ceba59d74b..651c87cf39cca55fa39c6cd8c1664036a87d0f8c 100644 (file)
@@ -577,12 +577,10 @@ extern "C" {
     f_console_standard_parameter_verbosity_verbose_e,
     f_console_standard_parameter_verbosity_debug_e,
     f_console_standard_parameter_version_e,
-    f_console_standard_parameter_line_first_no_e,
-    f_console_standard_parameter_line_last_no_e,
     f_console_standard_parameter_last_e,
   }; // enum
 
-  #define f_console_parameter_state_type_total_d 13
+  #define f_console_parameter_state_type_total_d 11
 #endif // _di_f_console_standard_parameter_e_
 
 /**
@@ -604,8 +602,6 @@ extern "C" {
  *   - normal:        Use normal printing (don't use debug/quiet/verbose).
  *   - quiet:         Decrease verbosity, print less, in some use cases this could mean printing nothing.
  *   - verbose:       Increase verbosity, print more, in some use cases this could mean printing just about everything.
- *   - line_first_no: Don't print the first line if one is to be printed (useful in scripts) (may include error/warning messages).
- *   - line_last_no:  Don't print the last line if one is to be printed (useful in scripts) (may include error/warning messages).
  *
  * The following are less subjective in interpretation but do allow some flexibility.
  *   - dark:     Do display color intended for dark backgrounds (often the default behavior) when printing to the console. Other contexts may be acceptable (such as voice inflections, or lack-thereof) for audio.)
@@ -624,69 +620,61 @@ extern "C" {
  *     - To avoid problems with the status code after a program is forcibly killed, the status_out environment variable should be cleared at program start.
  */
 #ifndef _di_f_console_standard_s_
-  #define F_console_standard_short_copyright_s     "C"
-  #define F_console_standard_short_dark_s          "d"
-  #define F_console_standard_short_debug_s         "D"
-  #define F_console_standard_short_error_s         "E"
-  #define F_console_standard_short_help_s          "h"
-  #define F_console_standard_short_light_s         "l"
-  #define F_console_standard_short_line_first_no_s "F"
-  #define F_console_standard_short_line_last_no_s  "L"
-  #define F_console_standard_short_no_color_s      "n"
-  #define F_console_standard_short_normal_s        "N"
-  #define F_console_standard_short_quiet_s         "Q"
-  #define F_console_standard_short_status_in_s     "s"
-  #define F_console_standard_short_status_out_s    "S"
-  #define F_console_standard_short_verbose_s       "V"
-  #define F_console_standard_short_version_s       "v"
-
-  #define F_console_standard_short_copyright_s_length     1
-  #define F_console_standard_short_dark_s_length          1
-  #define F_console_standard_short_debug_s_length         1
-  #define F_console_standard_short_error_s_length         1
-  #define F_console_standard_short_help_s_length          1
-  #define F_console_standard_short_light_s_length         1
-  #define F_console_standard_short_line_first_no_s_length 1
-  #define F_console_standard_short_line_last_no_s_length  1
-  #define F_console_standard_short_no_color_s_length      1
-  #define F_console_standard_short_normal_s_length        1
-  #define F_console_standard_short_quiet_s_length         1
-  #define F_console_standard_short_status_in_s_length     1
-  #define F_console_standard_short_status_out_s_length    1
-  #define F_console_standard_short_verbose_s_length       1
-  #define F_console_standard_short_version_s_length       1
-
-  #define F_console_standard_long_copyright_s     "copyright"
-  #define F_console_standard_long_dark_s          "dark"
-  #define F_console_standard_long_debug_s         "debug"
-  #define F_console_standard_long_error_s         "error"
-  #define F_console_standard_long_help_s          "help"
-  #define F_console_standard_long_light_s         "light"
-  #define F_console_standard_long_line_first_no_s "line_first_no"
-  #define F_console_standard_long_line_last_no_s  "line_last_no"
-  #define F_console_standard_long_no_color_s      "no_color"
-  #define F_console_standard_long_normal_s        "normal"
-  #define F_console_standard_long_quiet_s         "quiet"
-  #define F_console_standard_long_status_in_s     "status_in"
-  #define F_console_standard_long_status_out_s    "status_out"
-  #define F_console_standard_long_verbose_s       "verbose"
-  #define F_console_standard_long_version_s       "version"
-
-  #define F_console_standard_long_copyright_s_length     9
-  #define F_console_standard_long_dark_s_length          4
-  #define F_console_standard_long_debug_s_length         5
-  #define F_console_standard_long_error_s_length         5
-  #define F_console_standard_long_help_s_length          4
-  #define F_console_standard_long_light_s_length         5
-  #define F_console_standard_long_line_first_no_s_length 13
-  #define F_console_standard_long_line_last_no_s_length  12
-  #define F_console_standard_long_no_color_s_length      8
-  #define F_console_standard_long_normal_s_length        6
-  #define F_console_standard_long_quiet_s_length         5
-  #define F_console_standard_long_status_in_s_length     9
-  #define F_console_standard_long_status_out_s_length    10
-  #define F_console_standard_long_verbose_s_length       7
-  #define F_console_standard_long_version_s_length       7
+  #define F_console_standard_short_copyright_s  "C"
+  #define F_console_standard_short_dark_s       "d"
+  #define F_console_standard_short_debug_s      "D"
+  #define F_console_standard_short_error_s      "E"
+  #define F_console_standard_short_help_s       "h"
+  #define F_console_standard_short_light_s      "l"
+  #define F_console_standard_short_no_color_s   "n"
+  #define F_console_standard_short_normal_s     "N"
+  #define F_console_standard_short_quiet_s      "Q"
+  #define F_console_standard_short_status_in_s  "s"
+  #define F_console_standard_short_status_out_s "S"
+  #define F_console_standard_short_verbose_s    "V"
+  #define F_console_standard_short_version_s    "v"
+
+  #define F_console_standard_short_copyright_s_length  1
+  #define F_console_standard_short_dark_s_length       1
+  #define F_console_standard_short_debug_s_length      1
+  #define F_console_standard_short_error_s_length      1
+  #define F_console_standard_short_help_s_length       1
+  #define F_console_standard_short_light_s_length      1
+  #define F_console_standard_short_no_color_s_length   1
+  #define F_console_standard_short_normal_s_length     1
+  #define F_console_standard_short_quiet_s_length      1
+  #define F_console_standard_short_status_in_s_length  1
+  #define F_console_standard_short_status_out_s_length 1
+  #define F_console_standard_short_verbose_s_length    1
+  #define F_console_standard_short_version_s_length    1
+
+  #define F_console_standard_long_copyright_s  "copyright"
+  #define F_console_standard_long_dark_s       "dark"
+  #define F_console_standard_long_debug_s      "debug"
+  #define F_console_standard_long_error_s      "error"
+  #define F_console_standard_long_help_s       "help"
+  #define F_console_standard_long_light_s      "light"
+  #define F_console_standard_long_no_color_s   "no_color"
+  #define F_console_standard_long_normal_s     "normal"
+  #define F_console_standard_long_quiet_s      "quiet"
+  #define F_console_standard_long_status_in_s  "status_in"
+  #define F_console_standard_long_status_out_s "status_out"
+  #define F_console_standard_long_verbose_s    "verbose"
+  #define F_console_standard_long_version_s    "version"
+
+  #define F_console_standard_long_copyright_s_length  9
+  #define F_console_standard_long_dark_s_length       4
+  #define F_console_standard_long_debug_s_length      5
+  #define F_console_standard_long_error_s_length      5
+  #define F_console_standard_long_help_s_length       4
+  #define F_console_standard_long_light_s_length      5
+  #define F_console_standard_long_no_color_s_length   8
+  #define F_console_standard_long_normal_s_length     6
+  #define F_console_standard_long_quiet_s_length      5
+  #define F_console_standard_long_status_in_s_length  9
+  #define F_console_standard_long_status_out_s_length 10
+  #define F_console_standard_long_verbose_s_length    7
+  #define F_console_standard_long_version_s_length    7
 
   #ifndef _di_f_console_standard_short_copyright_s_
     extern const f_string_static_t f_console_standard_short_copyright_s;
@@ -712,14 +700,6 @@ extern "C" {
     extern const f_string_static_t f_console_standard_short_light_s;
   #endif // _di_f_console_standard_short_light_s_
 
-  #ifndef _di_f_console_standard_short_line_first_no_s_
-    extern const f_string_static_t f_console_standard_short_line_first_no_s;
-  #endif // _di_f_console_standard_short_line_first_no_s_
-
-  #ifndef _di_f_console_standard_short_line_last_no_s_
-    extern const f_string_static_t f_console_standard_short_line_last_no_s;
-  #endif // _di_f_console_standard_short_line_last_no_s_
-
   #ifndef _di_f_console_standard_short_no_color_s_
     extern const f_string_static_t f_console_standard_short_no_color_s;
   #endif // _di_f_console_standard_short_no_color_s_
@@ -772,14 +752,6 @@ extern "C" {
     extern const f_string_static_t f_console_standard_long_light_s;
   #endif // _di_f_console_standard_long_light_s_
 
-  #ifndef _di_f_console_standard_long_line_first_no_s_
-    extern const f_string_static_t f_console_standard_long_line_first_no_s;
-  #endif // _di_f_console_standard_long_line_first_no_s_
-
-  #ifndef _di_f_console_standard_long_line_last_no_s_
-    extern const f_string_static_t f_console_standard_long_line_last_no_s;
-  #endif // _di_f_console_standard_long_line_last_no_s_
-
   #ifndef _di_f_console_standard_long_no_color_s_
     extern const f_string_static_t f_console_standard_long_no_color_s;
   #endif // _di_f_console_standard_long_no_color_s_
index 04a8c022f86d4ce0a0c461cdf460ee8098dae2e5..f1ca6a7c09bb0639b8a887e93211f9e72a8231ca 100644 (file)
@@ -167,19 +167,17 @@ extern "C" {
   }
 
   #define macro_fll_program_console_parameter_standard_initialize \
-    macro_f_console_parameter_t_initialize_3(f_console_standard_short_help_s,          f_console_standard_long_help_s,          0, f_console_flag_normal_e), \
-    macro_f_console_parameter_t_initialize_3(f_console_standard_short_copyright_s,     f_console_standard_long_copyright_s,     0, f_console_flag_inverse_e), \
-    macro_f_console_parameter_t_initialize_3(f_console_standard_short_light_s,         f_console_standard_long_light_s,         0, f_console_flag_inverse_e), \
-    macro_f_console_parameter_t_initialize_3(f_console_standard_short_dark_s,          f_console_standard_long_dark_s,          0, f_console_flag_inverse_e), \
-    macro_f_console_parameter_t_initialize_3(f_console_standard_short_no_color_s,      f_console_standard_long_no_color_s,      0, f_console_flag_inverse_e), \
-    macro_f_console_parameter_t_initialize_3(f_console_standard_short_quiet_s,         f_console_standard_long_quiet_s,         0, f_console_flag_inverse_e), \
-    macro_f_console_parameter_t_initialize_3(f_console_standard_short_error_s,         f_console_standard_long_error_s,         0, f_console_flag_inverse_e), \
-    macro_f_console_parameter_t_initialize_3(f_console_standard_short_normal_s,        f_console_standard_long_normal_s,        0, f_console_flag_inverse_e), \
-    macro_f_console_parameter_t_initialize_3(f_console_standard_short_verbose_s,       f_console_standard_long_verbose_s,       0, f_console_flag_inverse_e), \
-    macro_f_console_parameter_t_initialize_3(f_console_standard_short_debug_s,         f_console_standard_long_debug_s,         0, f_console_flag_inverse_e), \
-    macro_f_console_parameter_t_initialize_3(f_console_standard_short_version_s,       f_console_standard_long_version_s,       0, f_console_flag_inverse_e), \
-    macro_f_console_parameter_t_initialize_3(f_console_standard_short_line_first_no_s, f_console_standard_long_line_first_no_s, 0, f_console_flag_inverse_e), \
-    macro_f_console_parameter_t_initialize_3(f_console_standard_short_line_last_no_s,  f_console_standard_long_line_last_no_s,  0, f_console_flag_inverse_e)
+    macro_f_console_parameter_t_initialize_3(f_console_standard_short_help_s,      f_console_standard_long_help_s,      0, f_console_flag_normal_e), \
+    macro_f_console_parameter_t_initialize_3(f_console_standard_short_copyright_s, f_console_standard_long_copyright_s, 0, f_console_flag_inverse_e), \
+    macro_f_console_parameter_t_initialize_3(f_console_standard_short_light_s,     f_console_standard_long_light_s,     0, f_console_flag_inverse_e), \
+    macro_f_console_parameter_t_initialize_3(f_console_standard_short_dark_s,      f_console_standard_long_dark_s,      0, f_console_flag_inverse_e), \
+    macro_f_console_parameter_t_initialize_3(f_console_standard_short_no_color_s,  f_console_standard_long_no_color_s,  0, f_console_flag_inverse_e), \
+    macro_f_console_parameter_t_initialize_3(f_console_standard_short_quiet_s,     f_console_standard_long_quiet_s,     0, f_console_flag_inverse_e), \
+    macro_f_console_parameter_t_initialize_3(f_console_standard_short_error_s,     f_console_standard_long_error_s,     0, f_console_flag_inverse_e), \
+    macro_f_console_parameter_t_initialize_3(f_console_standard_short_normal_s,    f_console_standard_long_normal_s,    0, f_console_flag_inverse_e), \
+    macro_f_console_parameter_t_initialize_3(f_console_standard_short_verbose_s,   f_console_standard_long_verbose_s,   0, f_console_flag_inverse_e), \
+    macro_f_console_parameter_t_initialize_3(f_console_standard_short_debug_s,     f_console_standard_long_debug_s,     0, f_console_flag_inverse_e), \
+    macro_f_console_parameter_t_initialize_3(f_console_standard_short_version_s,   f_console_standard_long_version_s,   0, f_console_flag_inverse_e)
 #endif // _di_fll_program_data_t_
 
 /**
index 6f6d30dd8092d0709641730e95a4fed2fa7ff79c..3aab56b9389c086fcbc89c1562c6e27a0ef9d130 100644 (file)
@@ -589,19 +589,17 @@ extern "C" {
       if (!print) return F_status_set_error(F_parameter);
     #endif // _di_level_2_parameter_checking_
 
-    private_fll_program_print_help_option(print, f_console_standard_short_help_s, f_console_standard_long_help_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, "         Print this help message.");
-    private_fll_program_print_help_option(print, f_console_standard_short_copyright_s, f_console_standard_long_copyright_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "    Print the copyright.");
-    private_fll_program_print_help_option(print, f_console_standard_short_dark_s, f_console_standard_long_dark_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "         Output using colors that show up better on dark backgrounds.");
-    private_fll_program_print_help_option(print, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "        Output using colors that show up better on light backgrounds.");
-    private_fll_program_print_help_option(print, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "     Do not print using color.");
-    private_fll_program_print_help_option(print, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "        Decrease verbosity, silencing most print->to.");
-    private_fll_program_print_help_option(print, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "        Decrease verbosity, using only error print->to.");
-    private_fll_program_print_help_option(print, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "       Set verbosity to normal.");
-    private_fll_program_print_help_option(print, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "      Increase verbosity beyond normal print->to.");
-    private_fll_program_print_help_option(print, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "        Enable debugging, significantly increasing verbosity beyond normal print->to.");
-    private_fll_program_print_help_option(print, f_console_standard_short_version_s, f_console_standard_long_version_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "      Print only the version number.");
-    private_fll_program_print_help_option(print, f_console_standard_short_line_first_no_s, f_console_standard_long_line_first_no_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "Disable printing of first line.");
-    private_fll_program_print_help_option(print, f_console_standard_short_line_last_no_s, f_console_standard_long_line_last_no_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, " Disable printing of last line.");
+    private_fll_program_print_help_option(print, f_console_standard_short_help_s, f_console_standard_long_help_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, "     Print this help message.");
+    private_fll_program_print_help_option(print, f_console_standard_short_copyright_s, f_console_standard_long_copyright_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "Print the copyright.");
+    private_fll_program_print_help_option(print, f_console_standard_short_dark_s, f_console_standard_long_dark_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "     Output using colors that show up better on dark backgrounds.");
+    private_fll_program_print_help_option(print, f_console_standard_short_light_s, f_console_standard_long_light_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "    Output using colors that show up better on light backgrounds.");
+    private_fll_program_print_help_option(print, f_console_standard_short_no_color_s, f_console_standard_long_no_color_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, " Do not print using color.");
+    private_fll_program_print_help_option(print, f_console_standard_short_quiet_s, f_console_standard_long_quiet_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "    Decrease verbosity, silencing most print->to.");
+    private_fll_program_print_help_option(print, f_console_standard_short_error_s, f_console_standard_long_error_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "    Decrease verbosity, using only error print->to.");
+    private_fll_program_print_help_option(print, f_console_standard_short_normal_s, f_console_standard_long_normal_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "   Set verbosity to normal.");
+    private_fll_program_print_help_option(print, f_console_standard_short_verbose_s, f_console_standard_long_verbose_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "  Increase verbosity beyond normal print->to.");
+    private_fll_program_print_help_option(print, f_console_standard_short_debug_s, f_console_standard_long_debug_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "    Enable debugging, significantly increasing verbosity beyond normal print->to.");
+    private_fll_program_print_help_option(print, f_console_standard_short_version_s, f_console_standard_long_version_s, f_console_symbol_short_inverse_s, f_console_symbol_long_inverse_s, "  Print only the version number.");
 
     return F_okay;
   }
index d4e610bd4742376e010b6990b0bb87b91f9f2d65..813070324cc644258cb00375be48f3d3dfda32ad 100644 (file)
@@ -7,19 +7,7 @@ extern "C" {
 #ifndef _di_byte_dump_main_
   void byte_dump_main(byte_dump_main_t * const main) {
 
-    if (!main) return;
-
-    if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & byte_dump_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
-      return;
-    }
-
-    if ((main->setting.flag & byte_dump_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
+    if (!main || F_status_is_error(main->setting.state.status)) return;
 
     main->setting.state.status = F_okay;
 
@@ -34,10 +22,6 @@ extern "C" {
         fll_program_print_copyright(&main->program.message, fll_program_copyright_year_author_s);
       }
 
-      if ((main->setting.flag & byte_dump_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       return;
     }
 
@@ -97,10 +81,6 @@ extern "C" {
 
       byte_dump_print_error_file_none(&main->program.error);
     }
-
-    if ((main->setting.flag & byte_dump_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
   }
 #endif // _di_byte_dump_main_
 
index d31c6d0905e3a89102945a09ba18dd2e4c6dd90c..211b8c4fe1d84abd4023d0d22383f3e9095e0ba3 100644 (file)
@@ -15,25 +15,7 @@ extern "C" {
 
     main->setting.state.step_small = byte_dump_allocation_small_d;
 
-    if (main->program.parameters.array[f_console_standard_parameter_line_first_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~byte_dump_main_flag_print_first_e;
-    }
-    else {
-      main->setting.flag |= byte_dump_main_flag_print_first_e;
-    }
-
-    if (main->program.parameters.array[f_console_standard_parameter_line_last_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~byte_dump_main_flag_print_last_e;
-    }
-    else {
-      main->setting.flag |= byte_dump_main_flag_print_last_e;
-    }
-
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & byte_dump_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       byte_dump_print_error(&main->program.error, macro_byte_dump_f(f_console_parameter_process));
 
       return;
@@ -42,10 +24,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_context_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & byte_dump_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       byte_dump_print_error(&main->program.error, macro_byte_dump_f(fll_program_parameter_process_context_standard));
 
       return;
@@ -54,10 +32,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_verbosity_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & byte_dump_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       byte_dump_print_error(&main->program.error, macro_byte_dump_f(fll_program_parameter_process_verbosity_standard));
 
       return;
@@ -77,10 +51,6 @@ extern "C" {
         main->setting.state.status = f_console_parameter_prioritize_right(main->program.parameters, choices, &choice);
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & byte_dump_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           byte_dump_print_error(&main->program.error, macro_byte_dump_f(f_console_parameter_prioritize_right));
 
           return;
@@ -113,10 +83,6 @@ extern "C" {
         main->setting.state.status = f_console_parameter_prioritize_right(main->program.parameters, choices, &choice);
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & byte_dump_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           byte_dump_print_error(&main->program.error, macro_byte_dump_f(f_console_parameter_prioritize_right));
 
           return;
@@ -143,10 +109,6 @@ extern "C" {
         main->setting.state.status = f_console_parameter_prioritize_right(main->program.parameters, choices, &choice);
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & byte_dump_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           byte_dump_print_error(&main->program.error, macro_byte_dump_f(f_console_parameter_prioritize_right));
 
           return;
@@ -200,10 +162,6 @@ extern "C" {
       }
 
       if (F_status_is_error(main->setting.state.status) || number < 0x1 || number >= 0xfb) {
-        if ((main->setting.flag & byte_dump_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         byte_dump_print_error_parameter_range_out(&main->program.error, byte_dump_long_width_s, 1, 250, main->program.parameters.arguments.array[index]);
 
         return;
@@ -214,10 +172,6 @@ extern "C" {
     else if (main->program.parameters.array[byte_dump_parameter_width_e].result & f_console_result_found_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & byte_dump_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, byte_dump_long_width_s);
 
       return;
@@ -257,10 +211,6 @@ extern "C" {
           }
 
           if (F_status_is_error(main->setting.state.status)) {
-            if ((main->setting.flag & byte_dump_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             byte_dump_print_error_parameter_range_out(&main->program.error, names[i], 0, F_number_t_size_unsigned_d, main->program.parameters.arguments.array[index]);
 
             return;
@@ -272,10 +222,6 @@ extern "C" {
         else if (main->program.parameters.array[indexs[i]].result & f_console_result_found_e) {
           main->setting.state.status = F_status_set_error(F_parameter);
 
-          if ((main->setting.flag & byte_dump_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, names[i]);
 
           return;
@@ -289,10 +235,6 @@ extern "C" {
         if (main->setting.first > main->setting.last) {
           main->setting.state.status = F_status_set_error(F_parameter);
 
-          if ((main->setting.flag & byte_dump_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fll_program_print_error_parameter_first_greater_than_last(&main->program.error);
 
           return;
@@ -335,10 +277,6 @@ extern "C" {
       main->setting.state.status = f_memory_array_increase_by(main->program.parameters.remaining.used, sizeof(f_string_dynamic_t), (void **) &main->setting.files.array, &main->setting.files.used, &main->setting.files.size);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & byte_dump_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         byte_dump_print_error(&main->program.error, macro_byte_dump_f(f_memory_array_increase_by));
 
         return;
@@ -367,10 +305,6 @@ extern "C" {
 
         if (F_status_is_error(main->setting.state.status)) {
           if (status_files == F_okay) {
-            if ((main->setting.flag & byte_dump_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             status_files = main->setting.state.status;
           }
 
index 87c33af3dd10c7ff1188d192814790c46e3a8aec..fc34ee7dc92389bf8e8548c9f1be1474a176d0a8 100644 (file)
@@ -68,8 +68,6 @@ extern "C" {
  *   - last:                   The last position is specified.
  *   - placeholder:            Placeholder is specified.
  *   - pipe:                   Use the input pipe.
- *   - print_first:            When set, print new line to message output on program begin after loading settings.
- *   - print_last:             When set, print new line to message output on program end.
  *   - text:                   Text is specified.
  *   - unicode:                Unicode is specified.
  *   - version:                Print version.
@@ -86,13 +84,11 @@ extern "C" {
     byte_dump_main_flag_last_e                   = 0x10,
     byte_dump_main_flag_pipe_e                   = 0x20,
     byte_dump_main_flag_placeholder_e            = 0x40,
-    byte_dump_main_flag_print_first_e            = 0x80,
-    byte_dump_main_flag_print_last_e             = 0x100,
-    byte_dump_main_flag_text_e                   = 0x200,
-    byte_dump_main_flag_unicode_e                = 0x400,
-    byte_dump_main_flag_version_e                = 0x800,
-    byte_dump_main_flag_version_copyright_help_e = 0x80a,
-    byte_dump_main_flag_wide_e                   = 0x1000,
+    byte_dump_main_flag_text_e                   = 0x80,
+    byte_dump_main_flag_unicode_e                = 0x100,
+    byte_dump_main_flag_version_e                = 0x200,
+    byte_dump_main_flag_version_copyright_help_e = 0x20a,
+    byte_dump_main_flag_wide_e                   = 0x400,
   }; // enum
 #endif // _di_byte_dump_main_flag_e_
 
index 12f9219fbe4a2eddef56f2144851a54ec6368ac1..36a35b0b03af63369865553d8465417cd9e41d4e 100644 (file)
@@ -609,20 +609,6 @@ extern "C" {
 
     main->setting.state.step_small = controller_allocation_small_d;
 
-    if (main->program.parameters.array[f_console_standard_parameter_line_first_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~controller_main_flag_print_first_e;
-    }
-    else {
-      main->setting.flag |= controller_main_flag_print_first_e;
-    }
-
-    if (main->program.parameters.array[f_console_standard_parameter_line_last_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~controller_main_flag_print_last_e;
-    }
-    else {
-      main->setting.flag |= controller_main_flag_print_last_e;
-    }
-
     if (F_status_is_error(main->setting.state.status)) {
       fll_error_print(&main->program.error, F_status_set_fine(main->setting.state.status), "f_console_parameter_process", fll_error_file_flag_fallback_e);
 
index 429380f158db1ca27fdbadce58ad5012897cb70d..258c3d1f780d1bc77436594269d5df7668523e78 100644 (file)
@@ -355,8 +355,6 @@ extern "C" {
  *   - header:                 Enable printing of headers.
  *   - help:                   Print help.
  *   - init:                   Operate as an "init" program.
- *   - print_first:            When set, print new line to message output on program begin after loading settings.
- *   - print_last:             When set, print new line to message output on program end.
  *   - separate:               Enable printing of separators.
  *   - strip_invalid:          Using strip invalid character mode.
  *   - verify:                 Using verify mode.
@@ -372,13 +370,11 @@ extern "C" {
     controller_main_flag_header_e                 = 0x8,
     controller_main_flag_help_e                   = 0x10,
     controller_main_flag_init_e                   = 0x20,
-    controller_main_flag_print_first_e            = 0x40,
-    controller_main_flag_print_last_e             = 0x80,
-    controller_main_flag_separate_e               = 0x100,
-    controller_main_flag_strip_invalid_e          = 0x200,
-    controller_main_flag_verify_e                 = 0x400,
-    controller_main_flag_version_e                = 0x800,
-    controller_main_flag_version_copyright_help_e = 0x811,
+    controller_main_flag_separate_e               = 0x40,
+    controller_main_flag_strip_invalid_e          = 0x80,
+    controller_main_flag_verify_e                 = 0x100,
+    controller_main_flag_version_e                = 0x200,
+    controller_main_flag_version_copyright_help_e = 0x211,
   }; // enum
 #endif // _di_controller_main_flag_e_
 
index d5b7abe8405098c091592810f4a3793746c70480..1785baca983d0102842eba7c44c8f06305ff6aa3 100644 (file)
@@ -17,10 +17,6 @@ extern "C" {
 
     if (F_status_is_error(main->setting.state.status)) return;
 
-    if ((main->setting.flag & controller_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
-
     main->setting.state.status = F_okay;
 
     if (main->setting.flag & controller_main_flag_version_copyright_help_e) {
@@ -34,10 +30,6 @@ extern "C" {
         fll_program_print_copyright(&main->program.message, fll_program_copyright_year_author_s);
       }
 
-      if ((main->setting.flag & controller_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       return;
     }
 
index a200d3953fa5e82150459373d7a83b756302ad1c..58558765ad77183414edcf5d82a5464453589f5b 100644 (file)
@@ -15,25 +15,7 @@ extern "C" {
 
     main->setting.state.step_small = example_allocation_small_d;
 
-    if (main->program.parameters.array[f_console_standard_parameter_line_first_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~example_main_flag_print_first_e;
-    }
-    else {
-      main->setting.flag |= example_main_flag_print_first_e;
-    }
-
-    if (main->program.parameters.array[f_console_standard_parameter_line_last_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~example_main_flag_print_last_e;
-    }
-    else {
-      main->setting.flag |= example_main_flag_print_last_e;
-    }
-
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & example_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       example_print_error(&main->program.error, macro_example_f(f_console_parameter_process));
 
       return;
@@ -42,10 +24,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_context_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & example_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       example_print_error(&main->program.error, macro_example_f(fll_program_parameter_process_context_standard));
 
       return;
@@ -54,10 +32,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_verbosity_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & example_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       example_print_error(&main->program.error, macro_example_f(fll_program_parameter_process_verbosity_standard));
 
       return;
index 68307676c9addee77a675cce27381292a1b84b4e..b08140941bfb5657ca1a5c7abccd588e7ede4bcd 100644 (file)
@@ -28,8 +28,6 @@ extern "C" {
  *   - fine:                   Check if status is "fine".
  *   - help:                   Print help.
  *   - pipe:                   Use the input pipe.
- *   - print_first:            When set, print new line to message output on program begin after loading settings.
- *   - print_last:             When set, print new line to message output on program end.
  *   - version:                Print version.
  *   - version_copyright_help: A helper flag representing version, copyright, and help flag bits being set.
  *   - warning:                Check if status is "warning".
@@ -42,11 +40,9 @@ extern "C" {
     example_main_flag_fine_e                   = 0x4,
     example_main_flag_help_e                   = 0x8,
     example_main_flag_pipe_e                   = 0x10,
-    example_main_flag_print_first_e            = 0x20,
-    example_main_flag_print_last_e             = 0x40,
-    example_main_flag_version_e                = 0x80,
-    example_main_flag_version_copyright_help_e = 0x89,
-    example_main_flag_warning_e                = 0x100,
+    example_main_flag_version_e                = 0x20,
+    example_main_flag_version_copyright_help_e = 0x29,
+    example_main_flag_warning_e                = 0x40,
   }; // enum
 #endif // _di_example_main_flag_e_
 
index 9f006ce07ecb6b928740dbd657aa7479157ff4c0..d5e0afba8efc0df454857d23fc908efae86a9004 100644 (file)
@@ -7,19 +7,7 @@ extern "C" {
 #ifndef _di_example_main_
   void example_main(example_main_t * const main) {
 
-    if (!main) return;
-
-    if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & example_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
-      return;
-    }
-
-    if ((main->setting.flag & example_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
+    if (!main || F_status_is_error(main->setting.state.status)) return;
 
     main->setting.state.status = F_okay;
 
@@ -34,20 +22,12 @@ extern "C" {
         fll_program_print_copyright(&main->program.message, fll_program_copyright_year_author_s);
       }
 
-      if ((main->setting.flag & example_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       return;
     }
 
     if (main->setting.state.status == F_status_set_error(F_interrupt)) {
       fll_program_print_signal_received(&main->program.warning, main->program.signal_received);
     }
-
-    if ((main->setting.flag & example_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
   }
 #endif // _di_example_main_
 
index 4473501b59b5fcffba9164c163fda2fa599a8186..107ba3aaadff1c3544d51e881fbb9bbbba4f73ec 100644 (file)
@@ -25,25 +25,7 @@ extern "C" {
       main->setting.state.step_small = step_original;
     }
 
-    if (main->program.parameters.array[f_console_standard_parameter_line_first_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~fake_main_flag_print_first_e;
-    }
-    else {
-      main->setting.flag |= fake_main_flag_print_first_e;
-    }
-
-    if (main->program.parameters.array[f_console_standard_parameter_line_last_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~fake_main_flag_print_last_e;
-    }
-    else {
-      main->setting.flag |= fake_main_flag_print_last_e;
-    }
-
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fake_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fake_print_error(&main->program.error, macro_fake_f(f_console_parameter_process));
 
       return;
@@ -52,10 +34,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_context_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fake_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fake_print_error(&main->program.error, macro_fake_f(fll_program_parameter_process_context_standard));
 
       return;
@@ -64,10 +42,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_verbosity_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fake_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fake_print_error(&main->program.error, macro_fake_f(fll_program_parameter_process_verbosity_standard));
 
       return;
@@ -226,10 +200,6 @@ extern "C" {
           if ((main->program.parameters.array[parameters[i]].result & f_console_result_found_e) && !(main->program.parameters.array[parameters[i]].result & f_console_result_value_e)) {
             main->setting.state.status = F_status_set_error(F_parameter);
 
-            if ((main->setting.flag & fake_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             if (main->program.error.verbosity > f_console_verbosity_quiet_e) {
               fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, names[i]);
             }
@@ -249,10 +219,6 @@ extern "C" {
                   // @todo fix this to print an error about the actual invalid character so that it can be investigated.
 
                   if (F_status_is_error(main->setting.state.status)) {
-                    if ((main->setting.flag & fake_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-                      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-                    }
-
                     if (fake_print_error_fallback(&main->program.error, macro_fake_f(f_utf_is_word_dash_plus)) == F_false) {
                       fll_program_print_error_parameter_process(&main->program.error, f_console_symbol_long_normal_s, names[i]);
                     }
@@ -263,10 +229,6 @@ extern "C" {
                   if (main->setting.state.status == F_false) {
                     main->setting.state.status = F_status_set_error(F_parameter);
 
-                    if ((main->setting.flag & fake_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-                      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-                    }
-
                     fake_print_error_parameter_not_word(&main->program.error, f_console_symbol_long_normal_s, names[i], main->program.parameters.arguments.array[index]);
 
                     return;
@@ -278,10 +240,6 @@ extern "C" {
                 main->setting.state.status = f_path_directory_cleanup(main->program.parameters.arguments.array[index], variable[i]);
 
                 if (F_status_is_error(main->setting.state.status)) {
-                  if ((main->setting.flag & fake_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-                    fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-                  }
-
                   if (main->program.error.verbosity > f_console_verbosity_quiet_e) {
                     if (fake_print_error_fallback(&main->program.error, macro_fake_f(f_path_directory_cleanup)) == F_false) {
                       fll_program_print_error_parameter_process(&main->program.error, f_console_symbol_long_normal_s, names[i]);
@@ -298,10 +256,6 @@ extern "C" {
                   main->setting.state.status = f_memory_array_resize(0, sizeof(f_char_t), (void **) &variable[i]->string, &variable[i]->used, &variable[i]->size);
 
                   if (F_status_is_error(main->setting.state.status)) {
-                    if ((main->setting.flag & fake_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-                      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-                    }
-
                     fake_print_error(&main->program.error, macro_fake_f(f_memory_array_resize));
 
                     return;
@@ -316,10 +270,6 @@ extern "C" {
               if (!variable[i]->used) {
                 main->setting.state.status = F_status_set_error(F_parameter);
 
-                if ((main->setting.flag & fake_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-                  fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-                }
-
                 fake_print_error_parameter_not_empty(&main->program.error, f_console_symbol_long_normal_s, names[i], main->program.parameters.arguments.array[index]);
 
                 return;
@@ -335,10 +285,6 @@ extern "C" {
               main->setting.state.status = f_memory_array_resize(0, sizeof(f_char_t), (void **) &variable[i]->string, &variable[i]->used, &variable[i]->size);
 
               if (F_status_is_error(main->setting.state.status)) {
-                if ((main->setting.flag & fake_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-                  fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-                }
-
                 fake_print_error(&main->program.error, macro_fake_f(f_memory_array_resize));
 
                 return;
@@ -376,10 +322,6 @@ extern "C" {
             main->setting.state.status = F_status_set_error(F_parameter);
 
             if (main->program.error.verbosity > f_console_verbosity_quiet_e) {
-              if ((main->setting.flag & fake_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-                fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-              }
-
               fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, names[i]);
             }
 
@@ -390,10 +332,6 @@ extern "C" {
             main->setting.state.status = fll_program_parameter_additional_rip(main->program.parameters.arguments.array, main->program.parameters.array[parameters[i]].values, variable[i]);
 
             if (F_status_is_error(main->setting.state.status)) {
-              if ((main->setting.flag & fake_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-                fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-              }
-
               if (main->program.error.verbosity > f_console_verbosity_quiet_e) {
                 if (fake_print_error_fallback(&main->program.error, macro_fake_f(fll_program_parameter_additional_rip)) == F_false) {
                   fll_program_print_error_parameter_process(&main->program.error, f_console_symbol_long_normal_s, names[i]);
@@ -411,9 +349,6 @@ extern "C" {
                 main->setting.state.status = f_utf_is_word_dash_plus(main->program.parameters.arguments.array[i].string + j, width_max, F_false);
 
                 if (F_status_is_error(main->setting.state.status)) {
-                  if ((main->setting.flag & fake_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-                    fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-                  }
 
                   // @todo fix this to print an error about the actual invalid character so that it can be investigated.
                   if (fake_print_error_fallback(&main->program.error, macro_fake_f(f_utf_is_word_dash_plus)) == F_false) {
@@ -426,10 +361,6 @@ extern "C" {
                 if (main->setting.state.status == F_false) {
                   main->setting.state.status = F_status_set_error(F_parameter);
 
-                  if ((main->setting.flag & fake_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-                    fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-                  }
-
                   fake_print_error_parameter_not_word(&main->program.error, f_console_symbol_long_normal_s, names[i], main->program.parameters.arguments.array[i]);
 
                   return;
@@ -451,10 +382,6 @@ extern "C" {
       main->setting.state.status = f_memory_array_increase_by(1, sizeof(uint8_t), (void **) &main->setting.operations.array, &main->setting.operations.used, &main->setting.operations.size);
 
       if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fake_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
         fake_print_error(&main->program.error, macro_fake_f(f_memory_array_increase_by));
 
         return;
index dc4869bbd0378125b2548b8c2440dac86908cf89..b9029a9cc25f6f958c4b54c71f11146074e05a19 100644 (file)
@@ -97,8 +97,6 @@ extern "C" {
  *   - operation_make:         The make operation is designated (or enabled as default).
  *   - operation_skeleton:     The skeleton operation is designated.
  *   - pipe:                   Use the input pipe.
- *   - print_first:            When set, print new line to message output on program begin after loading settings.
- *   - print_last:             When set, print new line to message output on program end.
  *   - separate:               Enable printing of separators.
  *   - strip_invalid:          Using strip invalid character mode.
  *   - verify:                 Using verify mode.
@@ -120,13 +118,11 @@ extern "C" {
     fake_main_flag_operation_make_e         = 0x200,
     fake_main_flag_operation_skeleton_e     = 0x400,
     fake_main_flag_pipe_e                   = 0x800,
-    fake_main_flag_print_first_e            = 0x1000,
-    fake_main_flag_print_last_e             = 0x2000,
-    fake_main_flag_separate_e               = 0x4000,
-    fake_main_flag_strip_invalid_e          = 0x8000,
-    fake_main_flag_verify_e                 = 0x10000,
-    fake_main_flag_version_e                = 0x20000,
-    fake_main_flag_version_copyright_help_e = 0x20021,
+    fake_main_flag_separate_e               = 0x1000,
+    fake_main_flag_strip_invalid_e          = 0x2000,
+    fake_main_flag_verify_e                 = 0x4000,
+    fake_main_flag_version_e                = 0x8000,
+    fake_main_flag_version_copyright_help_e = 0x8021,
   }; // enum
 #endif // _di_fake_main_flag_e_
 
index 4606f739198e42c789a7a601f889fc19d6eb5e6f..fb848b91c434836bdc57fe01b75b44eb52b06694 100644 (file)
@@ -7,19 +7,7 @@ extern "C" {
 #ifndef _di_fake_main_
   void fake_main(fake_main_t * const main) {
 
-    if (!main) return;
-
-    if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fake_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
-      return;
-    }
-
-    if ((main->setting.flag & fake_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
+    if (!main || F_status_is_error(main->setting.state.status)) return;
 
     main->setting.state.status = F_okay;
 
@@ -34,10 +22,6 @@ extern "C" {
         fll_program_print_copyright(&main->program.message, fll_program_copyright_year_author_s);
       }
 
-      if ((main->setting.flag & fake_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       return;
     }
 
@@ -46,10 +30,6 @@ extern "C" {
 
       fake_print_error_parameter_operation_not_with(&main->program.error, fake_other_operation_build_s, fake_other_operation_make_s);
 
-      if ((main->setting.flag & fake_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       return;
     }
 
@@ -61,10 +41,6 @@ extern "C" {
     if (F_status_is_error(main->setting.state.status)) {
       fake_data_delete(&data);
 
-      if ((main->setting.flag & fake_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       return;
     }
 
@@ -206,10 +182,6 @@ extern "C" {
       }
     }
 
-    if ((main->setting.flag & fake_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
-
     fake_data_delete(&data);
   }
 #endif // _di_fake_main_
index 1d6cc3f255d5bb1a7bb651eca9a138ee6e69949c..787dfc685d1dfc33000f74a53a2a2e69cd92b145 100644 (file)
@@ -15,25 +15,7 @@ extern "C" {
 
     main->setting.state.step_small = firewall_allocation_small_d;
 
-    if (main->program.parameters.array[f_console_standard_parameter_line_first_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~firewall_main_flag_print_first_e;
-    }
-    else {
-      main->setting.flag |= firewall_main_flag_print_first_e;
-    }
-
-    if (main->program.parameters.array[f_console_standard_parameter_line_last_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~firewall_main_flag_print_last_e;
-    }
-    else {
-      main->setting.flag |= firewall_main_flag_print_last_e;
-    }
-
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & firewall_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       firewall_print_error(&main->program.error, macro_firewall_f(f_console_parameter_process));
 
       return;
@@ -42,10 +24,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_context_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & firewall_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       firewall_print_error(&main->program.error, macro_firewall_f(fll_program_parameter_process_context_standard));
 
       return;
@@ -54,10 +32,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_verbosity_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & firewall_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       firewall_print_error(&main->program.error, macro_firewall_f(fll_program_parameter_process_verbosity_standard));
 
       return;
index d13cd6b406b889ca4af3b2fd58259936c9fc4c12..1303a877ca280be8739269cfce7feca7ed5c99ea 100644 (file)
@@ -37,8 +37,6 @@ extern "C" {
  *   - operation_stop_restart:           A helper flag representing both the stop and restart operation flag set.
  *   - operation_stop_restart_lock:      A helper flag representing both the stop, restart, and lock operation flag set.
  *   - pipe:                             Use the input pipe.
- *   - print_first:                      When set, print new line to message output on program begin after loading settings.
- *   - print_last:                       When set, print new line to message output on program end.
  *   - version:                          Print version.
  *   - version_copyright_help:           A helper flag representing version, copyright, and help flag bits being set.
  */
@@ -61,10 +59,8 @@ extern "C" {
     firewall_main_flag_operation_stop_restart_e           = 0x208,
     firewall_main_flag_operation_stop_restart_lock_e      = 0x20c,
     firewall_main_flag_pipe_e                             = 0x400,
-    firewall_main_flag_print_first_e                      = 0x800,
-    firewall_main_flag_print_last_e                       = 0x1000,
-    firewall_main_flag_version_e                          = 0x2000,
-    firewall_main_flag_version_copyright_help_e           = 0x2003,
+    firewall_main_flag_version_e                          = 0x800,
+    firewall_main_flag_version_copyright_help_e           = 0x803,
   }; // enum
 #endif // _di_firewall_main_flag_e_
 
index 9dd4bc396336520d992382e94154f162439bf818..7237dde154b1086cecc405c3405b8d61c0da1e26 100644 (file)
@@ -7,19 +7,7 @@ extern "C" {
 #ifndef _di_firewall_main_
   void firewall_main(firewall_main_t * const main) {
 
-    if (!main) return;
-
-    if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & firewall_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
-      return;
-    }
-
-    if ((main->setting.flag & firewall_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
+    if (!main || F_status_is_error(main->setting.state.status)) return;
 
     main->setting.state.status = F_okay;
 
@@ -34,10 +22,6 @@ extern "C" {
         fll_program_print_copyright(&main->program.message, fll_program_copyright_year_author_s);
       }
 
-      if ((main->setting.flag & firewall_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       return;
     }
 
@@ -50,10 +34,6 @@ extern "C" {
       firewall_print_error_operation_specified_not(&main->program.error);
     }
 
-    if ((main->setting.flag & firewall_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
-
     if (F_status_is_error(main->setting.state.status) || main->setting.state.status == F_interrupt) return;
 
     main->setting.state.status = F_okay;
index f7da7af6d5ca41e424c913a135384e7851413ab8..7885ef30414e771c9ad6bf67b4a5dcb69a476926 100644 (file)
@@ -15,25 +15,7 @@ extern "C" {
 
     main->setting.state.step_small = fss_identify_allocation_small_d;
 
-    if (main->program.parameters.array[f_console_standard_parameter_line_first_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~fss_identify_main_flag_print_first_e;
-    }
-    else {
-      main->setting.flag |= fss_identify_main_flag_print_first_e;
-    }
-
-    if (main->program.parameters.array[f_console_standard_parameter_line_last_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~fss_identify_main_flag_print_last_e;
-    }
-    else {
-      main->setting.flag |= fss_identify_main_flag_print_last_e;
-    }
-
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fss_identify_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fss_identify_print_error(&main->program.error, macro_fss_identify_f(f_console_parameter_process));
 
       return;
@@ -42,10 +24,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_context_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fss_identify_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fss_identify_print_error(&main->program.error, macro_fss_identify_f(fll_program_parameter_process_context_standard));
 
       return;
@@ -54,10 +32,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_verbosity_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fss_identify_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fss_identify_print_error(&main->program.error, macro_fss_identify_f(fll_program_parameter_process_verbosity_standard));
 
       return;
@@ -115,10 +89,6 @@ extern "C" {
       }
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & fss_identify_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fll_program_print_error_parameter_integer_not(&main->program.error, f_console_symbol_long_normal_s, fss_identify_long_line_s, main->program.parameters.arguments.array[index]);
 
         return;
@@ -129,10 +99,6 @@ extern "C" {
     else if (main->program.parameters.array[fss_identify_parameter_line_e].result & f_console_result_found_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & fss_identify_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, fss_identify_long_line_s);
 
       return;
@@ -147,10 +113,6 @@ extern "C" {
       main->setting.state.status = f_memory_array_increase_by(main->program.parameters.array[fss_identify_parameter_name_e].values.used, sizeof(f_string_dynamic_t), (void **) &main->setting.names.array, &main->setting.names.used, &main->setting.names.size);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & fss_identify_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fss_identify_print_error(&main->program.error, macro_fss_identify_f(f_memory_array_increase_by));
 
         return;
@@ -172,10 +134,6 @@ extern "C" {
         main->setting.state.status = f_string_dynamic_append_nulless(main->program.parameters.arguments.array[index], &main->setting.names.array[i]);
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & fss_identify_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fss_identify_print_error(&main->program.error, macro_fss_identify_f(f_string_dynamic_append_nulless));
 
           break;
@@ -189,12 +147,6 @@ extern "C" {
             main->setting.state.status = f_utf_is_word_dash(main->setting.names.array[i].string + j, main->setting.names.array[i].used, F_true);
 
             if (F_status_is_error(main->setting.state.status)) {
-              if (F_status_is_error_not(main->setting.state.status)) {
-                if ((main->setting.flag & fss_identify_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-                  fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-                }
-              }
-
               fss_identify_print_error(&main->program.error, macro_fss_identify_f(f_utf_is_word_dash));
 
               return;
@@ -205,10 +157,6 @@ extern "C" {
 
               if (F_status_is_error_not(main->setting.state.status)) {
                 status = F_status_set_error(F_parameter);
-
-                if ((main->setting.flag & fss_identify_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-                  fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-                }
               }
 
               fss_identify_print_error_parameter_file_name_invalid(&main->program.error, index, main->setting.names.array[i]);
@@ -220,10 +168,6 @@ extern "C" {
         else {
           if (F_status_is_error_not(main->setting.state.status)) {
             status = F_status_set_error(F_parameter);
-
-            if ((main->setting.flag & fss_identify_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
           }
 
           fss_identify_print_error_parameter_file_name_empty(&main->program.error, index);
@@ -243,10 +187,6 @@ extern "C" {
     else if (main->program.parameters.array[fss_identify_parameter_name_e].result & f_console_result_found_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & fss_identify_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, fss_identify_long_name_s);
 
       return;
@@ -261,10 +201,6 @@ extern "C" {
       main->setting.state.status = f_memory_array_increase_by(main->program.parameters.remaining.used, sizeof(f_string_dynamic_t), (void **) &main->setting.files.array, &main->setting.files.used, &main->setting.files.size);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & fss_identify_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fss_identify_print_error(&main->program.error, macro_fss_identify_f(f_memory_array_increase_by));
 
         return;
@@ -298,10 +234,6 @@ extern "C" {
     if (!(main->setting.flag & fss_identify_main_flag_pipe_e | fss_identify_main_flag_file_from_e)) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & fss_identify_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fss_identify_print_error_no_from(&main->program.error);
 
       return;
@@ -317,10 +249,6 @@ extern "C" {
       if (main->setting.flag & (fss_identify_main_flag_content_e | fss_identify_main_flag_object_e)) {
         main->setting.state.status = F_status_set_error(F_parameter);
 
-        if ((main->setting.flag & fss_identify_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         if (main->program.error.verbosity > f_console_verbosity_quiet_e) {
           fll_program_print_error_parameter_cannot_use_with(&main->program.error, f_console_symbol_long_normal_s, f_console_symbol_long_normal_s, main->setting.flag & fss_identify_main_flag_content_e ? fss_identify_long_content_s : fss_identify_long_object_s, fss_identify_long_total_s);
         }
index 9721206a83febdcc9e16744695efadf708c08c73..8cf2a86b205931880aa2af100bae13446ec54e66 100644 (file)
@@ -31,8 +31,6 @@ extern "C" {
  *   - name:                   Select using this full or partial type name or code.
  *   - object:                 Use the object (The "FSS" part of "FSS-0000").
  *   - pipe:                   Use the input pipe.
- *   - print_first:            When set, print new line to message output on program begin after loading settings.
- *   - print_last:             When set, print new line to message output on program end.
  *   - total:                  Print the total Identifiers found.
  *   - version:                Print version.
  *   - version_copyright_help: A helper flag representing version, copyright, and help flag bits being set.
@@ -50,11 +48,9 @@ extern "C" {
     fss_identify_main_flag_name_e                   = 0x80,
     fss_identify_main_flag_object_e                 = 0x100,
     fss_identify_main_flag_pipe_e                   = 0x200,
-    fss_identify_main_flag_print_first_e            = 0x400,
-    fss_identify_main_flag_print_last_e             = 0x800,
-    fss_identify_main_flag_total_e                  = 0x1000,
-    fss_identify_main_flag_version_e                = 0x2000,
-    fss_identify_main_flag_version_copyright_help_e = 0x2022,
+    fss_identify_main_flag_total_e                  = 0x400,
+    fss_identify_main_flag_version_e                = 0x800,
+    fss_identify_main_flag_version_copyright_help_e = 0x822,
   }; // enum
 #endif // _di_fss_identify_main_flag_e_
 
index 3a86aa875fdb5a847705a4227e0926a48a952ee8..59965c8d5a5e812c908f0e312eab126b1f6b7af9 100644 (file)
@@ -7,19 +7,7 @@ extern "C" {
 #ifndef _di_fss_identify_main_
   void fss_identify_main(fss_identify_main_t * const main) {
 
-    if (!main) return;
-
-    if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fss_identify_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
-      return;
-    }
-
-    if ((main->setting.flag & fss_identify_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
+    if (!main || F_status_is_error(main->setting.state.status)) return;
 
     main->setting.state.status = F_okay;
 
@@ -34,10 +22,6 @@ extern "C" {
         fll_program_print_copyright(&main->program.message, fll_program_copyright_year_author_s);
       }
 
-      if ((main->setting.flag & fss_identify_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       return;
     }
 
@@ -85,10 +69,6 @@ extern "C" {
       }
     }
 
-    if ((main->setting.flag & fss_identify_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
-
     if (F_status_is_error(main->setting.state.status) || main->setting.state.status == F_interrupt) return;
 
     main->setting.state.status = F_okay;
index b4bfa651312fb662e695e014bade01971b66efc4..f89d3c360c0e33ac04032de09fd1a318c15e4ee2 100644 (file)
@@ -53,25 +53,7 @@ extern "C" {
 
     main->setting.state.step_small = fss_read_allocation_small_d;
 
-    if (parameters->array[f_console_standard_parameter_line_first_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~fss_read_main_flag_print_first_e;
-    }
-    else {
-      main->setting.flag |= fss_read_main_flag_print_first_e;
-    }
-
-    if (parameters->array[f_console_standard_parameter_line_last_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~fss_read_main_flag_print_last_e;
-    }
-    else {
-      main->setting.flag |= fss_read_main_flag_print_last_e;
-    }
-
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fss_read_print_error(&main->program.error, macro_fss_read_f(f_console_parameter_process));
 
       return;
@@ -80,10 +62,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_context_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fss_read_print_error(&main->program.error, macro_fss_read_f(fll_program_parameter_process_context_standard));
 
       return;
@@ -92,10 +70,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_verbosity_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fss_read_print_error(&main->program.error, macro_fss_read_f(fll_program_parameter_process_verbosity_standard));
 
       return;
@@ -211,10 +185,6 @@ extern "C" {
         else if (parameters->array[parameter_code[i]].result & f_console_result_found_e) {
           main->setting.state.status = F_status_set_error(F_parameter);
 
-          if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fss_read_print_error_parameter_requires_message(&main->program.error, f_console_symbol_long_normal_s, parameter_name[i], parameter_message[i]);
 
           return;
@@ -253,10 +223,6 @@ extern "C" {
           main->setting.state.status = F_status_set_error(F_parameter);
 
           if (main->program.error.verbosity > f_console_verbosity_quiet_e) {
-            if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             fll_program_print_error_parameter_cannot_use_with(&main->program.error, f_console_symbol_long_normal_s, f_console_symbol_long_normal_s, fss_read_long_columns_s, parameter_name[i]);
           }
 
@@ -272,10 +238,6 @@ extern "C" {
         main->setting.state.status = F_status_set_error(F_parameter);
 
         if (main->program.error.verbosity > f_console_verbosity_quiet_e) {
-          if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fll_program_print_error_parameter_cannot_use_with(
             &main->program.error, f_console_symbol_long_normal_s,
             f_console_symbol_long_normal_s,
@@ -306,10 +268,6 @@ extern "C" {
         if (!length) {
           main->setting.state.status = F_status_set_error(F_parameter);
 
-          if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fll_program_print_error_parameter_empty_value(&main->program.error, f_console_symbol_long_normal_s, fss_read_long_delimit_s);
 
           return;
@@ -406,10 +364,6 @@ extern "C" {
           main->setting.state.status = fl_conversion_dynamic_partial_to_unsigned_detect(fl_conversion_data_base_10_c, parameters->arguments.array[index], main->setting.range, &main->setting.delimit_depth);
 
           if (F_status_is_error(main->setting.state.status)) {
-            if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             fll_error_parameter_integer_print(&main->program.error, F_status_set_fine(main->setting.state.status), macro_fss_read_f(fl_conversion_dynamic_partial_to_unsigned_detect), F_true, fss_read_long_delimit_s, parameters->arguments.array[index]);
 
             return;
@@ -503,10 +457,6 @@ extern "C" {
       } // while
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fll_error_file_print(&main->program.error, F_status_set_fine(main->setting.state.status), macro_fss_read_f(f_file_stream_read_block), fll_error_file_flag_fallback_e, f_string_ascii_minus_s, f_file_operation_read_s, fll_error_file_type_pipe_e);
 
         return;
@@ -549,10 +499,6 @@ extern "C" {
         main->setting.state.status = f_file_stream_open(file_data->name, f_string_empty_s, &file);
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fll_error_file_print(&main->program.error, F_status_set_fine(main->setting.state.status), macro_fss_read_f(f_file_stream_open), fll_error_file_flag_fallback_e, parameters->arguments.array[index], f_file_operation_open_s, fll_error_file_type_file_e);
 
           break;
@@ -563,10 +509,6 @@ extern "C" {
         main->setting.state.status = f_file_size(file_data->name, F_true, &size_file);
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fll_error_file_print(&main->program.error, F_status_set_fine(main->setting.state.status), macro_fss_read_f(f_file_size), fll_error_file_flag_fallback_e, parameters->arguments.array[index], f_file_operation_read_s, fll_error_file_type_file_e);
 
           break;
@@ -588,10 +530,6 @@ extern "C" {
           main->setting.state.status = f_memory_array_increase_by(size_file + 1, sizeof(f_char_t), (void **) &main->setting.buffer.string, &main->setting.buffer.used, &main->setting.buffer.size);
 
           if (F_status_is_error(main->setting.state.status)) {
-            if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             fll_error_file_print(&main->program.error, F_status_set_fine(main->setting.state.status), macro_fss_read_f(f_memory_array_increase_by), fll_error_file_flag_fallback_e, parameters->arguments.array[index], f_file_operation_process_s, fll_error_file_type_file_e);
 
             break;
@@ -607,10 +545,6 @@ extern "C" {
 
           if (F_status_is_error(main->setting.state.status)) {
             if (F_status_set_fine(main->setting.state.status) != F_interrupt) {
-              if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-                fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-              }
-
               fll_error_file_print(&main->program.error, F_status_set_fine(main->setting.state.status), macro_fss_read_f(f_file_stream_read_until), fll_error_file_flag_fallback_e, parameters->arguments.array[index], f_file_operation_read_s, fll_error_file_type_file_e);
             }
 
@@ -658,10 +592,6 @@ extern "C" {
       main->setting.state.status = fss_read_depths_resize(i, &main->setting.depths);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fss_read_print_error(&main->program.error, macro_fss_read_f(fss_read_depths_resize));
 
         return;
@@ -692,10 +622,6 @@ extern "C" {
         main->setting.state.status = fl_conversion_dynamic_to_unsigned_detect(fl_conversion_data_base_10_c, parameters->arguments.array[position_depth], &current->depth);
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fll_error_parameter_integer_print(&main->program.error, F_status_set_fine(main->setting.state.status), macro_fss_read_f(fl_conversion_dynamic_to_unsigned_detect), F_true, fss_read_long_depth_s, parameters->arguments.array[position_depth]);
 
           return;
@@ -721,10 +647,6 @@ extern "C" {
           main->setting.state.status = fl_conversion_dynamic_to_unsigned_detect(fl_conversion_data_base_10_c, parameters->arguments.array[current->index_at], &current->value_at);
 
           if (F_status_is_error(main->setting.state.status)) {
-            if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             fll_error_parameter_integer_print(&main->program.error, F_status_set_fine(main->setting.state.status), macro_fss_read_f(fl_conversion_dynamic_to_unsigned_detect), F_true, fss_read_long_at_s, parameters->arguments.array[current->index_at]);
 
             return;
@@ -753,10 +675,6 @@ extern "C" {
           }
 
           if (F_status_is_error(main->setting.state.status)) {
-            if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             fss_read_print_error(&main->program.error, (parameters->array[fss_read_parameter_trim_e].result & f_console_result_found_e) ? macro_fss_read_f(f_rip_dynamic) : macro_fss_read_f(f_string_dynamic_append));
 
             return;
@@ -778,10 +696,6 @@ extern "C" {
         if (current->depth == main->setting.depths.array[j].depth) {
           main->setting.state.status = F_status_set_error(F_parameter);
 
-          if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fss_read_print_error_parameter_value_once_only_number(&main->program.error, f_console_symbol_long_normal_s, fss_read_long_depth_s, current->depth);
 
           return;
@@ -790,10 +704,6 @@ extern "C" {
         if (current->depth > main->setting.depths.array[j].depth) {
           main->setting.state.status = F_status_set_error(F_parameter);
 
-          if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fss_read_print_error_parameter_value_before_value_number(&main->program.error, f_console_symbol_long_normal_s, fss_read_long_depth_s, current->depth, main->setting.depths.array[j].depth);
 
           return;
index 04d95ba94eff5e5793a027e20f7b5e1bdff55c0a..e2aa1c02bd3332e9ec58dcc49b69900f945d0136 100644 (file)
@@ -44,8 +44,6 @@ extern "C" {
  *   - payload_warn:           Treat missing or invalid payload as a warning (when using FSS Payload and related).
  *   - pipe:                   Use the input pipe.
  *   - pipe_format:            Print using the special pipe format.
- *   - print_first:            When set, print new line to message output on program begin after loading settings.
- *   - print_last:             When set, print new line to message output on program end.
  *   - quote_content:          Designate that the standard supports quotes on Content.
  *   - quote_object:           Designate that the standard supports quotes on Objects.
  *   - select:                 A specific Content at a given position is to be selected (Think of this as select a column for some Content).
@@ -81,16 +79,14 @@ extern "C" {
     fss_read_main_flag_payload_warn_e           = 0x100000,
     fss_read_main_flag_pipe_e                   = 0x200000,
     fss_read_main_flag_pipe_format_e            = 0x400000,
-    fss_read_main_flag_print_first_e            = 0x800000,
-    fss_read_main_flag_print_last_e             = 0x1000000,
-    fss_read_main_flag_quote_content_e          = 0x2000000,
-    fss_read_main_flag_quote_object_e           = 0x4000000,
-    fss_read_main_flag_select_e                 = 0x8000000,
-    fss_read_main_flag_total_e                  = 0x10000000,
-    fss_read_main_flag_trim_e                   = 0x20000000,
-    fss_read_main_flag_trim_object_e            = 0x40000000,
-    fss_read_main_flag_version_e                = 0x80000000,
-    fss_read_main_flag_version_copyright_help_e = 0x80000420,
+    fss_read_main_flag_quote_content_e          = 0x800000,
+    fss_read_main_flag_quote_object_e           = 0x1000000,
+    fss_read_main_flag_select_e                 = 0x2000000,
+    fss_read_main_flag_total_e                  = 0x4000000,
+    fss_read_main_flag_trim_e                   = 0x8000000,
+    fss_read_main_flag_trim_object_e            = 0x10000000,
+    fss_read_main_flag_version_e                = 0x20000000,
+    fss_read_main_flag_version_copyright_help_e = 0x20000420,
   }; // enum
 #endif // _di_fss_read_main_flag_e_
 
index d76b3b7dcfd043497b80d0d95cac1b5eb29b73fd..765279b14f82cc9ceac5735455a9363d9a05ee81 100644 (file)
@@ -52,17 +52,7 @@ extern "C" {
 
     fss_read_main_t * const main = (fss_read_main_t *) void_main;
 
-    if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fss_read_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
-      return;
-    }
-
-    if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
+    if (F_status_is_error(main->setting.state.status)) return;
 
     main->setting.state.status = F_okay;
 
@@ -82,10 +72,6 @@ extern "C" {
         fll_program_print_copyright(&main->program.message, fll_program_copyright_year_author_s);
       }
 
-      if ((main->setting.flag & fss_read_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       return;
     }
 
@@ -94,10 +80,6 @@ extern "C" {
         main->callback.process_normal(void_main);
       }
     }
-
-    if ((main->setting.flag & fss_read_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
   }
 #endif // _di_fss_read_main_
 
@@ -125,10 +107,6 @@ extern "C" {
     main->setting.state.status = f_string_dynamic_append_assure(f_string_eol_s, &main->setting.buffer);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_error_file_print(&main->program.error, F_status_set_fine(main->setting.state.status), macro_fss_read_f(f_string_dynamic_append_assure), fll_error_file_flag_fallback_e, f_string_ascii_minus_s, f_file_operation_read_s, fll_error_file_type_pipe_e);
     }
   }
index ee42c188b4bb7eae6b3b2ea094ffb17aa078ceaf..e870b6b06dd4e1fc0c4022b37d6f61b4aa7f6891 100644 (file)
@@ -1223,182 +1223,182 @@ generate_operate_000e() {
 generate_operate_test_standard() {
   standard=$(echo "${standard}" | sed -e 's|^test-||')
 
-  fss_read +FLn -A ${standard} -c ${file_source} > ${test_current}content.expect &&
-  fss_read +FLn -A ${standard} -cO ${file_source} > ${test_current}content-original.expect &&
-  fss_read +FLn -A ${standard} -ct ${file_source} > ${test_current}content-total.expect &&
-  fss_read +FLn -A ${standard} -cT ${file_source} > ${test_current}content-trim.expect &&
-  fss_read +FLn -A ${standard} -cl 0 ${file_source} > ${test_current}content-line-0.expect &&
-  fss_read +FLn -A ${standard} -cl 1 ${file_source} > ${test_current}content-line-1.expect &&
-  fss_read +FLn -A ${standard} -cl 5 ${file_source} > ${test_current}content-line-5.expect &&
-  fss_read +FLn -A ${standard} -cl 6 ${file_source} > ${test_current}content-line-6.expect &&
-  fss_read +FLn -A ${standard} -cl 100 ${file_source} > ${test_current}content-line-100.expect &&
-  fss_read +FLn -A ${standard} -cs 0 ${file_source} > ${test_current}content-select-0.expect &&
-  fss_read +FLn -A ${standard} -cs 1 ${file_source} > ${test_current}content-select-1.expect &&
-  fss_read +FLn -A ${standard} -cs 5 ${file_source} > ${test_current}content-select-5.expect &&
-  fss_read +FLn -A ${standard} -cs 6 ${file_source} > ${test_current}content-select-6.expect &&
-  fss_read +FLn -A ${standard} -cs 100 ${file_source} > ${test_current}content-select-100.expect &&
-  fss_read +FLn -A ${standard} -cC ${file_source} > ${test_current}content-columns.expect &&
-  fss_read +FLn -A ${standard} -ca 0 ${file_source} > ${test_current}content-at-0.expect &&
-  fss_read +FLn -A ${standard} -ca 1 ${file_source} > ${test_current}content-at-1.expect &&
-  fss_read +FLn -A ${standard} -ca 5 ${file_source} > ${test_current}content-at-5.expect &&
-  fss_read +FLn -A ${standard} -ca 6 ${file_source} > ${test_current}content-at-6.expect &&
-  fss_read +FLn -A ${standard} -ca 100 ${file_source} > ${test_current}content-at-100.expect &&
-  fss_read +FLn -A ${standard} -cn hi ${file_source} > ${test_current}content-name-hi.expect &&
-  fss_read +FLn -A ${standard} -cn a ${file_source} > ${test_current}content-name-a.expect &&
-  fss_read +FLn -A ${standard} -cn "" ${file_source} > ${test_current}content-name-.expect &&
-  fss_read +FLn -A ${standard} -cn Ð¼Ð¸Ñ€ ${file_source} > ${test_current}content-name-мир.expect &&
-  fss_read +FLn -A ${standard} -cn "привет has space" ${file_source} > ${test_current}content-name-привет.expect &&
-  fss_read +FLn -A ${standard} -cnt hi ${file_source} > ${test_current}content-name-hi-total.expect &&
-  fss_read +FLn -A ${standard} -cnt a ${file_source} > ${test_current}content-name-a-total.expect &&
-  fss_read +FLn -A ${standard} -cnt "" ${file_source} > ${test_current}content-name--total.expect &&
-  fss_read +FLn -A ${standard} -cnt Ð¼Ð¸Ñ€ ${file_source} > ${test_current}content-name-мир-total.expect &&
-  fss_read +FLn -A ${standard} -cnt "привет has space" ${file_source} > ${test_current}content-name-привет-total.expect &&
-  fss_read +FLn -A ${standard} -cns hi 0 ${file_source} > ${test_current}content-name-hi-select-0.expect &&
-  fss_read +FLn -A ${standard} -cns hi 1 ${file_source} > ${test_current}content-name-hi-select-1.expect &&
-  fss_read +FLn -A ${standard} -cns a 0 ${file_source} > ${test_current}content-name-a-select-0.expect &&
-  fss_read +FLn -A ${standard} -cns a 1 ${file_source} > ${test_current}content-name-a-select-1.expect &&
-  fss_read +FLn -A ${standard} -cns a 2 ${file_source} > ${test_current}content-name-a-select-2.expect &&
-  fss_read +FLn -A ${standard} -cns a 5 ${file_source} > ${test_current}content-name-a-select-5.expect &&
-  fss_read +FLn -A ${standard} -cns a 6 ${file_source} > ${test_current}content-name-a-select-6.expect &&
-  fss_read +FLn -A ${standard} -cns a 100 ${file_source} > ${test_current}content-name-a-select-100.expect &&
-  fss_read +FLn -A ${standard} -cns "" 0 ${file_source} > ${test_current}content-name--select-0.expect &&
-  fss_read +FLn -A ${standard} -cns "" 1 ${file_source} > ${test_current}content-name--select-1.expect &&
-  fss_read +FLn -A ${standard} -cns Ð¼Ð¸Ñ€ 0 ${file_source} > ${test_current}content-name-мир-select-0.expect &&
-  fss_read +FLn -A ${standard} -cns Ð¼Ð¸Ñ€ 1 ${file_source} > ${test_current}content-name-мир-select-1.expect &&
-  fss_read +FLn -A ${standard} -cns "привет has space" 0 ${file_source} > ${test_current}content-name-привет-select-0.expect &&
-  fss_read +FLn -A ${standard} -cns "привет has space" 1 ${file_source} > ${test_current}content-name-привет-select-1.expect &&
-  fss_read +FLn -A ${standard} -cnst hi 0 ${file_source} > ${test_current}content-name-hi-select-0-total.expect &&
-  fss_read +FLn -A ${standard} -cnst hi 1 ${file_source} > ${test_current}content-name-hi-select-1-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 0 ${file_source} > ${test_current}content-name-a-select-0-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 1 ${file_source} > ${test_current}content-name-a-select-1-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 2 ${file_source} > ${test_current}content-name-a-select-2-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 5 ${file_source} > ${test_current}content-name-a-select-5-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 6 ${file_source} > ${test_current}content-name-a-select-6-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 100 ${file_source} > ${test_current}content-name-a-select-100-total.expect &&
-  fss_read +FLn -A ${standard} -cnst "" 0 ${file_source} > ${test_current}content-name--select-0-total.expect &&
-  fss_read +FLn -A ${standard} -cnst "" 1 ${file_source} > ${test_current}content-name--select-1-total.expect &&
-  fss_read +FLn -A ${standard} -cnst Ð¼Ð¸Ñ€ 0 ${file_source} > ${test_current}content-name-мир-select-0-total.expect &&
-  fss_read +FLn -A ${standard} -cnst Ð¼Ð¸Ñ€ 1 ${file_source} > ${test_current}content-name-мир-select-1-total.expect &&
-  fss_read +FLn -A ${standard} -cnst "привет has space" 0 ${file_source} > ${test_current}content-name-привет-select-0-total.expect &&
-  fss_read +FLn -A ${standard} -cnst "привет has space" 1 ${file_source} > ${test_current}content-name-привет-select-1-total.expect &&
-
-  fss_read +FLn -A ${standard} -o ${file_source} > ${test_current}object.expect &&
-  fss_read +FLn -A ${standard} -oO ${file_source} > ${test_current}object-original.expect &&
-  fss_read +FLn -A ${standard} -ot ${file_source} > ${test_current}object-total.expect &&
-  fss_read +FLn -A ${standard} -oT ${file_source} > ${test_current}object-trim.expect &&
-  fss_read +FLn -A ${standard} -ol 0 ${file_source} > ${test_current}object-line-0.expect &&
-  fss_read +FLn -A ${standard} -ol 1 ${file_source} > ${test_current}object-line-1.expect &&
-  fss_read +FLn -A ${standard} -ol 5 ${file_source} > ${test_current}object-line-5.expect &&
-  fss_read +FLn -A ${standard} -ol 6 ${file_source} > ${test_current}object-line-6.expect &&
-  fss_read +FLn -A ${standard} -ol 100 ${file_source} > ${test_current}object-line-100.expect &&
-  fss_read +FLn -A ${standard} -os 0 ${file_source} > ${test_current}object-select-0.expect &&
-  fss_read +FLn -A ${standard} -os 1 ${file_source} > ${test_current}object-select-1.expect &&
-  fss_read +FLn -A ${standard} -os 5 ${file_source} > ${test_current}object-select-5.expect &&
-  fss_read +FLn -A ${standard} -os 6 ${file_source} > ${test_current}object-select-6.expect &&
-  fss_read +FLn -A ${standard} -os 100 ${file_source} > ${test_current}object-select-100.expect &&
-  fss_read +FLn -A ${standard} -oC ${file_source} > ${test_current}object-columns.expect &&
-  fss_read +FLn -A ${standard} -oa 0 ${file_source} > ${test_current}object-at-0.expect &&
-  fss_read +FLn -A ${standard} -oa 1 ${file_source} > ${test_current}object-at-1.expect &&
-  fss_read +FLn -A ${standard} -oa 5 ${file_source} > ${test_current}object-at-5.expect &&
-  fss_read +FLn -A ${standard} -oa 6 ${file_source} > ${test_current}object-at-6.expect &&
-  fss_read +FLn -A ${standard} -oa 100 ${file_source} > ${test_current}object-at-100.expect &&
-  fss_read +FLn -A ${standard} -cn hi ${file_source} > ${test_current}object-name-hi.expect &&
-  fss_read +FLn -A ${standard} -cn "" ${file_source} > ${test_current}object-name-.expect &&
-  fss_read +FLn -A ${standard} -cn Ð¼Ð¸Ñ€ ${file_source} > ${test_current}object-name-мир.expect &&
-  fss_read +FLn -A ${standard} -cn "привет has space" ${file_source} > ${test_current}object-name-привет.expect &&
-  fss_read +FLn -A ${standard} -cn a ${file_source} > ${test_current}object-name-a.expect &&
-  fss_read +FLn -A ${standard} -cnt hi ${file_source} > ${test_current}object-name-hi-total.expect &&
-  fss_read +FLn -A ${standard} -cnt a ${file_source} > ${test_current}object-name-a-total.expect &&
-  fss_read +FLn -A ${standard} -cnt "" ${file_source} > ${test_current}object-name--total.expect &&
-  fss_read +FLn -A ${standard} -cnt Ð¼Ð¸Ñ€ ${file_source} > ${test_current}object-name-мир-total.expect &&
-  fss_read +FLn -A ${standard} -cnt "привет has space" ${file_source} > ${test_current}object-name-привет-total.expect &&
-  fss_read +FLn -A ${standard} -cns hi 0 ${file_source} > ${test_current}object-name-hi-select-0.expect &&
-  fss_read +FLn -A ${standard} -cns hi 1 ${file_source} > ${test_current}object-name-hi-select-1.expect &&
-  fss_read +FLn -A ${standard} -cns a 0 ${file_source} > ${test_current}object-name-a-select-0.expect &&
-  fss_read +FLn -A ${standard} -cns a 1 ${file_source} > ${test_current}object-name-a-select-1.expect &&
-  fss_read +FLn -A ${standard} -cns a 2 ${file_source} > ${test_current}object-name-a-select-2.expect &&
-  fss_read +FLn -A ${standard} -cns a 5 ${file_source} > ${test_current}object-name-a-select-5.expect &&
-  fss_read +FLn -A ${standard} -cns a 6 ${file_source} > ${test_current}object-name-a-select-6.expect &&
-  fss_read +FLn -A ${standard} -cns a 100 ${file_source} > ${test_current}object-name-a-select-100.expect &&
-  fss_read +FLn -A ${standard} -cns "" 0 ${file_source} > ${test_current}object-name--select-0.expect &&
-  fss_read +FLn -A ${standard} -cns "" 1 ${file_source} > ${test_current}object-name--select-1.expect &&
-  fss_read +FLn -A ${standard} -cns Ð¼Ð¸Ñ€ 0 ${file_source} > ${test_current}object-name-мир-select-0.expect &&
-  fss_read +FLn -A ${standard} -cns Ð¼Ð¸Ñ€ 1 ${file_source} > ${test_current}object-name-мир-select-1.expect &&
-  fss_read +FLn -A ${standard} -cns Ð¿Ñ€Ð¸Ð²ÐµÑ‚ 0 ${file_source} > ${test_current}object-name-привет-select-0.expect &&
-  fss_read +FLn -A ${standard} -cns Ð¿Ñ€Ð¸Ð²ÐµÑ‚ 1 ${file_source} > ${test_current}object-name-привет-select-1.expect &&
-  fss_read +FLn -A ${standard} -cnst hi 0 ${file_source} > ${test_current}object-name-hi-select-0-total.expect &&
-  fss_read +FLn -A ${standard} -cnst hi 1 ${file_source} > ${test_current}object-name-hi-select-1-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 0 ${file_source} > ${test_current}object-name-a-select-0-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 1 ${file_source} > ${test_current}object-name-a-select-1-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 2 ${file_source} > ${test_current}object-name-a-select-2-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 5 ${file_source} > ${test_current}object-name-a-select-5-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 6 ${file_source} > ${test_current}object-name-a-select-6-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 100 ${file_source} > ${test_current}object-name-a-select-100-total.expect &&
-  fss_read +FLn -A ${standard} -cnst "" 0 ${file_source} > ${test_current}object-name--select-0-total.expect &&
-  fss_read +FLn -A ${standard} -cnst "" 1 ${file_source} > ${test_current}object-name--select-1-total.expect &&
-  fss_read +FLn -A ${standard} -cnst Ð¼Ð¸Ñ€ 0 ${file_source} > ${test_current}object-name-мир-select-0-total.expect &&
-  fss_read +FLn -A ${standard} -cnst Ð¼Ð¸Ñ€ 1 ${file_source} > ${test_current}object-name-мир-select-1-total.expect &&
-  fss_read +FLn -A ${standard} -cnst "привет has space" 0 ${file_source} > ${test_current}object-name-привет-select-0-total.expect &&
-  fss_read +FLn -A ${standard} -cnst "привет has space" 1 ${file_source} > ${test_current}object-name-привет-select-1-total.expect &&
-
-  fss_read +FLn -A ${standard} -oc ${file_source} > ${test_current}object_and_content.expect &&
-  fss_read +FLn -A ${standard} -ocO ${file_source} > ${test_current}object_and_content-original.expect &&
-  fss_read +FLn -A ${standard} -oct ${file_source} > ${test_current}object_and_content-total.expect &&
-  fss_read +FLn -A ${standard} -ocT ${file_source} > ${test_current}object_and_content-trim.expect &&
-  fss_read +FLn -A ${standard} -ocl 0 ${file_source} > ${test_current}object_and_content-line-0.expect &&
-  fss_read +FLn -A ${standard} -ocl 1 ${file_source} > ${test_current}object_and_content-line-1.expect &&
-  fss_read +FLn -A ${standard} -ocl 5 ${file_source} > ${test_current}object_and_content-line-5.expect &&
-  fss_read +FLn -A ${standard} -ocl 6 ${file_source} > ${test_current}object_and_content-line-6.expect &&
-  fss_read +FLn -A ${standard} -ocl 100 ${file_source} > ${test_current}object_and_content-line-100.expect &&
-  fss_read +FLn -A ${standard} -ocs 0 ${file_source} > ${test_current}object_and_content-select-0.expect &&
-  fss_read +FLn -A ${standard} -ocs 1 ${file_source} > ${test_current}object_and_content-select-1.expect &&
-  fss_read +FLn -A ${standard} -ocs 5 ${file_source} > ${test_current}object_and_content-select-5.expect &&
-  fss_read +FLn -A ${standard} -ocs 6 ${file_source} > ${test_current}object_and_content-select-6.expect &&
-  fss_read +FLn -A ${standard} -ocs 100 ${file_source} > ${test_current}object_and_content-select-100.expect &&
-  fss_read +FLn -A ${standard} -ocC ${file_source} > ${test_current}object_and_content-columns.expect &&
-  fss_read +FLn -A ${standard} -oca 0 ${file_source} > ${test_current}object_and_content-at-0.expect &&
-  fss_read +FLn -A ${standard} -oca 1 ${file_source} > ${test_current}object_and_content-at-1.expect &&
-  fss_read +FLn -A ${standard} -oca 5 ${file_source} > ${test_current}object_and_content-at-5.expect &&
-  fss_read +FLn -A ${standard} -oca 6 ${file_source} > ${test_current}object_and_content-at-6.expect &&
-  fss_read +FLn -A ${standard} -oca 100 ${file_source} > ${test_current}object_and_content-at-100.expect &&
-  fss_read +FLn -A ${standard} -cn hi ${file_source} > ${test_current}object_and_content-name-hi.expect &&
-  fss_read +FLn -A ${standard} -cn a ${file_source} > ${test_current}object_and_content-name-a.expect &&
-  fss_read +FLn -A ${standard} -cn "" ${file_source} > ${test_current}object_and_content-name-.expect &&
-  fss_read +FLn -A ${standard} -cn Ð¼Ð¸Ñ€ ${file_source} > ${test_current}object_and_content-name-мир.expect &&
-  fss_read +FLn -A ${standard} -cn Ð¿Ñ€Ð¸Ð²ÐµÑ‚ ${file_source} > ${test_current}object_and_content-name-привет.expect &&
-  fss_read +FLn -A ${standard} -cnt hi ${file_source} > ${test_current}object_and_content-name-hi-total.expect &&
-  fss_read +FLn -A ${standard} -cnt a ${file_source} > ${test_current}object_and_content-name-a-total.expect &&
-  fss_read +FLn -A ${standard} -cnt "" ${file_source} > ${test_current}object_and_content-name--total.expect &&
-  fss_read +FLn -A ${standard} -cnt Ð¼Ð¸Ñ€ ${file_source} > ${test_current}object_and_content-name-мир-total.expect &&
-  fss_read +FLn -A ${standard} -cnt "привет has space" ${file_source} > ${test_current}object_and_content-name-привет-total.expect &&
-  fss_read +FLn -A ${standard} -cns hi 0 ${file_source} > ${test_current}object_and_content-name-hi-select-0.expect &&
-  fss_read +FLn -A ${standard} -cns hi 1 ${file_source} > ${test_current}object_and_content-name-hi-select-1.expect &&
-  fss_read +FLn -A ${standard} -cns a 0 ${file_source} > ${test_current}object_and_content-name-a-select-0.expect &&
-  fss_read +FLn -A ${standard} -cns a 1 ${file_source} > ${test_current}object_and_content-name-a-select-1.expect &&
-  fss_read +FLn -A ${standard} -cns a 2 ${file_source} > ${test_current}object_and_content-name-a-select-2.expect &&
-  fss_read +FLn -A ${standard} -cns a 5 ${file_source} > ${test_current}object_and_content-name-a-select-5.expect &&
-  fss_read +FLn -A ${standard} -cns a 6 ${file_source} > ${test_current}object_and_content-name-a-select-6.expect &&
-  fss_read +FLn -A ${standard} -cns a 100 ${file_source} > ${test_current}object_and_content-name-a-select-100.expect &&
-  fss_read +FLn -A ${standard} -cns "" 0 ${file_source} > ${test_current}object_and_content-name--select-0.expect &&
-  fss_read +FLn -A ${standard} -cns "" 1 ${file_source} > ${test_current}object_and_content-name--select-1.expect &&
-  fss_read +FLn -A ${standard} -cns Ð¼Ð¸Ñ€ 0 ${file_source} > ${test_current}object_and_content-name-мир-select-0.expect &&
-  fss_read +FLn -A ${standard} -cns Ð¼Ð¸Ñ€ 1 ${file_source} > ${test_current}object_and_content-name-мир-select-1.expect &&
-  fss_read +FLn -A ${standard} -cns "привет has space" 0 ${file_source} > ${test_current}object_and_content-name-привет-select-0.expect &&
-  fss_read +FLn -A ${standard} -cns "привет has space" 1 ${file_source} > ${test_current}object_and_content-name-привет-select-1.expect &&
-  fss_read +FLn -A ${standard} -cnst hi 0 ${file_source} > ${test_current}object_and_content-name-hi-select-0-total.expect &&
-  fss_read +FLn -A ${standard} -cnst hi 1 ${file_source} > ${test_current}object_and_content-name-hi-select-1-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 0 ${file_source} > ${test_current}object_and_content-name-a-select-0-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 1 ${file_source} > ${test_current}object_and_content-name-a-select-1-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 2 ${file_source} > ${test_current}object_and_content-name-a-select-2-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 5 ${file_source} > ${test_current}object_and_content-name-a-select-5-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 6 ${file_source} > ${test_current}object_and_content-name-a-select-6-total.expect &&
-  fss_read +FLn -A ${standard} -cnst a 100 ${file_source} > ${test_current}object_and_content-name-a-select-100-total.expect &&
-  fss_read +FLn -A ${standard} -cnst "" 0 ${file_source} > ${test_current}object_and_content-name--select-0-total.expect &&
-  fss_read +FLn -A ${standard} -cnst "" 1 ${file_source} > ${test_current}object_and_content-name--select-1-total.expect &&
-  fss_read +FLn -A ${standard} -cnst Ð¼Ð¸Ñ€ 0 ${file_source} > ${test_current}object_and_content-name-мир-select-0-total.expect &&
-  fss_read +FLn -A ${standard} -cnst Ð¼Ð¸Ñ€ 1 ${file_source} > ${test_current}object_and_content-name-мир-select-1-total.expect &&
-  fss_read +FLn -A ${standard} -cnst "привет has space" 0 ${file_source} > ${test_current}object_and_content-name-привет-select-0-total.expect &&
-  fss_read +FLn -A ${standard} -cnst "привет has space" 1 ${file_source} > ${test_current}object_and_content-name-привет-select-1-total.expect &&
+  fss_read +n -A ${standard} -c ${file_source} > ${test_current}content.expect &&
+  fss_read +n -A ${standard} -cO ${file_source} > ${test_current}content-original.expect &&
+  fss_read +n -A ${standard} -ct ${file_source} > ${test_current}content-total.expect &&
+  fss_read +n -A ${standard} -cT ${file_source} > ${test_current}content-trim.expect &&
+  fss_read +n -A ${standard} -cl 0 ${file_source} > ${test_current}content-line-0.expect &&
+  fss_read +n -A ${standard} -cl 1 ${file_source} > ${test_current}content-line-1.expect &&
+  fss_read +n -A ${standard} -cl 5 ${file_source} > ${test_current}content-line-5.expect &&
+  fss_read +n -A ${standard} -cl 6 ${file_source} > ${test_current}content-line-6.expect &&
+  fss_read +n -A ${standard} -cl 100 ${file_source} > ${test_current}content-line-100.expect &&
+  fss_read +n -A ${standard} -cs 0 ${file_source} > ${test_current}content-select-0.expect &&
+  fss_read +n -A ${standard} -cs 1 ${file_source} > ${test_current}content-select-1.expect &&
+  fss_read +n -A ${standard} -cs 5 ${file_source} > ${test_current}content-select-5.expect &&
+  fss_read +n -A ${standard} -cs 6 ${file_source} > ${test_current}content-select-6.expect &&
+  fss_read +n -A ${standard} -cs 100 ${file_source} > ${test_current}content-select-100.expect &&
+  fss_read +n -A ${standard} -cC ${file_source} > ${test_current}content-columns.expect &&
+  fss_read +n -A ${standard} -ca 0 ${file_source} > ${test_current}content-at-0.expect &&
+  fss_read +n -A ${standard} -ca 1 ${file_source} > ${test_current}content-at-1.expect &&
+  fss_read +n -A ${standard} -ca 5 ${file_source} > ${test_current}content-at-5.expect &&
+  fss_read +n -A ${standard} -ca 6 ${file_source} > ${test_current}content-at-6.expect &&
+  fss_read +n -A ${standard} -ca 100 ${file_source} > ${test_current}content-at-100.expect &&
+  fss_read +n -A ${standard} -cn hi ${file_source} > ${test_current}content-name-hi.expect &&
+  fss_read +n -A ${standard} -cn a ${file_source} > ${test_current}content-name-a.expect &&
+  fss_read +n -A ${standard} -cn "" ${file_source} > ${test_current}content-name-.expect &&
+  fss_read +n -A ${standard} -cn Ð¼Ð¸Ñ€ ${file_source} > ${test_current}content-name-мир.expect &&
+  fss_read +n -A ${standard} -cn "привет has space" ${file_source} > ${test_current}content-name-привет.expect &&
+  fss_read +n -A ${standard} -cnt hi ${file_source} > ${test_current}content-name-hi-total.expect &&
+  fss_read +n -A ${standard} -cnt a ${file_source} > ${test_current}content-name-a-total.expect &&
+  fss_read +n -A ${standard} -cnt "" ${file_source} > ${test_current}content-name--total.expect &&
+  fss_read +n -A ${standard} -cnt Ð¼Ð¸Ñ€ ${file_source} > ${test_current}content-name-мир-total.expect &&
+  fss_read +n -A ${standard} -cnt "привет has space" ${file_source} > ${test_current}content-name-привет-total.expect &&
+  fss_read +n -A ${standard} -cns hi 0 ${file_source} > ${test_current}content-name-hi-select-0.expect &&
+  fss_read +n -A ${standard} -cns hi 1 ${file_source} > ${test_current}content-name-hi-select-1.expect &&
+  fss_read +n -A ${standard} -cns a 0 ${file_source} > ${test_current}content-name-a-select-0.expect &&
+  fss_read +n -A ${standard} -cns a 1 ${file_source} > ${test_current}content-name-a-select-1.expect &&
+  fss_read +n -A ${standard} -cns a 2 ${file_source} > ${test_current}content-name-a-select-2.expect &&
+  fss_read +n -A ${standard} -cns a 5 ${file_source} > ${test_current}content-name-a-select-5.expect &&
+  fss_read +n -A ${standard} -cns a 6 ${file_source} > ${test_current}content-name-a-select-6.expect &&
+  fss_read +n -A ${standard} -cns a 100 ${file_source} > ${test_current}content-name-a-select-100.expect &&
+  fss_read +n -A ${standard} -cns "" 0 ${file_source} > ${test_current}content-name--select-0.expect &&
+  fss_read +n -A ${standard} -cns "" 1 ${file_source} > ${test_current}content-name--select-1.expect &&
+  fss_read +n -A ${standard} -cns Ð¼Ð¸Ñ€ 0 ${file_source} > ${test_current}content-name-мир-select-0.expect &&
+  fss_read +n -A ${standard} -cns Ð¼Ð¸Ñ€ 1 ${file_source} > ${test_current}content-name-мир-select-1.expect &&
+  fss_read +n -A ${standard} -cns "привет has space" 0 ${file_source} > ${test_current}content-name-привет-select-0.expect &&
+  fss_read +n -A ${standard} -cns "привет has space" 1 ${file_source} > ${test_current}content-name-привет-select-1.expect &&
+  fss_read +n -A ${standard} -cnst hi 0 ${file_source} > ${test_current}content-name-hi-select-0-total.expect &&
+  fss_read +n -A ${standard} -cnst hi 1 ${file_source} > ${test_current}content-name-hi-select-1-total.expect &&
+  fss_read +n -A ${standard} -cnst a 0 ${file_source} > ${test_current}content-name-a-select-0-total.expect &&
+  fss_read +n -A ${standard} -cnst a 1 ${file_source} > ${test_current}content-name-a-select-1-total.expect &&
+  fss_read +n -A ${standard} -cnst a 2 ${file_source} > ${test_current}content-name-a-select-2-total.expect &&
+  fss_read +n -A ${standard} -cnst a 5 ${file_source} > ${test_current}content-name-a-select-5-total.expect &&
+  fss_read +n -A ${standard} -cnst a 6 ${file_source} > ${test_current}content-name-a-select-6-total.expect &&
+  fss_read +n -A ${standard} -cnst a 100 ${file_source} > ${test_current}content-name-a-select-100-total.expect &&
+  fss_read +n -A ${standard} -cnst "" 0 ${file_source} > ${test_current}content-name--select-0-total.expect &&
+  fss_read +n -A ${standard} -cnst "" 1 ${file_source} > ${test_current}content-name--select-1-total.expect &&
+  fss_read +n -A ${standard} -cnst Ð¼Ð¸Ñ€ 0 ${file_source} > ${test_current}content-name-мир-select-0-total.expect &&
+  fss_read +n -A ${standard} -cnst Ð¼Ð¸Ñ€ 1 ${file_source} > ${test_current}content-name-мир-select-1-total.expect &&
+  fss_read +n -A ${standard} -cnst "привет has space" 0 ${file_source} > ${test_current}content-name-привет-select-0-total.expect &&
+  fss_read +n -A ${standard} -cnst "привет has space" 1 ${file_source} > ${test_current}content-name-привет-select-1-total.expect &&
+
+  fss_read +n -A ${standard} -o ${file_source} > ${test_current}object.expect &&
+  fss_read +n -A ${standard} -oO ${file_source} > ${test_current}object-original.expect &&
+  fss_read +n -A ${standard} -ot ${file_source} > ${test_current}object-total.expect &&
+  fss_read +n -A ${standard} -oT ${file_source} > ${test_current}object-trim.expect &&
+  fss_read +n -A ${standard} -ol 0 ${file_source} > ${test_current}object-line-0.expect &&
+  fss_read +n -A ${standard} -ol 1 ${file_source} > ${test_current}object-line-1.expect &&
+  fss_read +n -A ${standard} -ol 5 ${file_source} > ${test_current}object-line-5.expect &&
+  fss_read +n -A ${standard} -ol 6 ${file_source} > ${test_current}object-line-6.expect &&
+  fss_read +n -A ${standard} -ol 100 ${file_source} > ${test_current}object-line-100.expect &&
+  fss_read +n -A ${standard} -os 0 ${file_source} > ${test_current}object-select-0.expect &&
+  fss_read +n -A ${standard} -os 1 ${file_source} > ${test_current}object-select-1.expect &&
+  fss_read +n -A ${standard} -os 5 ${file_source} > ${test_current}object-select-5.expect &&
+  fss_read +n -A ${standard} -os 6 ${file_source} > ${test_current}object-select-6.expect &&
+  fss_read +n -A ${standard} -os 100 ${file_source} > ${test_current}object-select-100.expect &&
+  fss_read +n -A ${standard} -oC ${file_source} > ${test_current}object-columns.expect &&
+  fss_read +n -A ${standard} -oa 0 ${file_source} > ${test_current}object-at-0.expect &&
+  fss_read +n -A ${standard} -oa 1 ${file_source} > ${test_current}object-at-1.expect &&
+  fss_read +n -A ${standard} -oa 5 ${file_source} > ${test_current}object-at-5.expect &&
+  fss_read +n -A ${standard} -oa 6 ${file_source} > ${test_current}object-at-6.expect &&
+  fss_read +n -A ${standard} -oa 100 ${file_source} > ${test_current}object-at-100.expect &&
+  fss_read +n -A ${standard} -cn hi ${file_source} > ${test_current}object-name-hi.expect &&
+  fss_read +n -A ${standard} -cn "" ${file_source} > ${test_current}object-name-.expect &&
+  fss_read +n -A ${standard} -cn Ð¼Ð¸Ñ€ ${file_source} > ${test_current}object-name-мир.expect &&
+  fss_read +n -A ${standard} -cn "привет has space" ${file_source} > ${test_current}object-name-привет.expect &&
+  fss_read +n -A ${standard} -cn a ${file_source} > ${test_current}object-name-a.expect &&
+  fss_read +n -A ${standard} -cnt hi ${file_source} > ${test_current}object-name-hi-total.expect &&
+  fss_read +n -A ${standard} -cnt a ${file_source} > ${test_current}object-name-a-total.expect &&
+  fss_read +n -A ${standard} -cnt "" ${file_source} > ${test_current}object-name--total.expect &&
+  fss_read +n -A ${standard} -cnt Ð¼Ð¸Ñ€ ${file_source} > ${test_current}object-name-мир-total.expect &&
+  fss_read +n -A ${standard} -cnt "привет has space" ${file_source} > ${test_current}object-name-привет-total.expect &&
+  fss_read +n -A ${standard} -cns hi 0 ${file_source} > ${test_current}object-name-hi-select-0.expect &&
+  fss_read +n -A ${standard} -cns hi 1 ${file_source} > ${test_current}object-name-hi-select-1.expect &&
+  fss_read +n -A ${standard} -cns a 0 ${file_source} > ${test_current}object-name-a-select-0.expect &&
+  fss_read +n -A ${standard} -cns a 1 ${file_source} > ${test_current}object-name-a-select-1.expect &&
+  fss_read +n -A ${standard} -cns a 2 ${file_source} > ${test_current}object-name-a-select-2.expect &&
+  fss_read +n -A ${standard} -cns a 5 ${file_source} > ${test_current}object-name-a-select-5.expect &&
+  fss_read +n -A ${standard} -cns a 6 ${file_source} > ${test_current}object-name-a-select-6.expect &&
+  fss_read +n -A ${standard} -cns a 100 ${file_source} > ${test_current}object-name-a-select-100.expect &&
+  fss_read +n -A ${standard} -cns "" 0 ${file_source} > ${test_current}object-name--select-0.expect &&
+  fss_read +n -A ${standard} -cns "" 1 ${file_source} > ${test_current}object-name--select-1.expect &&
+  fss_read +n -A ${standard} -cns Ð¼Ð¸Ñ€ 0 ${file_source} > ${test_current}object-name-мир-select-0.expect &&
+  fss_read +n -A ${standard} -cns Ð¼Ð¸Ñ€ 1 ${file_source} > ${test_current}object-name-мир-select-1.expect &&
+  fss_read +n -A ${standard} -cns Ð¿Ñ€Ð¸Ð²ÐµÑ‚ 0 ${file_source} > ${test_current}object-name-привет-select-0.expect &&
+  fss_read +n -A ${standard} -cns Ð¿Ñ€Ð¸Ð²ÐµÑ‚ 1 ${file_source} > ${test_current}object-name-привет-select-1.expect &&
+  fss_read +n -A ${standard} -cnst hi 0 ${file_source} > ${test_current}object-name-hi-select-0-total.expect &&
+  fss_read +n -A ${standard} -cnst hi 1 ${file_source} > ${test_current}object-name-hi-select-1-total.expect &&
+  fss_read +n -A ${standard} -cnst a 0 ${file_source} > ${test_current}object-name-a-select-0-total.expect &&
+  fss_read +n -A ${standard} -cnst a 1 ${file_source} > ${test_current}object-name-a-select-1-total.expect &&
+  fss_read +n -A ${standard} -cnst a 2 ${file_source} > ${test_current}object-name-a-select-2-total.expect &&
+  fss_read +n -A ${standard} -cnst a 5 ${file_source} > ${test_current}object-name-a-select-5-total.expect &&
+  fss_read +n -A ${standard} -cnst a 6 ${file_source} > ${test_current}object-name-a-select-6-total.expect &&
+  fss_read +n -A ${standard} -cnst a 100 ${file_source} > ${test_current}object-name-a-select-100-total.expect &&
+  fss_read +n -A ${standard} -cnst "" 0 ${file_source} > ${test_current}object-name--select-0-total.expect &&
+  fss_read +n -A ${standard} -cnst "" 1 ${file_source} > ${test_current}object-name--select-1-total.expect &&
+  fss_read +n -A ${standard} -cnst Ð¼Ð¸Ñ€ 0 ${file_source} > ${test_current}object-name-мир-select-0-total.expect &&
+  fss_read +n -A ${standard} -cnst Ð¼Ð¸Ñ€ 1 ${file_source} > ${test_current}object-name-мир-select-1-total.expect &&
+  fss_read +n -A ${standard} -cnst "привет has space" 0 ${file_source} > ${test_current}object-name-привет-select-0-total.expect &&
+  fss_read +n -A ${standard} -cnst "привет has space" 1 ${file_source} > ${test_current}object-name-привет-select-1-total.expect &&
+
+  fss_read +n -A ${standard} -oc ${file_source} > ${test_current}object_and_content.expect &&
+  fss_read +n -A ${standard} -ocO ${file_source} > ${test_current}object_and_content-original.expect &&
+  fss_read +n -A ${standard} -oct ${file_source} > ${test_current}object_and_content-total.expect &&
+  fss_read +n -A ${standard} -ocT ${file_source} > ${test_current}object_and_content-trim.expect &&
+  fss_read +n -A ${standard} -ocl 0 ${file_source} > ${test_current}object_and_content-line-0.expect &&
+  fss_read +n -A ${standard} -ocl 1 ${file_source} > ${test_current}object_and_content-line-1.expect &&
+  fss_read +n -A ${standard} -ocl 5 ${file_source} > ${test_current}object_and_content-line-5.expect &&
+  fss_read +n -A ${standard} -ocl 6 ${file_source} > ${test_current}object_and_content-line-6.expect &&
+  fss_read +n -A ${standard} -ocl 100 ${file_source} > ${test_current}object_and_content-line-100.expect &&
+  fss_read +n -A ${standard} -ocs 0 ${file_source} > ${test_current}object_and_content-select-0.expect &&
+  fss_read +n -A ${standard} -ocs 1 ${file_source} > ${test_current}object_and_content-select-1.expect &&
+  fss_read +n -A ${standard} -ocs 5 ${file_source} > ${test_current}object_and_content-select-5.expect &&
+  fss_read +n -A ${standard} -ocs 6 ${file_source} > ${test_current}object_and_content-select-6.expect &&
+  fss_read +n -A ${standard} -ocs 100 ${file_source} > ${test_current}object_and_content-select-100.expect &&
+  fss_read +n -A ${standard} -ocC ${file_source} > ${test_current}object_and_content-columns.expect &&
+  fss_read +n -A ${standard} -oca 0 ${file_source} > ${test_current}object_and_content-at-0.expect &&
+  fss_read +n -A ${standard} -oca 1 ${file_source} > ${test_current}object_and_content-at-1.expect &&
+  fss_read +n -A ${standard} -oca 5 ${file_source} > ${test_current}object_and_content-at-5.expect &&
+  fss_read +n -A ${standard} -oca 6 ${file_source} > ${test_current}object_and_content-at-6.expect &&
+  fss_read +n -A ${standard} -oca 100 ${file_source} > ${test_current}object_and_content-at-100.expect &&
+  fss_read +n -A ${standard} -cn hi ${file_source} > ${test_current}object_and_content-name-hi.expect &&
+  fss_read +n -A ${standard} -cn a ${file_source} > ${test_current}object_and_content-name-a.expect &&
+  fss_read +n -A ${standard} -cn "" ${file_source} > ${test_current}object_and_content-name-.expect &&
+  fss_read +n -A ${standard} -cn Ð¼Ð¸Ñ€ ${file_source} > ${test_current}object_and_content-name-мир.expect &&
+  fss_read +n -A ${standard} -cn Ð¿Ñ€Ð¸Ð²ÐµÑ‚ ${file_source} > ${test_current}object_and_content-name-привет.expect &&
+  fss_read +n -A ${standard} -cnt hi ${file_source} > ${test_current}object_and_content-name-hi-total.expect &&
+  fss_read +n -A ${standard} -cnt a ${file_source} > ${test_current}object_and_content-name-a-total.expect &&
+  fss_read +n -A ${standard} -cnt "" ${file_source} > ${test_current}object_and_content-name--total.expect &&
+  fss_read +n -A ${standard} -cnt Ð¼Ð¸Ñ€ ${file_source} > ${test_current}object_and_content-name-мир-total.expect &&
+  fss_read +n -A ${standard} -cnt "привет has space" ${file_source} > ${test_current}object_and_content-name-привет-total.expect &&
+  fss_read +n -A ${standard} -cns hi 0 ${file_source} > ${test_current}object_and_content-name-hi-select-0.expect &&
+  fss_read +n -A ${standard} -cns hi 1 ${file_source} > ${test_current}object_and_content-name-hi-select-1.expect &&
+  fss_read +n -A ${standard} -cns a 0 ${file_source} > ${test_current}object_and_content-name-a-select-0.expect &&
+  fss_read +n -A ${standard} -cns a 1 ${file_source} > ${test_current}object_and_content-name-a-select-1.expect &&
+  fss_read +n -A ${standard} -cns a 2 ${file_source} > ${test_current}object_and_content-name-a-select-2.expect &&
+  fss_read +n -A ${standard} -cns a 5 ${file_source} > ${test_current}object_and_content-name-a-select-5.expect &&
+  fss_read +n -A ${standard} -cns a 6 ${file_source} > ${test_current}object_and_content-name-a-select-6.expect &&
+  fss_read +n -A ${standard} -cns a 100 ${file_source} > ${test_current}object_and_content-name-a-select-100.expect &&
+  fss_read +n -A ${standard} -cns "" 0 ${file_source} > ${test_current}object_and_content-name--select-0.expect &&
+  fss_read +n -A ${standard} -cns "" 1 ${file_source} > ${test_current}object_and_content-name--select-1.expect &&
+  fss_read +n -A ${standard} -cns Ð¼Ð¸Ñ€ 0 ${file_source} > ${test_current}object_and_content-name-мир-select-0.expect &&
+  fss_read +n -A ${standard} -cns Ð¼Ð¸Ñ€ 1 ${file_source} > ${test_current}object_and_content-name-мир-select-1.expect &&
+  fss_read +n -A ${standard} -cns "привет has space" 0 ${file_source} > ${test_current}object_and_content-name-привет-select-0.expect &&
+  fss_read +n -A ${standard} -cns "привет has space" 1 ${file_source} > ${test_current}object_and_content-name-привет-select-1.expect &&
+  fss_read +n -A ${standard} -cnst hi 0 ${file_source} > ${test_current}object_and_content-name-hi-select-0-total.expect &&
+  fss_read +n -A ${standard} -cnst hi 1 ${file_source} > ${test_current}object_and_content-name-hi-select-1-total.expect &&
+  fss_read +n -A ${standard} -cnst a 0 ${file_source} > ${test_current}object_and_content-name-a-select-0-total.expect &&
+  fss_read +n -A ${standard} -cnst a 1 ${file_source} > ${test_current}object_and_content-name-a-select-1-total.expect &&
+  fss_read +n -A ${standard} -cnst a 2 ${file_source} > ${test_current}object_and_content-name-a-select-2-total.expect &&
+  fss_read +n -A ${standard} -cnst a 5 ${file_source} > ${test_current}object_and_content-name-a-select-5-total.expect &&
+  fss_read +n -A ${standard} -cnst a 6 ${file_source} > ${test_current}object_and_content-name-a-select-6-total.expect &&
+  fss_read +n -A ${standard} -cnst a 100 ${file_source} > ${test_current}object_and_content-name-a-select-100-total.expect &&
+  fss_read +n -A ${standard} -cnst "" 0 ${file_source} > ${test_current}object_and_content-name--select-0-total.expect &&
+  fss_read +n -A ${standard} -cnst "" 1 ${file_source} > ${test_current}object_and_content-name--select-1-total.expect &&
+  fss_read +n -A ${standard} -cnst Ð¼Ð¸Ñ€ 0 ${file_source} > ${test_current}object_and_content-name-мир-select-0-total.expect &&
+  fss_read +n -A ${standard} -cnst Ð¼Ð¸Ñ€ 1 ${file_source} > ${test_current}object_and_content-name-мир-select-1-total.expect &&
+  fss_read +n -A ${standard} -cnst "привет has space" 0 ${file_source} > ${test_current}object_and_content-name-привет-select-0-total.expect &&
+  fss_read +n -A ${standard} -cnst "привет has space" 1 ${file_source} > ${test_current}object_and_content-name-привет-select-1-total.expect &&
 
   echo "Generation Complete"
 
index b38d13f196290a444d94ac6ee1288a5562770d54..cf9877f2b6e45ef49dd4d69f970c94b82f79339f 100644 (file)
@@ -15,25 +15,7 @@ extern "C" {
 
     main->setting.state.step_small = fss_write_allocation_small_d;
 
-    if (main->program.parameters.array[f_console_standard_parameter_line_first_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~fss_write_main_flag_print_first_e;
-    }
-    else {
-      main->setting.flag |= fss_write_main_flag_print_first_e;
-    }
-
-    if (main->program.parameters.array[f_console_standard_parameter_line_last_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~fss_write_main_flag_print_last_e;
-    }
-    else {
-      main->setting.flag |= fss_write_main_flag_print_last_e;
-    }
-
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fss_write_print_error(&main->program.error, macro_fss_write_f(f_console_parameter_process));
 
       return;
@@ -42,10 +24,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_context_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fss_write_print_error(&main->program.error, macro_fss_write_f(fll_program_parameter_process_context_standard));
 
       return;
@@ -54,10 +32,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_verbosity_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fss_write_print_error(&main->program.error, macro_fss_write_f(fll_program_parameter_process_verbosity_standard));
 
       return;
@@ -104,10 +78,6 @@ extern "C" {
       if (main->program.parameters.array[fss_write_parameter_file_e].values.used > 1) {
         main->setting.state.status = F_status_set_error(F_parameter);
 
-        if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fll_program_print_error_parameter_must_specify_once(&main->program.error, f_console_symbol_long_normal_s, fss_write_long_file_s);
 
         return;
@@ -121,10 +91,6 @@ extern "C" {
       main->setting.state.status = f_file_stream_open(main->program.parameters.arguments.array[index], f_string_empty_s, &main->program.output.to);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fss_write_print_error_file(&main->program.error, macro_fss_write_f(f_file_stream_open), main->program.parameters.arguments.array[index], f_file_operation_open_s, fll_error_file_type_file_e);
 
         return;
@@ -135,10 +101,6 @@ extern "C" {
     else if (main->program.parameters.array[fss_write_parameter_file_e].result & f_console_result_found_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, fss_write_long_file_s);
 
       return;
@@ -152,10 +114,6 @@ extern "C" {
       main->setting.state.status = f_memory_arrays_resize(values->used, sizeof(f_string_dynamic_t), (void **) &main->setting.objects.array, &main->setting.objects.used, &main->setting.objects.size, &f_string_dynamics_delete_callback);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fss_write_print_error(&main->program.error, macro_fss_write_f(f_memory_arrays_resize));
 
         return;
@@ -176,10 +134,6 @@ extern "C" {
     else if (main->program.parameters.array[fss_write_parameter_object_e].result & f_console_result_found_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, fss_write_long_object_s);
 
       return;
@@ -192,10 +146,6 @@ extern "C" {
           if (main->program.parameters.array[fss_write_parameter_content_e].values.used > main->program.parameters.array[fss_write_parameter_object_e].values.used) {
             main->setting.state.status = F_status_set_error(F_support_not);
 
-            if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             fss_write_print_error_one_content_only(&main->program.error);
 
             return;
@@ -216,10 +166,6 @@ extern "C" {
       main->setting.state.status = f_memory_arrays_resize(values_object->used, sizeof(f_string_dynamic_t), (void **) &main->setting.contentss.array, &main->setting.contentss.used, &main->setting.contentss.size, &f_string_dynamics_delete_callback);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fss_write_print_error(&main->program.error, macro_fss_write_f(f_memory_arrays_resize));
 
         return;
@@ -251,10 +197,6 @@ extern "C" {
         main->setting.state.status = f_memory_array_increase_by(total, sizeof(f_string_dynamic_t), (void **) &main->setting.contentss.array[j].array, &main->setting.contentss.array[j].used, &main->setting.contentss.array[j].size);
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fss_write_print_error(&main->program.error, macro_fss_write_f(f_memory_array_increase_by));
 
           return;
@@ -279,10 +221,6 @@ extern "C" {
     else if (main->program.parameters.array[fss_write_parameter_content_e].result & f_console_result_found_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, fss_write_long_content_s);
 
       return;
@@ -296,10 +234,6 @@ extern "C" {
       main->setting.state.status = f_string_dynamic_append_nulless(main->program.parameters.arguments.array[index], &main->setting.prepend);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fss_write_print_error(&main->program.error, macro_fss_write_f(f_string_dynamic_append_nulless));
 
         return;
@@ -311,10 +245,6 @@ extern "C" {
         for (; range.start < main->program.parameters.arguments.array[index].used; range.start++) {
 
           if (f_fss_is_space(main->program.parameters.arguments.array[index], range, &main->setting.state) == F_false) {
-            if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             if (F_status_is_error(main->setting.state.status)) {
               fss_write_print_error(&main->program.error, macro_fss_write_f(f_fss_is_space));
             }
@@ -334,10 +264,6 @@ extern "C" {
     else if (main->program.parameters.array[fss_write_parameter_prepend_e].result & f_console_result_found_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, fss_write_long_prepend_s);
 
       return;
@@ -347,10 +273,6 @@ extern "C" {
       if (main->program.parameters.array[fss_write_parameter_ignore_e].values.used % 2) {
         main->setting.state.status = F_status_set_error(F_parameter);
 
-        if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fll_program_print_error_parameter_missing_value_requires_amount(&main->program.error, f_console_symbol_long_normal_s, fss_write_long_ignore_s, fss_write_string_two_s);
 
         return;
@@ -373,10 +295,6 @@ extern "C" {
         main->setting.state.status = f_memory_array_increase_by(values_data->used, sizeof(f_ranges_t), (void **) &main->setting.ignoress.array, &main->setting.ignoress.used, &main->setting.ignoress.size);
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fss_write_print_error(&main->program.error, macro_fss_write_f(f_memory_array_increase_by));
 
           return;
@@ -407,10 +325,6 @@ extern "C" {
           main->setting.state.status = f_memory_array_increase_by(total, sizeof(f_range_t), (void **) &main->setting.ignoress.array[j].array, &main->setting.ignoress.array[j].used, &main->setting.ignoress.array[j].size);
 
           if (F_status_is_error(main->setting.state.status)) {
-            if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             fss_write_print_error(&main->program.error, macro_fss_write_f(f_memory_array_increase_by));
 
             return;
@@ -423,10 +337,6 @@ extern "C" {
             main->setting.state.status = fl_conversion_dynamic_to_unsigned_detect(fl_conversion_data_base_10_c, main->program.parameters.arguments.array[index], &main->setting.ignoress.array[j].array[main->setting.ignoress.array[j].used].start);
 
             if (F_status_is_error(main->setting.state.status)) {
-              if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-                fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-              }
-
               fll_program_print_error_parameter_integer_not(&main->program.error, f_console_symbol_long_normal_s, fss_write_long_ignore_s, main->program.parameters.arguments.array[index]);
 
               return;
@@ -437,10 +347,6 @@ extern "C" {
             main->setting.state.status = fl_conversion_dynamic_to_unsigned_detect(fl_conversion_data_base_10_c, main->program.parameters.arguments.array[index], &main->setting.ignoress.array[j].array[main->setting.ignoress.array[j].used].stop);
 
             if (F_status_is_error(main->setting.state.status)) {
-              if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-                fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-              }
-
               fll_program_print_error_parameter_integer_not(&main->program.error, f_console_symbol_long_normal_s, fss_write_long_ignore_s, main->program.parameters.arguments.array[index]);
 
               return;
@@ -449,10 +355,6 @@ extern "C" {
             if (main->setting.ignoress.array[j].array[main->setting.ignoress.array[j].used].stop > main->setting.ignoress.array[j].array[main->setting.ignoress.array[j].used].start) {
               main->setting.state.status = F_status_set_error(F_parameter);
 
-              if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-                fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-              }
-
               fll_program_print_error_parameter_range_start_before_stop(
                 &main->program.error,
                 f_console_symbol_long_normal_s,
@@ -486,10 +388,6 @@ extern "C" {
           main->setting.state.status = fl_conversion_dynamic_to_unsigned_detect(fl_conversion_data_base_10_c, main->program.parameters.arguments.array[index], &number.start);
 
           if (F_status_is_error(main->setting.state.status)) {
-            if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             fll_program_print_error_parameter_integer_not(&main->program.error, f_console_symbol_long_normal_s, fss_write_long_ignore_s, main->program.parameters.arguments.array[index]);
 
             return;
@@ -500,10 +398,6 @@ extern "C" {
           main->setting.state.status = fl_conversion_dynamic_to_unsigned_detect(fl_conversion_data_base_10_c, main->program.parameters.arguments.array[index], &number.stop);
 
           if (F_status_is_error(main->setting.state.status)) {
-            if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             fll_program_print_error_parameter_integer_not(&main->program.error, f_console_symbol_long_normal_s, fss_write_long_ignore_s, main->program.parameters.arguments.array[index]);
 
             return;
@@ -512,10 +406,6 @@ extern "C" {
           if (number.start > number.stop) {
             main->setting.state.status = F_status_set_error(F_parameter);
 
-            if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             fll_program_print_error_parameter_range_start_before_stop(
               &main->program.error,
               f_console_symbol_long_normal_s,
@@ -532,9 +422,6 @@ extern "C" {
     else if (main->program.parameters.array[fss_write_parameter_ignore_e].result & f_console_result_found_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
 
       fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, fss_write_long_ignore_s);
 
@@ -611,10 +498,6 @@ extern "C" {
           if (main->program.parameters.array[has_cannots[i][0]].result & f_console_result_found_e) {
             main->setting.state.status = F_status_set_error(F_parameter);
 
-            if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             fll_program_print_error_parameter_cannot_use_with(&main->program.error, f_console_symbol_long_normal_s, f_console_symbol_long_normal_s, has_string[i], has_cannots_string[i][0]);
 
             return;
@@ -623,10 +506,6 @@ extern "C" {
           if (main->program.parameters.array[has_cannots[i][1]].result & f_console_result_found_e) {
             main->setting.state.status = F_status_set_error(F_parameter);
 
-            if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             fll_program_print_error_parameter_cannot_use_with(&main->program.error, f_console_symbol_long_normal_s, f_console_symbol_long_normal_s, has_string[i], has_cannots_string[i][1]);
 
             return;
@@ -643,10 +522,6 @@ extern "C" {
           if (main->program.parameters.array[fss_write_parameter_object_e].locations_sub.used > main->program.parameters.array[fss_write_parameter_content_e].locations_sub.used && !(main->setting.flag & fss_write_main_flag_partial_e)) {
             main->setting.state.status = F_status_set_error(F_parameter);
 
-            if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             fss_write_print_error_parameter_same_times_at_least(&main->program.error);
 
             return;
@@ -657,10 +532,6 @@ extern "C" {
           if (main->program.parameters.array[fss_write_parameter_content_e].result & f_console_result_value_e) {
             main->setting.state.status = F_status_set_error(F_parameter);
 
-            if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             fll_program_print_error_parameter_cannot_use_with_xor(&main->program.error, f_console_symbol_long_normal_s, f_console_symbol_long_normal_s, f_console_symbol_long_normal_s, fss_write_long_partial_s, fss_write_long_object_s, fss_write_long_content_s);
 
             return;
index 6e6c4b86ad32c32e9e72a4bbc3b8c89e80af8640..9d7c57004986992ab60fd3314fe2897d11b0f012 100644 (file)
@@ -33,8 +33,6 @@ extern "C" {
  *   - object_open:            The Object open characters are to be printed.
  *   - partial:                Do not write end of Object/Content character.
  *   - pipe:                   Use the input pipe.
- *   - print_first:            When set, print new line to message output on program begin after loading settings.
- *   - print_last:             When set, print new line to message output on program end.
  *   - trim:                   Trim Object names.
  *   - version:                Print version.
  *   - version_copyright_help: A helper flag representing version, copyright, and help flag bits being set.
@@ -55,11 +53,9 @@ extern "C" {
     fss_write_main_flag_partial_e                = 0x400,
     fss_write_main_flag_pipe_e                   = 0x800,
     fss_write_main_flag_prepend_e                = 0x1000,
-    fss_write_main_flag_print_first_e            = 0x2000,
-    fss_write_main_flag_print_last_e             = 0x4000,
-    fss_write_main_flag_trim_e                   = 0x8000,
-    fss_write_main_flag_version_e                = 0x10000,
-    fss_write_main_flag_version_copyright_help_e = 0x10050,
+    fss_write_main_flag_trim_e                   = 0x2000,
+    fss_write_main_flag_version_e                = 0x4000,
+    fss_write_main_flag_version_copyright_help_e = 0x4050,
   }; // enum
 #endif // _di_fss_write_main_flag_e_
 
index e95b4bcf4ba81d5db7c8b177a9c66bda20ea5350..8c9351787b6d1ae207354456402e2141fef83636 100644 (file)
@@ -11,17 +11,7 @@ extern "C" {
 
     fss_write_main_t * const main = (fss_write_main_t *) void_main;
 
-    if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & fss_write_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
-      return;
-    }
-
-    if ((main->setting.flag & fss_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
+    if (F_status_is_error(main->setting.state.status)) return;
 
     main->setting.state.status = F_okay;
 
@@ -41,10 +31,6 @@ extern "C" {
         fll_program_print_copyright(&main->program.message, fll_program_copyright_year_author_s);
       }
 
-      if ((main->setting.flag & fss_write_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       return;
     }
 
@@ -61,10 +47,6 @@ extern "C" {
         }
       }
     }
-
-    if ((main->setting.flag & fss_write_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
   }
 #endif // _di_fss_write_main_
 
index d914ae63f0d579e01478061ebfc6a019823c7c2b..96360f2294111fd39af442b423868a3f9d64d145 100644 (file)
@@ -15,25 +15,7 @@ extern "C" {
 
     main->setting.state.step_small = iki_read_allocation_small_d;
 
-    if (main->program.parameters.array[f_console_standard_parameter_line_first_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~iki_read_main_flag_print_first_e;
-    }
-    else {
-      main->setting.flag |= iki_read_main_flag_print_first_e;
-    }
-
-    if (main->program.parameters.array[f_console_standard_parameter_line_last_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~iki_read_main_flag_print_last_e;
-    }
-    else {
-      main->setting.flag |= iki_read_main_flag_print_last_e;
-    }
-
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       iki_read_print_error(&main->program.error, macro_iki_read_f(f_console_parameter_process));
 
       return;
@@ -42,10 +24,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_context_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       iki_read_print_error(&main->program.error, macro_iki_read_f(fll_program_parameter_process_context_standard));
 
       return;
@@ -54,10 +32,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_verbosity_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       iki_read_print_error(&main->program.error, macro_iki_read_f(fll_program_parameter_process_verbosity_standard));
 
       return;
@@ -91,10 +65,6 @@ extern "C" {
     if (!(main->program.parameters.remaining.used || (main->program.pipe & fll_program_data_pipe_input_e))) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_missing_file(&main->program.error);
 
       return;
@@ -104,10 +74,6 @@ extern "C" {
       if (main->program.parameters.array[iki_read_parameter_whole_e].result & f_console_result_found_e) {
         main->setting.state.status = F_status_set_error(F_parameter);
 
-        if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fll_program_print_error_parameter_cannot_use_with(&main->program.error, f_console_symbol_long_normal_s, f_console_symbol_long_normal_s, iki_read_long_at_s, iki_read_long_whole_s);
 
         return;
@@ -127,10 +93,6 @@ extern "C" {
       if (F_status_is_error(main->setting.state.status)) {
         main->setting.state.status = F_status_set_error(F_parameter);
 
-        if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fll_program_print_error_parameter_integer_not(&main->program.error, f_console_symbol_long_normal_s, iki_read_long_at_s, main->program.parameters.arguments.array[index]);
 
         return;
@@ -141,10 +103,6 @@ extern "C" {
     else if (main->program.parameters.array[iki_read_parameter_at_e].result & f_console_result_found_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, iki_read_long_at_s);
 
       return;
@@ -165,10 +123,6 @@ extern "C" {
       if (F_status_is_error(main->setting.state.status)) {
         main->setting.state.status = F_status_set_error(F_parameter);
 
-        if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fll_program_print_error_parameter_integer_not(&main->program.error, f_console_symbol_long_normal_s, iki_read_long_line_s, main->program.parameters.arguments.array[index]);
 
         return;
@@ -179,10 +133,6 @@ extern "C" {
     else if (main->program.parameters.array[iki_read_parameter_line_e].result & f_console_result_found_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, iki_read_long_line_s);
 
       return;
@@ -194,10 +144,6 @@ extern "C" {
       main->setting.state.status = f_memory_array_increase_by(main->program.parameters.array[iki_read_parameter_name_e].values.used, sizeof(f_string_dynamic_t), (void **) &main->setting.names.array, &main->setting.names.used, &main->setting.names.size);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         iki_read_print_error(&main->program.error, macro_iki_read_f(f_memory_array_increase_by));
 
         return;
@@ -229,10 +175,6 @@ extern "C" {
       } // for
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         iki_read_print_error(&main->program.error, macro_iki_read_f(f_string_dynamics_append));
 
         return;
@@ -243,10 +185,6 @@ extern "C" {
     else if (main->program.parameters.array[iki_read_parameter_name_e].result & f_console_result_found_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, iki_read_long_name_s);
 
       return;
@@ -256,10 +194,6 @@ extern "C" {
       if ((main->program.parameters.array[iki_read_parameter_replace_e].result & f_console_result_found_e) || main->program.parameters.array[iki_read_parameter_replace_e].values.used % 2) {
         main->setting.state.status = F_status_set_error(F_parameter);
 
-        if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fll_program_print_error_parameter_missing_value_requires_amount(&main->program.error, f_console_symbol_long_normal_s, iki_read_long_replace_s, iki_read_string_two_s);
 
         return;
@@ -270,10 +204,6 @@ extern "C" {
       main->setting.state.status = f_memory_array_increase_by(main->program.parameters.array[iki_read_parameter_replace_e].values.used / 2, sizeof(f_string_map_t), (void **) &main->setting.replace.array, &main->setting.replace.used, &main->setting.replace.size);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         iki_read_print_error(&main->program.error, macro_iki_read_f(f_memory_array_increase_by));
 
         return;
@@ -308,10 +238,6 @@ extern "C" {
         }
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           iki_read_print_error(&main->program.error, macro_iki_read_f(f_memory_array_resize));
 
           return;
@@ -351,10 +277,6 @@ extern "C" {
       if ((main->program.parameters.array[iki_read_parameter_wrap_e].result & f_console_result_found_e) || main->program.parameters.array[iki_read_parameter_wrap_e].values.used % 3) {
         main->setting.state.status = F_status_set_error(F_parameter);
 
-        if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fll_program_print_error_parameter_missing_value_requires_amount(&main->program.error, f_console_symbol_long_normal_s, iki_read_long_wrap_s, iki_read_string_three_s);
 
         return;
@@ -365,10 +287,6 @@ extern "C" {
       main->setting.state.status = f_memory_array_increase_by(main->program.parameters.array[iki_read_parameter_wrap_e].values.used / 3, sizeof(f_string_triple_t), (void **) &main->setting.wrap.array, &main->setting.wrap.used, &main->setting.wrap.size);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         iki_read_print_error(&main->program.error, macro_iki_read_f(f_memory_array_increase_by));
 
         return;
@@ -407,10 +325,6 @@ extern "C" {
         }
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           iki_read_print_error(&main->program.error, macro_iki_read_f(f_memory_array_resize));
 
           return;
@@ -458,10 +372,6 @@ extern "C" {
         if (main->program.parameters.array[ids[i]].result & f_console_result_found_e) {
           main->setting.state.status = F_status_set_error(F_parameter);
 
-          if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fll_program_print_error_parameter_cannot_use_with(&main->program.error, f_console_symbol_long_normal_s, f_console_symbol_long_normal_s, iki_read_long_literal_s, names[i]);
 
           return;
@@ -486,10 +396,6 @@ extern "C" {
         if (main->program.parameters.array[ids[i]].result & f_console_result_found_e) {
           main->setting.state.status = F_status_set_error(F_parameter);
 
-          if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fll_program_print_error_parameter_cannot_use_with(&main->program.error, f_console_symbol_long_normal_s, f_console_symbol_long_normal_s, iki_read_long_object_s, names[i]);
 
           return;
@@ -502,10 +408,6 @@ extern "C" {
       if (main->program.parameters.array[iki_read_parameter_total_e].result & f_console_result_found_e) {
         main->setting.state.status = F_status_set_error(F_parameter);
 
-        if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fll_program_print_error_parameter_cannot_use_with(&main->program.error, f_console_symbol_long_normal_s, f_console_symbol_long_normal_s, iki_read_long_content_s, iki_read_long_total_s);
 
         return;
@@ -517,10 +419,6 @@ extern "C" {
       if (main->program.parameters.array[iki_read_parameter_whole_e].result & f_console_result_found_e) {
         main->setting.state.status = F_status_set_error(F_parameter);
 
-        if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fll_program_print_error_parameter_cannot_use_with(&main->program.error, f_console_symbol_long_normal_s, f_console_symbol_long_normal_s, iki_read_long_total_s, iki_read_long_wrap_s);
 
         return;
@@ -544,10 +442,6 @@ extern "C" {
       main->setting.state.status = f_memory_arrays_resize(main->program.parameters.remaining.used, sizeof(f_string_dynamic_t), (void **) &main->setting.files.array, &main->setting.files.used, &main->setting.files.size, &f_string_dynamics_delete_callback);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         iki_read_print_error(&main->program.error, macro_iki_read_f(f_memory_arrays_resize));
 
         return;
@@ -562,10 +456,6 @@ extern "C" {
           main->setting.state.status = f_memory_array_resize(0, sizeof(f_char_t), (void **) &main->setting.files.array[main->setting.files.used].string, &main->setting.files.array[main->setting.files.used].used, &main->setting.files.array[main->setting.files.used].size);
 
           if (F_status_is_error(main->setting.state.status)) {
-            if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-
             iki_read_print_error(&main->program.error, macro_iki_read_f(f_memory_array_resize));
 
             return;
@@ -581,10 +471,6 @@ extern "C" {
         main->setting.state.status = f_file_exists(main->setting.files.array[main->setting.files.used], F_true);
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fll_error_file_print(&main->program.error, F_status_set_fine(main->setting.state.status), macro_iki_read_f(f_file_exists), fll_error_file_flag_fallback_e, main->setting.files.array[main->setting.files.used], f_file_operation_verify_s, fll_error_file_type_file_e);
 
           return;
@@ -602,10 +488,6 @@ extern "C" {
     if ((parameter.result & f_console_result_found_e) || parameter.values.used % 3) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_parameter_missing_value_requires_amount(&main->program.error, f_console_symbol_long_normal_s, name, iki_read_string_three_s);
 
       return F_false;
@@ -616,10 +498,6 @@ extern "C" {
     main->setting.state.status = f_memory_array_increase_by(parameter.values.used / 3, sizeof(f_string_triple_t), (void **) &triple->array, &triple->used, &triple->size);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       iki_read_print_error(&main->program.error, macro_iki_read_f(f_memory_array_increase_by));
 
       return F_false;
@@ -660,10 +538,6 @@ extern "C" {
       }
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         iki_read_print_error(&main->program.error, macro_iki_read_f(f_memory_array_resize));
 
         return F_false;
index bfdd46c6700d4312ff57fd869a30498376870743..ffe1b03f8ac4c7630500e430c8c84ef1eb274c04 100644 (file)
@@ -30,8 +30,6 @@ extern "C" {
  *   - name:                   Selecting using a specific Vocabulary name.
  *   - object:                 Print Objects.
  *   - pipe:                   Use the input pipe.
- *   - print_first:            When set, print new line to message output on program begin after loading settings.
- *   - print_last:             When set, print new line to message output on program end.
  *   - replace:                Using re-assignments.
  *   - replace:                Using replacements.
  *   - substitute:             Using substitutions.
@@ -53,16 +51,14 @@ extern "C" {
     iki_read_main_flag_name_e                   = 0x40,
     iki_read_main_flag_object_e                 = 0x80,
     iki_read_main_flag_pipe_e                   = 0x100,
-    iki_read_main_flag_print_first_e            = 0x200,
-    iki_read_main_flag_print_last_e             = 0x400,
-    iki_read_main_flag_reassign_e               = 0x800,
-    iki_read_main_flag_replace_e                = 0x1000,
-    iki_read_main_flag_substitute_e             = 0x2000,
-    iki_read_main_flag_total_e                  = 0x4000,
-    iki_read_main_flag_version_e                = 0x8000,
+    iki_read_main_flag_reassign_e               = 0x200,
+    iki_read_main_flag_replace_e                = 0x400,
+    iki_read_main_flag_substitute_e             = 0x800,
+    iki_read_main_flag_total_e                  = 0x1000,
+    iki_read_main_flag_version_e                = 0x2000,
     iki_read_main_flag_version_copyright_help_e = 0x800c,
-    iki_read_main_flag_whole_e                  = 0x10000,
-    iki_read_main_flag_wrap_e                   = 0x20000,
+    iki_read_main_flag_whole_e                  = 0x4000,
+    iki_read_main_flag_wrap_e                   = 0x8000,
   }; // enum
 #endif // _di_iki_read_main_flag_e_
 
index 39ba8b5929c84d422eda615699907419a04ff3d2..d2f3b42d449c940933060a80af59a3ab5f91fe18 100644 (file)
@@ -7,19 +7,7 @@ extern "C" {
 #ifndef _di_iki_read_main_
   void iki_read_main(iki_read_main_t * const main) {
 
-    if (!main) return;
-
-    if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & iki_read_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
-      return;
-    }
-
-    if ((main->setting.flag & iki_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
+    if (!main || F_status_is_error(main->setting.state.status)) return;
 
     main->setting.state.status = F_okay;
 
@@ -34,10 +22,6 @@ extern "C" {
         fll_program_print_copyright(&main->program.message, fll_program_copyright_year_author_s);
       }
 
-      if ((main->setting.flag & iki_read_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       return;
     }
 
@@ -161,10 +145,6 @@ extern "C" {
         f_file_stream_close(&file);
       }
     }
-
-    if ((main->setting.flag & iki_read_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
   }
 #endif // _di_iki_read_main_
 
index 7f27dfb8830d7d41f0dfd9c41c959f6830803037..0f3fa2d5f2683af155114c06c1adfe72dbe965b7 100644 (file)
@@ -15,25 +15,7 @@ extern "C" {
 
     main->setting.state.step_small = iki_write_allocation_small_d;
 
-    if (main->program.parameters.array[f_console_standard_parameter_line_first_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~iki_write_main_flag_print_first_e;
-    }
-    else {
-      main->setting.flag |= iki_write_main_flag_print_first_e;
-    }
-
-    if (main->program.parameters.array[f_console_standard_parameter_line_last_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~iki_write_main_flag_print_last_e;
-    }
-    else {
-      main->setting.flag |= iki_write_main_flag_print_last_e;
-    }
-
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & iki_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       iki_write_print_error(&main->program.error, macro_iki_write_f(f_console_parameter_process));
 
       return;
@@ -42,10 +24,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_context_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & iki_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       iki_write_print_error(&main->program.error, macro_iki_write_f(fll_program_parameter_process_context_standard));
 
       return;
@@ -54,10 +32,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_verbosity_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & iki_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       iki_write_print_error(&main->program.error, macro_iki_write_f(fll_program_parameter_process_verbosity_standard));
 
       return;
@@ -96,10 +70,6 @@ extern "C" {
       if (main->program.parameters.array[iki_write_parameter_file_e].values.used > 1) {
         main->setting.state.status = F_status_set_error(F_parameter);
 
-        if ((main->setting.flag & iki_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fll_program_print_error_parameter_must_specify_once(&main->program.error, f_console_symbol_long_normal_s, iki_write_long_file_s);
 
         return;
@@ -113,10 +83,6 @@ extern "C" {
       main->setting.state.status = f_file_stream_open(main->program.parameters.arguments.array[index], f_string_empty_s, &main->program.output.to);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & iki_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fll_error_file_print(&main->program.error, F_status_set_fine(main->setting.state.status), macro_iki_write_f(f_file_stream_open), fll_error_file_flag_fallback_e, main->program.parameters.arguments.array[index], f_file_operation_open_s, fll_error_file_type_file_e);
 
         return;
@@ -127,10 +93,6 @@ extern "C" {
     else if (main->program.parameters.array[iki_write_parameter_file_e].result & f_console_result_found_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & iki_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, iki_write_long_file_s);
 
       return;
@@ -144,10 +106,6 @@ extern "C" {
       main->setting.state.status = f_memory_arrays_resize(values->used, sizeof(f_string_dynamic_t), (void **) &main->setting.objects.array, &main->setting.objects.used, &main->setting.objects.size, &f_string_dynamics_delete_callback);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & iki_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         iki_write_print_error(&main->program.error, macro_iki_write_f(f_memory_arrays_resize));
 
         return;
@@ -168,10 +126,6 @@ extern "C" {
     else if (main->program.parameters.array[iki_write_parameter_object_e].result & f_console_result_found_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & iki_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, iki_write_long_object_s);
 
       return;
@@ -185,10 +139,6 @@ extern "C" {
       main->setting.state.status = f_memory_arrays_resize(values->used, sizeof(f_string_dynamic_t), (void **) &main->setting.contents.array, &main->setting.contents.used, &main->setting.contents.size, &f_string_dynamics_delete_callback);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & iki_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         iki_write_print_error(&main->program.error, macro_iki_write_f(f_memory_arrays_resize));
 
         return;
@@ -209,10 +159,6 @@ extern "C" {
     else if (main->program.parameters.array[iki_write_parameter_content_e].result & f_console_result_found_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & iki_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, iki_write_long_content_s);
 
       return;
@@ -221,10 +167,6 @@ extern "C" {
     if (!(main->program.pipe & fll_program_data_pipe_input_e) && !(main->setting.flag & (iki_write_main_flag_content_e | iki_write_parameter_object_e))) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & iki_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       iki_write_print_error_main_missing(&main->program.error);
 
       return;
index c7935a3fef3166bab862b642bbf02dd7f79e0081..d26193a7d7f14756e0eb10c10c236518380f82ca 100644 (file)
@@ -27,9 +27,6 @@ extern "C" {
  *   - help:                   Print help.
  *   - object:                 The Object being written is specified.
  *   - pipe:                   Use the input pipe.
- *   - print_first:            When set, print new line to message output on program begin after loading settings.
- *   - print_last:             When set, print new line to message output on program end.
- *   - print_last:             The Object being written is specified.
  *   - version:                Print version.
  *   - version_copyright_help: A helper flag representing version, copyright, and help flag bits being set.
  *   - wrap:                   Wrap the vocabulary.
@@ -43,11 +40,9 @@ extern "C" {
     iki_write_main_flag_help_e                   = 0x8,
     iki_write_main_flag_object_e                 = 0x10,
     iki_write_main_flag_pipe_e                   = 0x20,
-    iki_write_main_flag_print_first_e            = 0x40,
-    iki_write_main_flag_print_last_e             = 0x80,
-    iki_write_main_flag_version_e                = 0x100,
-    iki_write_main_flag_version_copyright_help_e = 0x10a,
-    iki_write_main_flag_wrap_e                   = 0x200,
+    iki_write_main_flag_version_e                = 0x40,
+    iki_write_main_flag_version_copyright_help_e = 0x4a,
+    iki_write_main_flag_wrap_e                   = 0x80,
   }; // enum
 #endif // _di_iki_write_main_flag_e_
 
index 28e1e98525b179c21067e7e8c9874dfb5c57fda6..50c68fdfa58841639d1fabf1460de7c4f7da4fff 100644 (file)
@@ -7,19 +7,7 @@ extern "C" {
 #ifndef _di_iki_write_main_
   void iki_write_main(iki_write_main_t * const main) {
 
-    if (!main) return;
-
-    if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & iki_write_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
-      return;
-    }
-
-    if ((main->setting.flag & iki_write_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
+    if (!main || F_status_is_error(main->setting.state.status)) return;
 
     main->setting.state.status = F_okay;
 
@@ -34,10 +22,6 @@ extern "C" {
         fll_program_print_copyright(&main->program.message, fll_program_copyright_year_author_s);
       }
 
-      if ((main->setting.flag & iki_write_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       return;
     }
 
@@ -208,10 +192,6 @@ extern "C" {
         fll_print_dynamic_raw(f_string_eol_s, main->program.output.to);
       } // for
     }
-
-    if ((main->setting.flag & iki_write_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
   }
 #endif // _di_iki_write_main_
 
index f65ad9b78ba2b80f9eec17fd0433eee4b560cef2..2f15f66e9491b6e039945e4174f75bf39766bda9 100644 (file)
@@ -15,25 +15,7 @@ extern "C" {
 
     main->setting.state.step_small = status_code_allocation_small_d;
 
-    if (main->program.parameters.array[f_console_standard_parameter_line_first_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~status_code_main_flag_print_first_e;
-    }
-    else {
-      main->setting.flag |= status_code_main_flag_print_first_e;
-    }
-
-    if (main->program.parameters.array[f_console_standard_parameter_line_last_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~status_code_main_flag_print_last_e;
-    }
-    else {
-      main->setting.flag |= status_code_main_flag_print_last_e;
-    }
-
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & status_code_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       status_code_print_error(&main->program.error, macro_status_code_f(f_console_parameter_process));
 
       return;
@@ -42,10 +24,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_context_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & status_code_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       status_code_print_error(&main->program.error, macro_status_code_f(fll_program_parameter_process_context_standard));
 
       return;
@@ -54,10 +32,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_verbosity_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & status_code_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       status_code_print_error(&main->program.error, macro_status_code_f(fll_program_parameter_process_verbosity_standard));
 
       return;
@@ -109,10 +83,6 @@ extern "C" {
         if (!(main->setting.flag & status_code_main_flag_number_e)) {
           main->setting.state.status = F_status_set_error(F_parameter);
 
-          if ((main->setting.flag & status_code_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           status_code_print_error_cannot_error_warning_number(&main->program.error);
 
           return;
@@ -122,10 +92,6 @@ extern "C" {
       if (main->setting.flag & status_code_main_flag_fine_e) {
         main->setting.state.status = F_status_set_error(F_parameter);
 
-        if ((main->setting.flag & status_code_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         fll_program_print_error_parameter_cannot_use_with(&main->program.error, f_console_symbol_long_normal_s, f_console_symbol_long_normal_s, status_code_long_error_s, status_code_long_fine_s);
 
         return;
@@ -134,10 +100,6 @@ extern "C" {
     else if (main->setting.flag & status_code_main_flag_warning_e && main->setting.flag & status_code_main_flag_fine_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & status_code_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_parameter_cannot_use_with(&main->program.error, f_console_symbol_long_normal_s, f_console_symbol_long_normal_s, status_code_long_warning_s, status_code_long_fine_s);
 
       return;
@@ -146,10 +108,6 @@ extern "C" {
     if (main->program.parameters.remaining.used == 0 && !(main->program.pipe & fll_program_data_pipe_input_e)) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & status_code_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       status_code_print_error_no_status_codes(&main->program.error);
 
       return;
index b3bf49c742adb326f91ef3c0e1848d5fedbac16a..570f0ce8350b0e6c8be694784eafbdcc0ad0947e 100644 (file)
@@ -29,8 +29,6 @@ extern "C" {
  *   - help:                   Print help.
  *   - number:                 Operate in number mode.
  *   - pipe:                   Use the input pipe.
- *   - print_first:            When set, print new line to message output on program begin after loading settings.
- *   - print_last:             When set, print new line to message output on program end.
  *   - version:                Print version.
  *   - version_copyright_help: A helper flag representing version, copyright, and help flag bits being set.
  *   - warning:                Check if status is "warning".
@@ -44,11 +42,9 @@ extern "C" {
     status_code_main_flag_help_e                   = 0x8,
     status_code_main_flag_number_e                 = 0x10,
     status_code_main_flag_pipe_e                   = 0x20,
-    status_code_main_flag_print_first_e            = 0x40,
-    status_code_main_flag_print_last_e             = 0x80,
-    status_code_main_flag_version_e                = 0x100,
-    status_code_main_flag_version_copyright_help_e = 0x109,
-    status_code_main_flag_warning_e                = 0x200,
+    status_code_main_flag_version_e                = 0x40,
+    status_code_main_flag_version_copyright_help_e = 0x49,
+    status_code_main_flag_warning_e                = 0x80,
   }; // enum
 #endif // _di_status_code_main_flag_e_
 
index 886ab6269ff302b3355d143d6c9ffdeb302ba807..3f6b3a8e72f2756d605ce7f30d4de2432c263031 100644 (file)
@@ -7,19 +7,7 @@ extern "C" {
 #ifndef _di_status_code_main_
   void status_code_main(status_code_main_t * const main) {
 
-    if (!main) return;
-
-    if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & status_code_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
-      return;
-    }
-
-    if ((main->setting.flag & status_code_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
+    if (!main || F_status_is_error(main->setting.state.status)) return;
 
     if (!main->setting.status_string_from || !main->setting.status_string_to) {
       if (!main->setting.status_string_from) {
@@ -30,10 +18,6 @@ extern "C" {
         status_code_print_error_invalid_callback(&main->program.error, macro_status_code_f(status_string_to));
       }
 
-      if ((main->setting.flag & status_code_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       main->setting.state.status = F_status_set_error(F_parameter);
 
       return;
@@ -52,10 +36,6 @@ extern "C" {
         fll_program_print_copyright(&main->program.message, fll_program_copyright_year_author_s);
       }
 
-      if ((main->setting.flag & status_code_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       return;
     }
 
@@ -161,10 +141,6 @@ extern "C" {
     if (main->setting.state.status == F_status_set_error(F_interrupt)) {
       fll_program_print_signal_received(&main->program.warning, main->program.signal_received);
     }
-
-    if ((main->setting.flag & status_code_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
   }
 #endif // _di_status_code_main_
 
index e38db65e95d05f459e01fd7c3f4937fc0d07205d..35451fa0a507f226037c293d3f8068296d11a9a1 100644 (file)
@@ -15,25 +15,7 @@ extern "C" {
 
     main->setting.state.step_small = utf8_allocation_small_d;
 
-    if (main->program.parameters.array[f_console_standard_parameter_line_first_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~utf8_main_flag_print_first_e;
-    }
-    else {
-      main->setting.flag |= utf8_main_flag_print_first_e;
-    }
-
-    if (main->program.parameters.array[f_console_standard_parameter_line_last_no_e].result & f_console_result_found_e) {
-      main->setting.flag &= ~utf8_main_flag_print_last_e;
-    }
-    else {
-      main->setting.flag |= utf8_main_flag_print_last_e;
-    }
-
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       utf8_print_error(&main->program.error, macro_utf8_f(f_console_parameter_process));
 
       return;
@@ -42,10 +24,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_context_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       utf8_print_error(&main->program.error, macro_utf8_f(fll_program_parameter_process_context_standard));
 
       return;
@@ -54,10 +32,6 @@ extern "C" {
     main->setting.state.status = fll_program_parameter_process_verbosity_standard(F_true, &main->program);
 
     if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       utf8_print_error(&main->program.error, macro_utf8_f(fll_program_parameter_process_verbosity_standard));
 
       return;
@@ -77,10 +51,6 @@ extern "C" {
         main->setting.state.status = f_console_parameter_prioritize_right(main->program.parameters, choices, &choice);
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           utf8_print_error(&main->program.error, macro_utf8_f(f_console_parameter_prioritize_right));
 
           return;
@@ -106,10 +76,6 @@ extern "C" {
         main->setting.state.status = f_console_parameter_prioritize_right(main->program.parameters, choices, &choice);
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           utf8_print_error(&main->program.error, macro_utf8_f(f_console_parameter_prioritize_right));
 
           return;
@@ -175,10 +141,6 @@ extern "C" {
       if (main->program.parameters.array[utf8_parameter_to_file_e].values.used > 1) {
         main->setting.state.status = F_status_set_error(F_parameter);
 
-        if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         utf8_print_error_parameter_file_to_too_many(&main->program.error);
 
         return;
@@ -190,10 +152,6 @@ extern "C" {
         main->setting.state.status = f_memory_array_increase_by(1, sizeof(f_string_dynamic_t), (void **) &main->setting.path_files_to.array, &main->setting.path_files_to.used, &main->setting.path_files_to.size);
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           utf8_print_error(&main->program.error, macro_utf8_f(f_memory_array_increase_by));
 
           return;
@@ -204,10 +162,6 @@ extern "C" {
         main->setting.state.status = f_string_dynamic_append_nulless(main->program.parameters.arguments.array[main->program.parameters.array[utf8_parameter_to_file_e].values.array[0]], &main->setting.path_files_to.array[0]);
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           utf8_print_error(&main->program.error, macro_utf8_f(f_string_dynamic_append_nulless));
 
           return;
@@ -218,10 +172,6 @@ extern "C" {
         main->setting.state.status = f_file_stream_open(main->program.parameters.arguments.array[main->program.parameters.array[utf8_parameter_to_file_e].values.array[0]], f_file_open_mode_write_append_s, &main->program.output.to);
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           utf8_print_error_file(&main->program.error, macro_utf8_f(f_file_stream_open), main->program.parameters.arguments.array[main->program.parameters.array[utf8_parameter_to_file_e].values.array[0]], f_file_operation_open_s, fll_error_file_type_file_e);
 
           return;
@@ -230,10 +180,6 @@ extern "C" {
         main->setting.flag |= utf8_main_flag_file_to_e;
       }
       else {
-        if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         utf8_print_error_parameter_file_name_empty(&main->program.error, main->program.parameters.array[utf8_parameter_to_file_e].values.array[0]);
 
         main->setting.state.status = F_status_set_error(F_parameter);
@@ -244,10 +190,6 @@ extern "C" {
     else if (main->program.parameters.array[utf8_parameter_to_file_e].result & f_console_result_found_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-        if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
       fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, utf8_long_to_file_s);
 
       return;
@@ -263,10 +205,6 @@ extern "C" {
       main->setting.state.status = f_memory_array_increase_by(main->program.parameters.array[utf8_parameter_from_file_e].values.used, sizeof(f_string_dynamic_t), (void **) &main->setting.path_files_from.array, &main->setting.path_files_from.used, &main->setting.path_files_from.size);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         utf8_print_error(&main->program.error, macro_utf8_f(f_memory_array_increase_by));
 
         return;
@@ -285,10 +223,6 @@ extern "C" {
         main->setting.state.status = f_string_dynamic_append(main->program.parameters.arguments.array[index], &main->setting.path_files_from.array[i]);
 
         if (F_status_is_error(main->setting.state.status)) {
-          if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-            fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-          }
-
           fll_error_print(&main->program.error, F_status_set_fine(main->setting.state.status), macro_utf8_f(f_string_dynamic_append_nulless), fll_error_file_flag_fallback_e);
 
           break;
@@ -304,12 +238,6 @@ extern "C" {
           }
         }
         else {
-          if (F_status_is_error_not(main->setting.state.status)) {
-            if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-              fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-            }
-          }
-
           utf8_print_error_parameter_file_name_empty(&main->program.error, index);
 
           if (F_status_is_error_not(main->setting.state.status)) {
@@ -325,10 +253,6 @@ extern "C" {
     else if (main->program.parameters.array[utf8_parameter_from_file_e].result & f_console_result_found_e) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       fll_program_print_error_parameter_missing_value(&main->program.error, f_console_symbol_long_normal_s, utf8_long_from_file_s);
 
       return;
@@ -343,10 +267,6 @@ extern "C" {
       main->setting.state.status = f_memory_array_increase_by(main->program.parameters.remaining.used, sizeof(f_string_dynamic_t), (void **) &main->setting.remaining.array, &main->setting.remaining.used, &main->setting.remaining.size);
 
       if (F_status_is_error(main->setting.state.status)) {
-        if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-
         utf8_print_error(&main->program.error, macro_utf8_f(f_memory_array_increase_by));
 
         return;
@@ -366,10 +286,6 @@ extern "C" {
     if (!((main->setting.flag & (utf8_main_flag_pipe_e | utf8_main_flag_file_from_e)) || main->program.parameters.remaining.used)) {
       main->setting.state.status = F_status_set_error(F_parameter);
 
-      if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       utf8_print_error_no_from(&main->program.error);
 
       return;
index 3bf3822cdda556e72881f6bff2ff546dd36664a8..01d99357c4e093e5201db3c6da191600d97de6c4 100644 (file)
@@ -55,8 +55,6 @@ extern "C" {
  *   - header:                 Enable printing of headers.
  *   - help:                   Print help.
  *   - pipe:                   Use the input pipe.
- *   - print_first:            When set, print new line to message output on program begin after loading settings.
- *   - print_last:             When set, print new line to message output on program end.
  *   - separate:               Enable printing of separators.
  *   - strip_invalid:          Using strip invalid character mode.
  *   - verify:                 Using verify mode.
@@ -72,13 +70,11 @@ extern "C" {
     utf8_main_flag_header_e                 = 0x8,
     utf8_main_flag_help_e                   = 0x10,
     utf8_main_flag_pipe_e                   = 0x20,
-    utf8_main_flag_print_first_e            = 0x40,
-    utf8_main_flag_print_last_e             = 0x80,
-    utf8_main_flag_separate_e               = 0x100,
-    utf8_main_flag_strip_invalid_e          = 0x200,
-    utf8_main_flag_verify_e                 = 0x400,
-    utf8_main_flag_version_e                = 0x800,
-    utf8_main_flag_version_copyright_help_e = 0x811,
+    utf8_main_flag_separate_e               = 0x40,
+    utf8_main_flag_strip_invalid_e          = 0x80,
+    utf8_main_flag_verify_e                 = 0x100,
+    utf8_main_flag_version_e                = 0x200,
+    utf8_main_flag_version_copyright_help_e = 0x211,
   }; // enum
 #endif // _di_utf8_main_flag_e_
 
index 2fb3c88a9c4c7ae591d1e2af7d31d7918cf3cd04..11179e139bba66bb0eb66d7701604be6f4c1b587 100644 (file)
@@ -7,19 +7,7 @@ extern "C" {
 #ifndef _di_utf8_main_
   void utf8_main(utf8_main_t * const main) {
 
-    if (!main) return;
-
-    if (F_status_is_error(main->setting.state.status)) {
-      if ((main->setting.flag & utf8_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
-      return;
-    }
-
-    if ((main->setting.flag & utf8_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-    }
+    if (!main || F_status_is_error(main->setting.state.status)) return;
 
     main->setting.state.status = F_okay;
 
@@ -34,10 +22,6 @@ extern "C" {
         fll_program_print_copyright(&main->program.message, fll_program_copyright_year_author_s);
       }
 
-      if ((main->setting.flag & utf8_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-        fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-      }
-
       return;
     }
 
@@ -155,17 +139,6 @@ extern "C" {
       } // for
     }
 
-    if ((main->setting.flag & utf8_main_flag_print_last_e) && main->program.message.verbosity > f_console_verbosity_error_e) {
-      fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-
-      // The last line for data is not printed under certain circumstances, but when last line is printed to screen, print an extra last line.
-      if (F_status_is_error_not(main->setting.state.status) && F_status_set_fine(main->setting.state.status) != F_interrupt) {
-        if (!(main->setting.flag & (utf8_main_flag_file_to_e | utf8_main_flag_header_e | utf8_main_flag_separate_e))) {
-          fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
-        }
-      }
-    }
-
     if (F_status_is_error(main->setting.state.status) || main->setting.state.status == F_interrupt) return;
 
     main->setting.state.status = (main->setting.flag & utf8_main_flag_verify_e) ? valid : F_okay;