From eaff2337e4b94db7a632c1aa709793e8cbc354ad Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 23 Jul 2020 20:51:56 -0500 Subject: [PATCH] Cleanup: uppercase the first letter in the messages. --- build/scripts/package.sh | 112 ++++++++++----------- level_3/byte_dump/c/byte_dump.c | 2 +- level_3/byte_dump/c/private-byte_dump.c | 2 +- level_3/fake/c/fake.c | 2 +- level_3/fake/c/private-build.c | 10 +- level_3/fake/c/private-fake.c | 24 ++--- level_3/fake/c/private-make.c | 6 +- level_3/fake/c/private-print.c | 12 +-- level_3/firewall/c/firewall.c | 4 +- .../fss_basic_list_read/c/fss_basic_list_read.c | 4 +- .../c/private-fss_basic_list_read.c | 4 +- level_3/fss_basic_read/c/fss_basic_read.c | 4 +- level_3/fss_basic_read/c/private-fss_basic_read.c | 4 +- .../c/fss_extended_list_read.c | 4 +- .../c/private-fss_extended_list_read.c | 4 +- level_3/fss_extended_read/c/fss_extended_read.c | 4 +- .../c/private-fss_extended_read.c | 4 +- level_3/fss_status_code/c/fss_status_code.c | 2 +- level_3/iki_read/c/private-iki_read.c | 10 +- level_3/init/c/init.c | 2 +- level_3/status_code/c/status_code.c | 2 +- 21 files changed, 111 insertions(+), 111 deletions(-) diff --git a/build/scripts/package.sh b/build/scripts/package.sh index a78bff7..4df22fa 100644 --- a/build/scripts/package.sh +++ b/build/scripts/package.sh @@ -300,7 +300,7 @@ package_create_base_files() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create directory $c_notice$package$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create directory $c_notice$package$c_error.$c_reset" fi failure=1 @@ -309,7 +309,7 @@ package_create_base_files() { if [[ $failure == "" && ! -d ${path_build}documents ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: the build directory $c_notice${path_build}documents$c_error cannot be found or is invalid.$c_reset" + echo -e "${c_error}ERROR: The build directory $c_notice${path_build}documents$c_error cannot be found or is invalid.$c_reset" fi failure=1 @@ -320,7 +320,7 @@ package_create_base_files() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to copy directory $c_notice${path_build}documents$c_error to $c_notice$package$c_error.$c_reset" + 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 failure=1 @@ -333,7 +333,7 @@ package_create_base_files() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to copy directory $c_notice${path_build}licenses$c_error to $c_notice$package$c_error.$c_reset" + 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 failure=1 @@ -343,7 +343,7 @@ package_create_base_files() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to copy directory $c_notice${path_build}../licenses$c_error to $c_notice$package$c_error.$c_reset" + 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 failure=1 @@ -362,7 +362,7 @@ package_create_base_files() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - 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" + 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 failure=1 @@ -373,7 +373,7 @@ package_create_base_files() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to set executable permissions on script $c_notice${package}bootstrap.sh$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to set executable permissions on script $c_notice${package}bootstrap.sh$c_error.$c_reset" fi failure=1 @@ -385,7 +385,7 @@ package_create_base_files() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - 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" + 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 failure=1 @@ -397,7 +397,7 @@ package_create_base_files() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to set executable permissions on script $c_notice${package}install.sh$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to set executable permissions on script $c_notice${package}install.sh$c_error.$c_reset" fi failure=1 @@ -410,7 +410,7 @@ package_create_base_files() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create directory $c_notice${package}build$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create directory $c_notice${package}build$c_error.$c_reset" fi failure=1 @@ -422,7 +422,7 @@ package_create_base_files() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create directory $c_notice${package}sources$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create directory $c_notice${package}sources$c_error.$c_reset" fi failure=1 @@ -434,7 +434,7 @@ package_create_base_files() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create directory $c_notice${package}documents$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create directory $c_notice${package}documents$c_error.$c_reset" fi failure=1 @@ -446,7 +446,7 @@ package_create_base_files() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create directory $c_notice${package}licenses$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create directory $c_notice${package}licenses$c_error.$c_reset" fi failure=1 @@ -526,7 +526,7 @@ package_dependencies_individual() { if [[ ! -d ${path_sources}${level}/${dependency}/data/build/ ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to find dependency data directory $c_notice${path_sources}${level}/${dependency}/data/build/$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to find dependency data directory $c_notice${path_sources}${level}/${dependency}/data/build/$c_error.$c_reset" fi failure=1 @@ -553,7 +553,7 @@ package_dependencies_individual() { if [[ ! -d ${path_sources}${sub_level}/${sub_dependency}/data/build/ ]] ; then if [[ $verbosity != "quiet" ]] ; then - 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" + 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 failure=1 @@ -619,7 +619,7 @@ package_dependencies_individual() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to update settings file $c_notice${settings}$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to update settings file $c_notice${settings}$c_error.$c_reset" fi failure=1 @@ -632,7 +632,7 @@ package_dependencies_individual() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to update settings file $c_notice${settings}$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to update settings file $c_notice${settings}$c_error.$c_reset" fi failure=1 @@ -643,7 +643,7 @@ package_dependencies_individual() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to update settings file $c_notice${settings}$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to update settings file $c_notice${settings}$c_error.$c_reset" fi failure=1 @@ -662,7 +662,7 @@ package_dependencies_individual_append() { settings=${path_sources}${level}/${dependency}/data/build/settings if [[ ! -f $settings ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to find dependency settings file $c_notice$settings$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to find dependency settings file $c_notice$settings$c_error.$c_reset" fi failure=1 @@ -720,7 +720,7 @@ package_dependencies_level_update() { settings=${directory}/data/build/settings if [[ ! -f $settings ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to find settings file $c_notice$settings$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to find settings file $c_notice$settings$c_error.$c_reset" fi failure=1 @@ -744,7 +744,7 @@ package_dependencies_level_update() { if [[ ! -f $settings ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to find settings file $c_notice$settings$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to find settings file $c_notice$settings$c_error.$c_reset" fi failure=1 @@ -755,7 +755,7 @@ package_dependencies_level_update() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to update libraries for settings file $c_notice$settings$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to update libraries for settings file $c_notice$settings$c_error.$c_reset" fi failure=1 @@ -772,7 +772,7 @@ package_dependencies_level_update() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to update libraries for settings file $c_notice$settings$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to update libraries for settings file $c_notice$settings$c_error.$c_reset" fi failure=1 @@ -789,7 +789,7 @@ package_dependencies_level_update() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to update headers for settings file $c_notice$settings$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to update headers for settings file $c_notice$settings$c_error.$c_reset" fi failure=1 @@ -871,7 +871,7 @@ package_dependencies_monolithic() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to update libraries for settings file $c_notice$settings$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to update libraries for settings file $c_notice$settings$c_error.$c_reset" fi failure=1 @@ -891,7 +891,7 @@ package_dependencies_monolithic() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to update headers for settings file $c_notice$settings$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to update headers for settings file $c_notice$settings$c_error.$c_reset" fi failure=1 @@ -933,7 +933,7 @@ package_operation_copy_package() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - 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" + 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 failure=1 @@ -944,7 +944,7 @@ package_operation_copy_package() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to remove directory $c_notice${package}sources/data$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to remove directory $c_notice${package}sources/data$c_error.$c_reset" fi failure=1 @@ -957,7 +957,7 @@ package_operation_copy_package() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - 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" + 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 failure=1 @@ -968,7 +968,7 @@ package_operation_copy_package() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - 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" + 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 failure=1 @@ -981,7 +981,7 @@ package_operation_copy_package() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - 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" + 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 failure=1 @@ -992,7 +992,7 @@ package_operation_copy_package() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - 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" + 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 failure=1 @@ -1005,7 +1005,7 @@ package_operation_copy_package() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - 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" + 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 failure=1 @@ -1016,7 +1016,7 @@ package_operation_copy_package() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - 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" + 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 failure=1 @@ -1060,7 +1060,7 @@ package_operation_individual() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create directory $c_notice${path_destination}individual$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create directory $c_notice${path_destination}individual$c_error.$c_reset" fi package_cleanup @@ -1083,7 +1083,7 @@ package_operation_individual() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to copy sources directory $c_notice$directory$c_error to $c_notice${package}sources$c_error.$c_reset" + 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 failure=1 @@ -1131,7 +1131,7 @@ package_operation_level() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create directory $c_notice${package}data$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create directory $c_notice${package}data$c_error.$c_reset" fi failure=1 @@ -1147,7 +1147,7 @@ package_operation_level() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - 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" + 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 failure=1 @@ -1159,7 +1159,7 @@ package_operation_level() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create directory $c_notice${package}sources$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create directory $c_notice${package}sources$c_error.$c_reset" fi failure=1 @@ -1172,7 +1172,7 @@ package_operation_level() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - 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" + 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 failure=1 @@ -1183,7 +1183,7 @@ package_operation_level() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to remove directory $c_notice${package}sources/data/build$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to remove directory $c_notice${package}sources/data/build$c_error.$c_reset" fi failure=1 @@ -1237,7 +1237,7 @@ package_operation_monolithic() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create directory $c_notice${package}data$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create directory $c_notice${package}data$c_error.$c_reset" fi package_cleanup @@ -1253,7 +1253,7 @@ package_operation_monolithic() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - 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" + 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 package_cleanup @@ -1265,7 +1265,7 @@ package_operation_monolithic() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create directory $c_notice${package}sources$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create directory $c_notice${package}sources$c_error.$c_reset" fi package_cleanup @@ -1284,7 +1284,7 @@ package_operation_monolithic() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create package data directory $c_notice${package}data/$level$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create package data directory $c_notice${package}data/$level$c_error.$c_reset" fi failure=1 @@ -1296,7 +1296,7 @@ package_operation_monolithic() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to copy files from data directory $c_notice$subdirectory$c_error to $c_notice${package}sources/data$level$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to copy files from data directory $c_notice$subdirectory$c_error to $c_notice${package}sources/data$level$c_error.$c_reset" fi failure=1 @@ -1307,7 +1307,7 @@ package_operation_monolithic() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to remove directory $c_notice${package}sources/data/build$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to remove directory $c_notice${package}sources/data/build$c_error.$c_reset" fi failure=1 @@ -1319,7 +1319,7 @@ package_operation_monolithic() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - 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" + 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 failure=1 @@ -1331,7 +1331,7 @@ package_operation_monolithic() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to remove directory $c_notice${package}sources/data$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to remove directory $c_notice${package}sources/data$c_error.$c_reset" fi failure=1 @@ -1342,7 +1342,7 @@ package_operation_monolithic() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to copy files from data directory $c_notice$subdirectory$c_error to $c_notice${package}sources/documents$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to copy files from data directory $c_notice$subdirectory$c_error to $c_notice${package}sources/documents$c_error.$c_reset" fi failure=1 @@ -1353,7 +1353,7 @@ package_operation_monolithic() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to copy files from data directory $c_notice$subdirectory$c_error to $c_notice${package}sources/licenses$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to copy files from data directory $c_notice$subdirectory$c_error to $c_notice${package}sources/licenses$c_error.$c_reset" fi failure=1 @@ -1364,7 +1364,7 @@ package_operation_monolithic() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to copy files from data directory $c_notice$subdirectory$c_error to $c_notice${package}sources/specifications$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to copy files from data directory $c_notice$subdirectory$c_error to $c_notice${package}sources/specifications$c_error.$c_reset" fi failure=1 @@ -1376,7 +1376,7 @@ package_operation_monolithic() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create package sources directory $c_notice${package}sources/$pathname/$level$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create package sources directory $c_notice${package}sources/$pathname/$level$c_error.$c_reset" fi failure=1 @@ -1388,7 +1388,7 @@ package_operation_monolithic() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to copy files from sources directory $c_notice$subdirectory$c_error to $c_notice${package}sources/$pathname/$level$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to copy files from sources directory $c_notice$subdirectory$c_error to $c_notice${package}sources/$pathname/$level$c_error.$c_reset" fi failure=1 @@ -1424,7 +1424,7 @@ package_operation_program() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to create directory $c_notice${path_destination}program$c_error.$c_reset" + echo -e "${c_error}ERROR: Failed to create directory $c_notice${path_destination}program$c_error.$c_reset" fi package_cleanup @@ -1447,7 +1447,7 @@ package_operation_program() { if [[ $? -ne 0 ]] ; then if [[ $verbosity != "quiet" ]] ; then - echo -e "${c_error}ERROR: failed to copy sources directory $c_notice$directory$c_error to $c_notice${package}sources$c_error.$c_reset" + 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 failure=1 diff --git a/level_3/byte_dump/c/byte_dump.c b/level_3/byte_dump/c/byte_dump.c index 0ef751e..7d407b5 100644 --- a/level_3/byte_dump/c/byte_dump.c +++ b/level_3/byte_dump/c/byte_dump.c @@ -376,7 +376,7 @@ extern "C" { } } else { - fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: you failed to specify one or more filenames."); + fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: You failed to specify one or more filenames."); status = F_status_set_error(F_parameter); } diff --git a/level_3/byte_dump/c/private-byte_dump.c b/level_3/byte_dump/c/private-byte_dump.c index a251f0c..0e44b27 100644 --- a/level_3/byte_dump/c/private-byte_dump.c +++ b/level_3/byte_dump/c/private-byte_dump.c @@ -826,7 +826,7 @@ extern "C" { #ifndef _di_byte_dump_print_file_error_ void byte_dump_print_file_error(const fl_color_context context, const f_string function, const f_string file_name, const f_status status) { if (status == F_false) { - fl_color_print(f_type_error, context.error, context.reset, "ERROR: failed to find file '"); + fl_color_print(f_type_error, context.error, context.reset, "ERROR: Failed to find file '"); fl_color_print(f_type_error, context.notable, context.reset, "%s", file_name); fl_color_print_line(f_type_error, context.error, context.reset, "'."); return; diff --git a/level_3/fake/c/fake.c b/level_3/fake/c/fake.c index be01f84..a35e47b 100644 --- a/level_3/fake/c/fake.c +++ b/level_3/fake/c/fake.c @@ -335,7 +335,7 @@ extern "C" { else { if (data->verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: you failed to specify an operation."); + fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: You failed to specify an operation."); fprintf(f_type_error, "%c", f_string_eol[0]); } diff --git a/level_3/fake/c/private-build.c b/level_3/fake/c/private-build.c index c9a7fd9..e5c90a8 100644 --- a/level_3/fake/c/private-build.c +++ b/level_3/fake/c/private-build.c @@ -326,7 +326,7 @@ extern "C" { if (F_status_set_fine(*status) == F_file_found_not) { if (data.verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: failed to find program '"); + fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: Failed to find program '"); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", program.string); fl_color_print_line(f_type_error, data.context.error, data.context.reset, "' for executing."); } @@ -1269,7 +1269,7 @@ extern "C" { for (uint8_t i = 0; i < 1; i++) { if (settings[i]->used == 0) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: the setting '"); + fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: The setting '"); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", names[i]); fl_color_print(f_type_error, data.context.error, data.context.reset, "' is required but is not specified in the settings file '"); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", data.file_data_build_settings.string); @@ -1485,7 +1485,7 @@ extern "C" { if (found == F_false) { if (data.verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: the specified mode '"); + fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: The specified mode '"); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", modes->array[i].string); fl_color_print(f_type_error, data.context.error, data.context.reset, "' is not a valid mode, according to '"); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", path_file); @@ -1538,7 +1538,7 @@ extern "C" { if (data.verbosity != fake_verbosity_quiet) { // @todo update FSS functions to return which setting index the problem happened on. fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: a setting in the build setting file '"); + fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: A setting in the build setting file '"); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", path_file); fl_color_print_line(f_type_error, data.context.error, data.context.reset, "' is too long."); } @@ -1994,7 +1994,7 @@ extern "C" { if (setting->build_shared == F_false && setting->build_static == F_false) { if (data.verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: the build settings '"); + fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: The build settings '"); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", fake_build_setting_name_build_shared); fl_color_print(f_type_error, data.context.error, data.context.reset, "' and '"); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", fake_build_setting_name_build_static); diff --git a/level_3/fake/c/private-fake.c b/level_3/fake/c/private-fake.c index 1cc1bab..1e7f47a 100644 --- a/level_3/fake/c/private-fake.c +++ b/level_3/fake/c/private-fake.c @@ -574,7 +574,7 @@ extern "C" { if (F_status_is_error(status)) { if (fake_print_error(*data, F_status_set_fine(status), "f_utf_is_word_dash_plus", F_false) == F_unknown && data->verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: failed to process the parameter '"); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: Failed to process the parameter '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s%s", f_console_symbol_long_enable, fake_long_process); fl_color_print_line(f_type_error, data->context.error, data->context.reset, "'."); } @@ -585,7 +585,7 @@ extern "C" { if (status == F_false) { if (data->verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: the '"); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: The '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s%s", f_console_symbol_long_enable, fake_long_process); fl_color_print(f_type_error, data->context.error, data->context.reset, "' parameters value '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s", arguments.argv[location]); @@ -603,7 +603,7 @@ extern "C" { if (status == F_status_set_error(F_string_too_large)) { if (data->verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: the parameter '"); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: The parameter '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s%s", f_console_symbol_long_enable, parameters_name[i]); fl_color_print_line(f_type_error, data->context.error, data->context.reset, "' is too long."); } @@ -622,7 +622,7 @@ extern "C" { if (length == 0 || status == F_data_not) { if (data->verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: the parameter '"); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: The parameter '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s%s", f_console_symbol_long_enable, parameters_name[i]); fl_color_print_line(f_type_error, data->context.error, data->context.reset, "' must not be empty and must not contain only whitespace."); } @@ -699,7 +699,7 @@ extern "C" { if (F_status_is_error(status)) { if (fake_print_error(*data, F_status_set_fine(status), "fl_console_parameter_to_string_dynamic_directory", F_false) == F_unknown && data->verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: failed to process parameter '"); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: Failed to process parameter '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s%s", f_console_symbol_long_enable, parameters_name[i]); fl_color_print_line(f_type_error, data->context.error, data->context.reset, "'."); } @@ -713,7 +713,7 @@ extern "C" { if (F_status_is_error(status)) { if (fake_print_error(*data, F_status_set_fine(status), "f_macro_string_dynamic_new", F_false) == F_unknown && data->verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: failed to load default for the parameter '"); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: Failed to load default for the parameter '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s%s", f_console_symbol_long_enable, parameters_name[i]); fl_color_print_line(f_type_error, data->context.error, data->context.reset, "'."); } @@ -733,7 +733,7 @@ extern "C" { if (F_status_is_error(status)) { if (fake_print_error(*data, F_status_set_fine(status), "fll_program_parameter_additional_rip", F_false) == F_unknown && data->verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: failed to process the parameter '"); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: Failed to process the parameter '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s%s", f_console_symbol_long_enable, fake_long_define); fl_color_print_line(f_type_error, data->context.error, data->context.reset, "'."); } @@ -754,7 +754,7 @@ extern "C" { if (F_status_is_error(status)) { if (fake_print_error(*data, F_status_set_fine(status), "f_utf_is_word", F_false) == F_unknown && data->verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: failed to process the parameter '"); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: Failed to process the parameter '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s%s", f_console_symbol_long_enable, fake_long_define); fl_color_print_line(f_type_error, data->context.error, data->context.reset, "'."); } @@ -765,7 +765,7 @@ extern "C" { if (status == F_false) { if (data->verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: the '"); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: The '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s%s", f_console_symbol_long_enable, fake_long_define); fl_color_print(f_type_error, data->context.error, data->context.reset, "' parameters value '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s", data->define.array[i].string); @@ -788,7 +788,7 @@ extern "C" { if (F_status_is_error(status)) { if (fake_print_error(*data, F_status_set_fine(status), "fll_program_parameter_additional_rip", F_false) == F_unknown && data->verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: failed to process the parameter '"); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: Failed to process the parameter '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s%s", f_console_symbol_long_enable, fake_long_mode); fl_color_print_line(f_type_error, data->context.error, data->context.reset, "'."); } @@ -809,7 +809,7 @@ extern "C" { if (F_status_is_error(status)) { if (fake_print_error(*data, F_status_set_fine(status), "f_utf_is_word_dash_plus", F_false) == F_unknown && data->verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: failed to process the parameter '"); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: Failed to process the parameter '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s%s", f_console_symbol_long_enable, fake_long_mode); fl_color_print_line(f_type_error, data->context.error, data->context.reset, "'."); } @@ -820,7 +820,7 @@ extern "C" { if (status == F_false) { if (data->verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: the '"); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: The '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s%s", f_console_symbol_long_enable, fake_long_mode); fl_color_print(f_type_error, data->context.error, data->context.reset, "' parameters value '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s", data->mode.array[i].string); diff --git a/level_3/fake/c/private-make.c b/level_3/fake/c/private-make.c index e8a2cfe..f27e196 100644 --- a/level_3/fake/c/private-make.c +++ b/level_3/fake/c/private-make.c @@ -158,7 +158,7 @@ extern "C" { if (missing_main) { if (data.verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: the fakefile '"); + fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: The fakefile '"); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", data.file_data_build_fakefile.string); fl_color_print(f_type_error, data.context.error, data.context.reset, "' is missing the required '"); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", fake_make_section_main); @@ -383,7 +383,7 @@ extern "C" { else { if (data.verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: invalid characters in the define setting name '"); + fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: Invalid characters in the define setting name '"); fl_color_print_code(f_type_error, data.context.notable); f_print_string_dynamic(f_type_error, define.array[i].name); @@ -1609,7 +1609,7 @@ extern "C" { if (F_status_set_fine(status) == F_file_found_not) { if (data.verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: failed to find program '"); + fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: Failed to find program '"); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", program.string); fl_color_print_line(f_type_error, data.context.error, data.context.reset, "' for executing."); } diff --git a/level_3/fake/c/private-print.c b/level_3/fake/c/private-print.c index cab4fc2..0a420fa 100644 --- a/level_3/fake/c/private-print.c +++ b/level_3/fake/c/private-print.c @@ -444,7 +444,7 @@ extern "C" { if (status == F_file_found_not) { if (data.verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: failed to find %s '", file_or_directory); + fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: Failed to find %s '", file_or_directory); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", name); fl_color_print_line(f_type_error, data.context.error, data.context.reset, "'."); } @@ -455,7 +455,7 @@ extern "C" { if (status == F_file_found) { if (data.verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: the %s '", file_or_directory); + fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: The %s '", file_or_directory); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", name); fl_color_print_line(f_type_error, data.context.error, data.context.reset, "' already exists."); } @@ -557,7 +557,7 @@ extern "C" { if (status == F_directory_found_not) { if (data.verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: failed to %s %s '", operation, file_or_directory); + fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: Failed to %s %s '", operation, file_or_directory); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", name); fl_color_print_line(f_type_error, data.context.error, data.context.reset, "' due to an invalid directory in the path."); } @@ -569,7 +569,7 @@ extern "C" { if (status == F_directory_found_not) { if (data.verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: failed to %s %s '", operation, file_or_directory); + fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: Failed to %s %s '", operation, file_or_directory); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", name); fl_color_print_line(f_type_error, data.context.error, data.context.reset, "' due to an invalid directory in the path."); } @@ -580,7 +580,7 @@ extern "C" { if (status == F_failure) { if (data.verbosity != fake_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: failed to %s %s '", operation, file_or_directory); + fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: Failed to %s %s '", operation, file_or_directory); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", name); fl_color_print_line(f_type_error, data.context.error, data.context.reset, "'."); } @@ -650,7 +650,7 @@ extern "C" { if (F_status_set_fine(status) == F_false) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: the path '"); + fl_color_print(f_type_error, data.context.error, data.context.reset, "ERROR: The path '"); fl_color_print(f_type_error, data.context.notable, data.context.reset, "%s", path); fl_color_print_line(f_type_error, data.context.error, data.context.reset, "' is outside the project root."); } diff --git a/level_3/firewall/c/firewall.c b/level_3/firewall/c/firewall.c index 992d90e..2b382d5 100644 --- a/level_3/firewall/c/firewall.c +++ b/level_3/firewall/c/firewall.c @@ -324,10 +324,10 @@ extern "C" { fl_color_print_line(f_type_error, data->context.error, data->context.reset, "CRITICAL ERROR: Unable to allocate memory."); } else if (status == F_data_not) { - fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: could not find any network devices"); + fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: Could not find any network devices"); } else if (status == F_failure) { - fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: failed to read the device directory '%s'", network_devices); + fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: Failed to read the device directory '%s'", network_devices); } firewall_delete_local_data(&local); diff --git a/level_3/fss_basic_list_read/c/fss_basic_list_read.c b/level_3/fss_basic_list_read/c/fss_basic_list_read.c index b7e2cab..9f68d77 100644 --- a/level_3/fss_basic_list_read/c/fss_basic_list_read.c +++ b/level_3/fss_basic_list_read/c/fss_basic_list_read.c @@ -257,7 +257,7 @@ extern "C" { } if (data->parameters[fss_basic_list_read_parameter_select].result == f_console_result_found) { - fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: the '"); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: The '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s%s", f_console_symbol_long_enable, fss_basic_list_read_long_select); fl_color_print_line(f_type_error, data->context.error, data->context.reset, "' parameter requires a positive number."); @@ -356,7 +356,7 @@ extern "C" { macro_fss_basic_list_read_depths_delete_simple(depths); } else { - fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: you failed to specify one or more files."); + fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: You failed to specify one or more files."); status = F_status_set_error(F_parameter); } diff --git a/level_3/fss_basic_list_read/c/private-fss_basic_list_read.c b/level_3/fss_basic_list_read/c/private-fss_basic_list_read.c index 6148817..0936090 100644 --- a/level_3/fss_basic_list_read/c/private-fss_basic_list_read.c +++ b/level_3/fss_basic_list_read/c/private-fss_basic_list_read.c @@ -265,12 +265,12 @@ extern "C" { fl_color_print_line(f_type_error, data->context.error, data->context.reset, "CRITICAL ERROR: Unable to allocate memory."); } else if (status == F_incomplete_utf_stop) { - fl_color_print(f_type_error, data->context.error, data->context.reset, "ENCODING ERROR: error occurred on invalid UTF-8 character at stop position (at "); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ENCODING ERROR: Error occurred on invalid UTF-8 character at stop position (at "); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%d", input.start); fl_color_print_line(f_type_error, data->context.error, data->context.reset, ")."); } else if (status == F_incomplete_utf_eos) { - fl_color_print(f_type_error, data->context.error, data->context.reset, "ENCODING ERROR: error occurred on invalid UTF-8 character at end of string (at "); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ENCODING ERROR: Error occurred on invalid UTF-8 character at end of string (at "); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%d", input.start); fl_color_print_line(f_type_error, data->context.error, data->context.reset, ")."); } diff --git a/level_3/fss_basic_read/c/fss_basic_read.c b/level_3/fss_basic_read/c/fss_basic_read.c index 2bf722c..a9aa4cc 100644 --- a/level_3/fss_basic_read/c/fss_basic_read.c +++ b/level_3/fss_basic_read/c/fss_basic_read.c @@ -257,7 +257,7 @@ extern "C" { } if (data->parameters[fss_basic_read_parameter_select].result == f_console_result_found) { - fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: the '"); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: The '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s%s", f_console_symbol_long_enable, fss_basic_read_long_select); fl_color_print_line(f_type_error, data->context.error, data->context.reset, "' parameter requires a positive number."); @@ -359,7 +359,7 @@ extern "C" { macro_fss_basic_read_depths_delete_simple(depths); } else { - fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: you failed to specify one or more files."); + fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: You failed to specify one or more files."); status = F_status_set_error(F_parameter); } diff --git a/level_3/fss_basic_read/c/private-fss_basic_read.c b/level_3/fss_basic_read/c/private-fss_basic_read.c index 5f2726c..783d1dc 100644 --- a/level_3/fss_basic_read/c/private-fss_basic_read.c +++ b/level_3/fss_basic_read/c/private-fss_basic_read.c @@ -265,12 +265,12 @@ extern "C" { fl_color_print_line(f_type_error, data->context.error, data->context.reset, "CRITICAL ERROR: Unable to allocate memory."); } else if (status == F_incomplete_utf_stop) { - fl_color_print(f_type_error, data->context.error, data->context.reset, "ENCODING ERROR: error occurred on invalid UTF-8 character at stop position (at "); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ENCODING ERROR: Error occurred on invalid UTF-8 character at stop position (at "); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%d", input.start); fl_color_print_line(f_type_error, data->context.error, data->context.reset, ")."); } else if (status == F_incomplete_utf_eos) { - fl_color_print(f_type_error, data->context.error, data->context.reset, "ENCODING ERROR: error occurred on invalid UTF-8 character at end of string (at "); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ENCODING ERROR: Error occurred on invalid UTF-8 character at end of string (at "); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%d", input.start); fl_color_print_line(f_type_error, data->context.error, data->context.reset, ")."); } diff --git a/level_3/fss_extended_list_read/c/fss_extended_list_read.c b/level_3/fss_extended_list_read/c/fss_extended_list_read.c index b37c0a1..fc9f040 100644 --- a/level_3/fss_extended_list_read/c/fss_extended_list_read.c +++ b/level_3/fss_extended_list_read/c/fss_extended_list_read.c @@ -242,7 +242,7 @@ extern "C" { } if (data->parameters[fss_extended_list_read_parameter_select].result == f_console_result_found) { - fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: the '"); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: The '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s%s", f_console_symbol_long_enable, fss_extended_list_read_long_select); fl_color_print_line(f_type_error, data->context.error, data->context.reset, "' parameter requires a positive number."); @@ -341,7 +341,7 @@ extern "C" { macro_fss_extended_list_read_depths_delete_simple(depths); } else { - fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: you failed to specify one or more files."); + fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: You failed to specify one or more files."); status = F_status_set_error(F_parameter); } diff --git a/level_3/fss_extended_list_read/c/private-fss_extended_list_read.c b/level_3/fss_extended_list_read/c/private-fss_extended_list_read.c index 80f091b..e501b0e 100644 --- a/level_3/fss_extended_list_read/c/private-fss_extended_list_read.c +++ b/level_3/fss_extended_list_read/c/private-fss_extended_list_read.c @@ -265,12 +265,12 @@ extern "C" { fl_color_print_line(f_type_error, data->context.error, data->context.reset, "CRITICAL ERROR: Unable to allocate memory."); } else if (status == F_incomplete_utf_stop) { - fl_color_print(f_type_error, data->context.error, data->context.reset, "ENCODING ERROR: error occurred on invalid UTF-8 character at stop position (at "); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ENCODING ERROR: Error occurred on invalid UTF-8 character at stop position (at "); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%d", input.start); fl_color_print_line(f_type_error, data->context.error, data->context.reset, ")."); } else if (status == F_incomplete_utf_eos) { - fl_color_print(f_type_error, data->context.error, data->context.reset, "ENCODING ERROR: error occurred on invalid UTF-8 character at end of string (at "); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ENCODING ERROR: Error occurred on invalid UTF-8 character at end of string (at "); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%d", input.start); fl_color_print_line(f_type_error, data->context.error, data->context.reset, ")."); } diff --git a/level_3/fss_extended_read/c/fss_extended_read.c b/level_3/fss_extended_read/c/fss_extended_read.c index 3d4bcda..cf60385 100644 --- a/level_3/fss_extended_read/c/fss_extended_read.c +++ b/level_3/fss_extended_read/c/fss_extended_read.c @@ -257,7 +257,7 @@ extern "C" { } if (data->parameters[fss_extended_read_parameter_select].result == f_console_result_found) { - fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: the '"); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ERROR: The '"); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%s%s", f_console_symbol_long_enable, fss_extended_read_long_select); fl_color_print_line(f_type_error, data->context.error, data->context.reset, "' parameter requires a positive number."); @@ -358,7 +358,7 @@ extern "C" { macro_fss_extended_read_depths_delete_simple(depths); } else { - fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: you failed to specify one or more files."); + fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: You failed to specify one or more files."); status = F_status_set_error(F_parameter); } diff --git a/level_3/fss_extended_read/c/private-fss_extended_read.c b/level_3/fss_extended_read/c/private-fss_extended_read.c index d64c7a1..75bbeae 100644 --- a/level_3/fss_extended_read/c/private-fss_extended_read.c +++ b/level_3/fss_extended_read/c/private-fss_extended_read.c @@ -265,12 +265,12 @@ extern "C" { fl_color_print_line(f_type_error, data->context.error, data->context.reset, "CRITICAL ERROR: Unable to allocate memory."); } else if (status == F_incomplete_utf_stop) { - fl_color_print(f_type_error, data->context.error, data->context.reset, "ENCODING ERROR: error occurred on invalid UTF-8 character at stop position (at "); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ENCODING ERROR: Error occurred on invalid UTF-8 character at stop position (at "); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%d", input.start); fl_color_print_line(f_type_error, data->context.error, data->context.reset, ")."); } else if (status == F_incomplete_utf_eos) { - fl_color_print(f_type_error, data->context.error, data->context.reset, "ENCODING ERROR: error occurred on invalid UTF-8 character at end of string (at "); + fl_color_print(f_type_error, data->context.error, data->context.reset, "ENCODING ERROR: Error occurred on invalid UTF-8 character at end of string (at "); fl_color_print(f_type_error, data->context.notable, data->context.reset, "%d", input.start); fl_color_print_line(f_type_error, data->context.error, data->context.reset, ")."); } diff --git a/level_3/fss_status_code/c/fss_status_code.c b/level_3/fss_status_code/c/fss_status_code.c index 495ec94..820650c 100644 --- a/level_3/fss_status_code/c/fss_status_code.c +++ b/level_3/fss_status_code/c/fss_status_code.c @@ -92,7 +92,7 @@ extern "C" { } if (data->remaining.used == 0 && !data->process_pipe) { - fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: you failed to specify an error code."); + fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: You failed to specify an error code."); fss_status_code_delete_data(data); return F_status_set_error(F_parameter); diff --git a/level_3/iki_read/c/private-iki_read.c b/level_3/iki_read/c/private-iki_read.c index a9df7d6..575e4d3 100644 --- a/level_3/iki_read/c/private-iki_read.c +++ b/level_3/iki_read/c/private-iki_read.c @@ -72,7 +72,7 @@ extern "C" { if (status == F_file_found_not) { if (verbosity != iki_read_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, context.error, context.reset, "ERROR: failed to find %s '", file_or_directory); + fl_color_print(f_type_error, context.error, context.reset, "ERROR: Failed to find %s '", file_or_directory); fl_color_print(f_type_error, context.notable, context.reset, "%s", name); fl_color_print_line(f_type_error, context.error, context.reset, "'."); } @@ -83,7 +83,7 @@ extern "C" { if (status == F_file_found) { if (verbosity != iki_read_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, context.error, context.reset, "ERROR: the %s '", file_or_directory); + fl_color_print(f_type_error, context.error, context.reset, "ERROR: The %s '", file_or_directory); fl_color_print(f_type_error, context.notable, context.reset, "%s", name); fl_color_print_line(f_type_error, context.error, context.reset, "' already exists."); } @@ -185,7 +185,7 @@ extern "C" { if (status == F_directory_found_not) { if (verbosity != iki_read_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, context.error, context.reset, "ERROR: failed to %s %s '", operation, file_or_directory); + fl_color_print(f_type_error, context.error, context.reset, "ERROR: Failed to %s %s '", operation, file_or_directory); fl_color_print(f_type_error, context.notable, context.reset, "%s", name); fl_color_print_line(f_type_error, context.error, context.reset, "' due to an invalid directory in the path."); } @@ -197,7 +197,7 @@ extern "C" { if (status == F_directory_found_not) { if (verbosity != iki_read_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, context.error, context.reset, "ERROR: failed to %s %s '", operation, file_or_directory); + fl_color_print(f_type_error, context.error, context.reset, "ERROR: Failed to %s %s '", operation, file_or_directory); fl_color_print(f_type_error, context.notable, context.reset, "%s", name); fl_color_print_line(f_type_error, context.error, context.reset, "' due to an invalid directory in the path."); } @@ -208,7 +208,7 @@ extern "C" { if (status == F_failure) { if (verbosity != iki_read_verbosity_quiet) { fprintf(f_type_error, "%c", f_string_eol[0]); - fl_color_print(f_type_error, context.error, context.reset, "ERROR: failed to %s %s '", operation, file_or_directory); + fl_color_print(f_type_error, context.error, context.reset, "ERROR: Failed to %s %s '", operation, file_or_directory); fl_color_print(f_type_error, context.notable, context.reset, "%s", name); fl_color_print_line(f_type_error, context.error, context.reset, "'."); } diff --git a/level_3/init/c/init.c b/level_3/init/c/init.c index e2976e0..1102310 100644 --- a/level_3/init/c/init.c +++ b/level_3/init/c/init.c @@ -155,7 +155,7 @@ extern "C" { signal_problem_count++; if (signal_problem_count > problem_count_max_signal_size) { - fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: max signal problem count has been reached, sleeping for a period of time.", errno); + fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: Max signal problem count has been reached, sleeping for a period of time.", errno); sleep(init_panic_signal_sleep_seconds); signal_problem_count = 0; } diff --git a/level_3/status_code/c/status_code.c b/level_3/status_code/c/status_code.c index dba7647..d9cd469 100644 --- a/level_3/status_code/c/status_code.c +++ b/level_3/status_code/c/status_code.c @@ -94,7 +94,7 @@ extern "C" { } if (data->remaining.used == 0 && !data->process_pipe) { - fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: you failed to specify a status code."); + fl_color_print_line(f_type_error, data->context.error, data->context.reset, "ERROR: You failed to specify a status code."); status_code_delete_data(data); return F_status_set_error(F_parameter); -- 1.8.3.1