- 论坛徽章:
- 0
|
关于Solaris中的date的格式,遍寻man和google而不得~~~
date +\"%H:%M %d-%m-%Y\" \r\n\r\n\r\n$man date\r\n.......................\r\nIf you follow the date command with a + (plus sign) and a field descriptor, you\r\ncan control the output of the command. You must precede each field descriptor\r\nwith a % (percent sign). The system replaces the field descriptor with the\r\nspecified value. Enter a literal % as %% (two percent signs). The date command\r\ncopies any other characters to the output without change.\r\n............................. |
|