standard output
标准 输出
打开文件描述符0,1和2(标准输入,标准输出 和标准错误)并将它们重定向到/dev/null。 Open file descriptors 0, 1, and 2(standard in, standard out , and standard error) and redirect them to/dev/null. 用户可以在脚本中使用转义码,将其作为标准输出或标准 错误输出 的一部分。 Users can employ escape codes in their scripts by including them as part of standard output or standard error. 假设您希望保存错误消息,但不保存常规输出--标准错误但不保存标准输出 。 Suppose you want to save the error messages but not the regular outputthe standard error but not the standard output . 在这种情况下,1是一个文件描述符,指向标准输出 (stdout)。 And that 1, in this context, is a file descriptor that points to the standard output (stdout). 你应该像这样阅读它:“将输出导向到文件,然后将错误导向到标准输出 。 You may be reading it like this:"pipe the output to a file and then pipe errors to the standard output .".
同样,如果使用带有Gunzip的-C选项,它将未压缩数据写入标准输出 。 Likewise, if you use the-c option with gunzip, it writes uncompressed data to standard output . After the job is done, the results will be printed into the standard output stream. 问题是这样的,写一个将标准输入拷贝到标准输出 的流程。 The question is to write a program that copies standard input to standard output . ISO12232:2019摄影-数码相机-确定曝光指数,ISO速度等级,标准输出 灵敏度和推荐曝光指数国际标准,旨在帮助人们实现这一目标。 ISO 12232:2006: Photography- Digital still cameras- Determination of exposure index, ISO speed ratings, standard output sensitivity, and recommended exposure index. 运行这个语句后,TextIO输出语句的所有输出都会被保存到名为“result.txt”的文件里而不是输出到标准输出 里。 After this statement is executed, any output from TextIO output statements will be sent to the le named result. txt instead of to standard output . 它使用的格式字符串与printf相同,但写入到一个字符串而不是标准输出 (或者对于Serial.printf,不是写入到设备的串行端口)。 It uses the same format string as printf, but writes to a string rather than standard output (or, for Serial. printf, the device's serial port). Standard output typically.What are standard input and standard output ? By default, the current output destination is standard output . Redirect standard output and standard errors. Your program must write directly to standard output . It prints each of its operands on the standard output . But standard output is just one possible output destination. Redirecting standard output and error to another stream. Normal output from executed commands is written to standard output .
Display more examples
Results: 297 ,
Time: 0.0219