1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

rust println supports multi-line ...

This commit is contained in:
Heather 2013-12-03 16:56:15 +04:00
parent f03670b70a
commit 0e615023c1

View file

@ -92,22 +92,21 @@ fn main() {
println!(" {0:s} [SHORT-OPTION]... [STRING]...", program); println!(" {0:s} [SHORT-OPTION]... [STRING]...", program);
println!(" {0:s} LONG-OPTION", program); println!(" {0:s} LONG-OPTION", program);
println(""); println("");
print(groups::usage("Echo the STRING(s) to standard output.", opts)); println(groups::usage("Echo the STRING(s) to standard output.", opts));
print("\nIf -e is in effect, the following sequences are recognized:\n\ println("If -e is in effect, the following sequences are recognized:
\n\
\\\\ backslash\n\ \\\\ backslash
\\a alert (BEL)\n\ \\a alert (BEL)
\\b backspace\n\ \\b backspace
\\c produce no further output\n\ \\c produce no further output
\\e escape\n\ \\e escape
\\f form feed\n\ \\f form feed
\\n new line\n\ \\n new line
\\r carriage return\n\ \\r carriage return
\\t horizontal tab\n\ \\t horizontal tab
\\v vertical tab\n\ \\v vertical tab
\\0NNN byte with octal value NNN (1 to 3 digits)\n\ \\0NNN byte with octal value NNN (1 to 3 digits)
\\xHH byte with hexadecimal value HH (1 to 2 digits)\n\ \\xHH byte with hexadecimal value HH (1 to 2 digits)");
");
return; return;
} }