我正在尝试以以下形式显示日期时间
07/08/2013 16:52:13
通过在 bash 脚本中使用命令:
dt=`date '+%d/%m/%Y_%H:%M:%S'`
Run Code Online (Sandbox Code Playgroud)
哪个变量用于填充 CSV 文件。
接受的唯一字符是日期和时间之间的“_”(下划线)或“-”,输出为
07/08/2013_16:52:13
如何在日期和时间之间获得一个空格?我几乎(我希望)尝试了一切。
使用 Sunnybeamtool 通过 Rasperry Pi USB 端口读取 sunnybeam。
我在 dmesg 中遇到很多错误,这些错误不会影响工作(显然)程序是用 C 编写的。
留言:
[30563.867756] usb 1-1.3.3: usbfs: process 32327 (sunnybeamtool) did not claim interface 0 before use
[30563.938025] usb 1-1.3.3: usbfs: process 32327 (sunnybeamtool) did not claim interface 0 before use
Run Code Online (Sandbox Code Playgroud)
锄头我摆脱这些消息?