Skip to content

Commit

Permalink
Rectified several text literal expressions.
Browse files Browse the repository at this point in the history
  • Loading branch information
caibinwav123456 committed Jan 14, 2022
1 parent dcdca63 commit 9056172
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions IPCIF/src/fs_sh/fscmdex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,9 @@ DEF_SH_PRED_CMD(hex,hex_handler,hex_pred_handler,
"The hex command generates a stream of binary data according to the arguments.\n"
"The stream of data is output to the stdout or can be redirected to files.\n"
"Each item may be specified in two different ways(styles):\n"
"1. Heximal bytes\n"
"\tThis type of data are strings of 8-bit heximal numbers that indicate byte streams, "
"like 1f, 2e, abcd, fedcba, etc. The heximal bytes can be combined together to form a heximal string.\n"
"1. Hexadecimal bytes\n"
"\tThis type of data are strings of 8-bit hexadecimal numbers that indicate byte streams, "
"like 1f, 2e, abcd, fedcba, etc. The hexadecimal bytes can be combined together to form a hexadecimal string.\n"
"2. ASCII strings\n"
"\tThis type of data are normal ansi strings preceded with a single ascii character \'i\'. "
"Quotes(\' or \") are needed when the string contains spaces or other special characters. "
Expand Down Expand Up @@ -702,11 +702,11 @@ DEF_SH_PRED_CMD(fmt,fmt_handler,fmt_pred_handler,
"The bytes count is given in a decimal number between 4 and 32.\n"
"If this option is not set, the output stream is shown in continuous bytes without line segregation.\n"
"-h\n"
"\tThis option specifies that the output stream is displayed in heximal format "
"\tThis option specifies that the output stream is displayed in hexadecimal format "
"with each byte separated by a space character.\n"
"\tThis is the default format.\n"
"-H\n"
"\tThis option specifies that the output stream is displayed in compact heximal format "
"\tThis option specifies that the output stream is displayed in compact hexadecimal format "
"with no space separations between adjancent bytes.\n"
"-b\n"
"\tThis option specifies that the output stream is displayed in binary format "
Expand All @@ -718,7 +718,7 @@ DEF_SH_PRED_CMD(fmt,fmt_handler,fmt_pred_handler,
"\tThe ascii characters is shown besides the output stream.\n"
"\tThis option must be used together with option \'--linelen\'.\n"
"-r\n"
"\tThe offset of each line in the output stream is displayed before the line in 32-bit heximal format.\n"
"\tThe offset of each line in the output stream is displayed before the line in 32-bit hexadecimal format.\n"
"\tThis option must be used together with option \'--linelen\'.\n"
);
struct st_inner_path
Expand Down Expand Up @@ -1484,7 +1484,7 @@ DEF_SH_CMD(setlen,setlen_handler,
"The setlen command sets the length of the specified file.\n"
"The file-path must be an existing path and must indicate a normal file.\n"
"The length value must be within signed 64-bit binary integers, "
"and can be either decimal or heximal, with heximal values prefixed by \'0x\'.\n"
"and can be either decimal or hexadecimal, with hexadecimal values prefixed by \'0x\'.\n"
"If the desired length is less than the original file length, "
"it will be truncated to the desired length.\n"
"If the desired length is more than the original file length, "
Expand Down
14 changes: 7 additions & 7 deletions misc/unittest/fs_sh/fscmdex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,9 @@ DEF_SH_PRED_CMD(hex,hex_handler,hex_pred_handler,
"The hex command generates a stream of binary data according to the arguments.\n"
"The stream of data is output to the stdout or can be redirected to files.\n"
"Each item may be specified in two different ways(styles):\n"
"1. Heximal bytes\n"
"\tThis type of data are strings of 8-bit heximal numbers that indicate byte streams, "
"like 1f, 2e, abcd, fedcba, etc. The heximal bytes can be combined together to form a heximal string.\n"
"1. Hexadecimal bytes\n"
"\tThis type of data are strings of 8-bit hexadecimal numbers that indicate byte streams, "
"like 1f, 2e, abcd, fedcba, etc. The hexadecimal bytes can be combined together to form a hexadecimal string.\n"
"2. ASCII strings\n"
"\tThis type of data are normal ansi strings preceded with a single ascii character \'i\'. "
"Quotes(\' or \") are needed when the string contains spaces or other special characters. "
Expand Down Expand Up @@ -702,11 +702,11 @@ DEF_SH_PRED_CMD(fmt,fmt_handler,fmt_pred_handler,
"The bytes count is given in a decimal number between 4 and 32.\n"
"If this option is not set, the output stream is shown in continuous bytes without line segregation.\n"
"-h\n"
"\tThis option specifies that the output stream is displayed in heximal format "
"\tThis option specifies that the output stream is displayed in hexadecimal format "
"with each byte separated by a space character.\n"
"\tThis is the default format.\n"
"-H\n"
"\tThis option specifies that the output stream is displayed in compact heximal format "
"\tThis option specifies that the output stream is displayed in compact hexadecimal format "
"with no space separations between adjancent bytes.\n"
"-b\n"
"\tThis option specifies that the output stream is displayed in binary format "
Expand All @@ -718,7 +718,7 @@ DEF_SH_PRED_CMD(fmt,fmt_handler,fmt_pred_handler,
"\tThe ascii characters is shown besides the output stream.\n"
"\tThis option must be used together with option \'--linelen\'.\n"
"-r\n"
"\tThe offset of each line in the output stream is displayed before the line in 32-bit heximal format.\n"
"\tThe offset of each line in the output stream is displayed before the line in 32-bit hexadecimal format.\n"
"\tThis option must be used together with option \'--linelen\'.\n"
);
struct st_inner_path
Expand Down Expand Up @@ -1484,7 +1484,7 @@ DEF_SH_CMD(setlen,setlen_handler,
"The setlen command sets the length of the specified file.\n"
"The file-path must be an existing path and must indicate a normal file.\n"
"The length value must be within signed 64-bit binary integers, "
"and can be either decimal or heximal, with heximal values prefixed by \'0x\'.\n"
"and can be either decimal or hexadecimal, with hexadecimal values prefixed by \'0x\'.\n"
"If the desired length is less than the original file length, "
"it will be truncated to the desired length.\n"
"If the desired length is more than the original file length, "
Expand Down

0 comments on commit 9056172

Please sign in to comment.