Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56338854
README.md
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
README.md
View Options
The
`
rfc
-
datasource
`
utility
allows
to
download
the
RFC
index
,
parse
it
,
and
transform
the
output
.
It
has
been
designed
to
output
the
index
in
an
arbitrary
RFC
format
,
so
we
can
export
a
Darkbot
database
for
Odderon
,
one
of
our
IRC
bot
.
##
Usage
`
rfc
-
datasource
--
format
<
format
string
>
[--
source
/
path
/
to
/
rfc
-
index
.
txt
]
`
The
format
string
can
be
arbitrary
text
or
variables
:
|
**
Variable
**
|
**
Description
**
|
|-----------------|---------------------------------------------------------------|
|
%%
id
%%
|
The
number
of
the
RFC
without
leading
0
|
|
%%<
len
>
id
%%
|
The
number
of
the
RFC
with
leading
0
to
fill
<
len
>
digits
(
1
)
|
|
%%
description
%%
|
The
RFC
title
,
authors
and
date
|
|
%%
status
%%
|
The
RFC
status
(
2
)
|
|
%%
fullstatus
%%
|
A
string
summarizing
the
different
status
notes
(
3
)
|
Examples
for
the
variables
:
-
(
1
)
e
.
g
.
`
%%
4
id
%%
`
will
output
`
0065
`
for
the
RFC
65
-
(
2
)
e
.
g
.
`
INFORMATIONAL
`
for
RFC
2286
-
(
3
)
e
.
g
.
`
Obsoletes
RFC1938
.
Status
:
DRAFT
STANDARD
.
`
for
RFC
2289
The
utility
uses
as
source
,
by
order
of
priority
:
-
the
path
specified
to
the
--
source
argument
-
any
`
rfc
-
index
.
txt
`
file
available
in
the
current
directory
-
https
:
//www.ietf.org/download/rfc-index.txt
##
Recipes
###
Darkbot
database
rfc
-
datasource
--
format
"rfc+%%id%% %%description%% %%fullstatus%%"
###
CSV
export
rfc
-
datasource
--
format
'
%%
id
%%,
"%%description%%"
,
"%%status%%"
'
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 7, 04:59 (7 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4242851
Default Alt Text
README.md (1 KB)
Attached To
Mode
rDS Nasqueron Datasources
Attached
Detach File
Event Timeline
Log In to Comment