File: date.1

package info (click to toggle)
manpages-ja 0.5.0.0.20100315-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 21,156 kB
  • ctags: 1
  • sloc: sh: 13,935; perl: 157; makefile: 114
file content (273 lines) | stat: -rw-r--r-- 7,197 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
.\" You may copy, distribute and modify under the terms of the LDP General
.\" Public License as specified in the LICENSE file that comes with the
.\" gnumaniak distribution
.\"
.\" The author kindly requests that no comments regarding the "better"
.\" suitability or up-to-date notices of any info documentation alternative
.\" is added without contacting him first.
.\"
.\" (C) 1999-2002 Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
.\"
.\"     GNU date man page
.\"     man pages are NOT obsolete!
.\"     <ragnar@ragnar-hojland.com>
.\"
.\" Japanese Version Copyright (c) 2000 NAKANO Takeo all rights reserved.
.\" Translated Sun 12 Mar 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
.\" Updated & Modified Sat Jan 17 19:11:31 JST 2004
.\"         by Yuichi SATO <ysato444@yahoo.co.jp>
.\"
.\"WORD:	Coordinated Universal Time	
.\"WORD:	last modification time		ǽ
.\"WORD:	local time			
.\"WORD:	literal		ʸ
.\"WORD:	zero padding	0 
.\"WORD:	modifier	
.\"
.TH date 1 "18 June 2002" "GNU Shell Utilities 2.1"
.SH ̾
date \- ƥդȻɽꤹ
.SH 
.B date
.BI "[\-uR] [\-d " datestr "] [\-f " datefile "] [\-r " file "] [\-s " datestr ]
.BI "[\-I [" timespec ]]
.BI "[\-\-date=" datestr "] [\--file=" datefile ]
.BI [\-\-iso\-8601[= timespec ]]
.BI [\-\-reference= file ]
.BI "[\-\-set=" datestr ]
.B [--rfc-822] [\-\-universal] [\-\-utc]
.BI [+ format "] [" MMDDhhmm [[ CC ] YY ][. ss ]]
.sp
.B date [\-\-help] [\-\-version]
.SH 
.B date
ϰꤷʤȡߤλդɽ
(ɽ `%a %b %e %H:%M:%S %Z %Y' Ȥʤ롣ʲ򻲾ȤΤ)
.\"NAKANO: info ڡǤεҤˤ롣tnx to .
.PP
ꤵ졢ĤƬ `+' ǻϤޤäƤ餺
ļ¹ԼԤŬڤʸ¤äƤС
.B date
ϥƥλפǻꤵ줿դꤹ롣
.BR \-\-date "  " \-\-set
ξץϡΤ褦ʰȰѤ뤳ȤϤǤʤ
.B \-\-universal
ץ򤳤Τ褦ʰȤȤѤȡ
ꤷդ (ǤϤʤ)
ΤΤˤʤ롣
ˤϿѤ뤳ȤǤ줾ʲΰ̣:
.IP \fBMM\fP

.IP \fBDD\fP
 (̻)
.IP \fBhh\fP

.IP \fBmm\fP
ʬ
.IP \fBCC\fP
ǯκǽ 2  (ά)
.IP \fBYY\fP
ǯκǸ 2  (ά)
.IP \fBss\fP
 (ά)
.PP
ꤵ줿 `+' ǻϤޤˤϡ
.B date
ϸߤλդɽ (뤤
.B \-\-date
ץǻꤵ줿դꤹ)
ɽϤΰˤä椵졢
ν񼰤
.BR strftime (3)
ؿˤ錄ʸν񼰤ƱǤ롣
\`%' ǻϤޤեɤ
.I format
ʸʸϤΤޤѹ줺ɽ롣
.SS ե
.IP \fB%H\fP
 (00..23)
.IP \fB%I\fP
 (01..12)
.IP \fB%k\fP
 (0..23)
.IP \fB%l\fP
 (1..12)
.IP \fB%M\fP
ʬ (00..59)
.IP \fB%p\fP
AM 뤤 PM Υ
.IP \fB%r\fP
12  (hh:mm:ss [AP]M)
.IP \fB%s\fP
1970-01-01 00:00:00 UTC ÿ (ɸ೰γĥ)
.IP \fB%S\fP
 (00..60)
.IP \fB%T\fP
24  (hh:mm:ss)
.IP \fB%X\fP
ˤɽ (%H:%M:%S)
.IP \fB%Z\fP
ॾ ( EDT)
뤤ϥॾ󤬷Ǥʤʤ̵
.SS եե
.IP \fB%a\fP
ξά̾ (Sun..Sat)
.IP \fB%A\fP
δɽ̾Ĺ (Sunday..Saturday)
.IP \fB%b\fP
ξάη̾ (Jan..Dec)
.IP \fB%B\fP
δɽη̾Ĺ (January..December)
.IP \fB%c\fP
դȻ (Sat Nov 04 12:02:33 EST 1989)
.IP \fB%d\fP
̻ (01..31)
.IP \fB%D\fP
 (mm/dd/yy)
.IP \fB%h\fP
%b Ʊ
.IP \fB%j\fP
ǯ̻ (001..366)
.IP \fB%m\fP
 (01..12)
.IP \fB%U\fP
򽵤κǽȤǯ̻ (00..53)
.IP \fB%w\fP
Τ (0..6) (0 )
.IP \fB%W\fP
򽵤κǽȤǯ̻ (00..53)
.IP \fB%x\fP
ɽ (mm/dd/yy)
.IP \fB%y\fP
ǯκǸ 2 Ĥο (00..99)
.IP \fB%Y\fP
ǯ (1970...)
.SS ʸե
.IP \fB%%\fP
ʸ %
.IP \fB%n\fP

.IP \fB%t\fP
ʿ
.SS "ʸ (padding)"
ǥեȤǤϡ
.B date
ϿͤΥեɤ 0 롣äơ㤨
ɽηϾ 2 ǽϤ롣
GNU 
.B date
εǽĥƤꡢʲɸοͽҤ `%' 
եɤδ֤֤ȤǤ:
.IP \fB\-\fP
(ϥե) եɤʤ
ϤͤɤޤˤǤ롣
.IP \fB_\fP
() եɤ򥹥ڡ롣
Ϥ˷ޤäʸɬפ0 ȤʤǤ롣
.\"nakano: distracting ϰ
.SH ץ
.TP
.BI "\-d " datestr ", \-\-date " datestr
ߤλդˡ
.I datestr
ǻꤵ줿դɽ롣
.I datestr
̤ΥեޥåȤʤʤǤȤȤǤ롣
̾ॾ`am'  `pm' ʤɤѤƤ褤
.TP
.BI "\-f " datefile ", \-\-file=" datefile
.B \-d
ȤȤ˻ꤵ줿
.I datefile
 1 Ԥĥѡơ̤λդɽ롣
.I datefile
 `-' ξɸϤѤ롣
ϡդʤФʤʤǤ롣
.B date
μ¹ԥե򲿲ⵯư륪Сإåɤ̵ǤʤǤ롣
.TP
.BI "\-r " file ", \-\-reference=" file
ɽդ
.I file
κǽˤ롣
.TP
.BI "\-s " datestr ", \-\-set " datestr
դ
.I datestr
ꤹ롣Ҥ
.B \-d
򸫤衣 0 ֤Ԥ 0 ʳ֤
.TP
.B "\-u, \-\-universal, \-\-utc"
ॾ (ɻפλ) ǤϤʤ
UTC0 (ϥ˥åʿѻ⤷ GMT ȤΤƤ) 
ꤵ줿ΤȤ롣
.TP
.B \-I [\fItimespec\fB], \-\-iso\-8601[=\fItimespec\fB]
դ ISO 8601 ǻꤵƤ `%Y\-%m\-%d' ǡ

.I timespec
ǻꤵƤɽ (ԤΥǥեȤ
.BR auto )
ʬɽˤ `T' ֤졢`%z' 
.RB ( \-\-utc
ꤵƤˤ `%Z') ֤롣
.\"nakano: date -I hours äƤΤϸʤ褦Ǥ...
.RS
.TP
.B auto
ɽʤ
.TP
.B hours
λɽ롣
.TP
.B minutes
ʬɽ롣
.TP
.B seconds
ʬäɽ롣
.RE
.TP
.B \-R, \-\-rfc-822
դ RFC-822 ǻꤵ줿񼰤Ǥ `%a,
%_d %b %Y %H:%M:%S %z' ɽ롣
.B \-\-utc
Ʊ˻ꤵȡ`%z'  `GMT' Ѥ롣
դȷ̾ `C' ˴Ťɽ롣
.TP
.B "\-\-help"
ɸϤ˻ˡΥåϤェλ롣
.TP
.B "\-\-version"
ɸϤ˥СϤェλ롣
.SH 
.PP
դɽˤ:
.IP
date \-\-date \'2 days ago\'
.PP
3  1 դɽˤ:
.IP
date \-\-date \'3 months 1 day\'
.PP
ǯΥꥹޥǯνᤫ鲿ܤɽˤ:
.IP
date --date \'25 Dec\' +%j
.PP
ʷ̾դʤ񼰤Ǻɽˤ:
.IP
date \'+%B %d\'
.PP
η̤Ϥ˾ߤΤΤǤϤʤ⤷ʤ
ʤʤκǽ 9 ɽȤ\`%d\'  2 Υեɤ
ǽ 0 뤫Ǥ롣㤨 \`date \-d 1-may \'+%B %d\'\'
η̤ \`May 01\' Ȥʤ롣
.PP
Ʊ1 դ 0 ֤ʤ褦ɽˤϡ
ɸˤϤʤ \`\-\' ҤѤ 0 Ԥʤ褦ˤФ褤
.IP
date \-d 1-may \'+%B %-d\'
.SH 
ץΥХˤĤƤ bug-sh-utils@gnu.org 𤷤Ƥ
ڡι Ragnar Hojland Espinosa
<ragnar@ragnar-hojland.com> ԤäƤޤ