parsrc DOT sh CSV parser

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Imitate <a href='https://github.com/ShellShoccar-jpn/Parsrs/blob/master/parsrc.sh'>parsrc.sh</a> to parse given CSV (<a href="https://www.rfc-editor.org/rfc/rfc4180.html">RFC 4180</a>-compatible) text.
Output format is: "%d %d %s\n",COLUMN#,ROW#,VALUE for each item.
Every LFs on every item must be replaced with string "\n".

--鳴神裁4.1号, 2021.09.20, 16:26 UTC+9.

Options

no deadline, the server will not save your submission

Sample input:_

hello,I am,barry scott.
Bang,"AND",the dirt,,is
GONE!

Sample output:

1 1 hello
1 2 I am
1 3 barry scott.
2 1 Bang
2 2 AND
2 3 the dirt
2 4
2 5 is
3 1 GONE!

Sample input:_

""",","",",""","
""",""","",,""",,
3,1,4,1,5,"","9
",2,"6",5
"3",5,"

8,9","

",7,9

Sample output:

1 1 ",
1 2
1 3 ,"
1 4 \n"
1 5 ",",,"
1 6
1 7
2 1 3
2 2 1
2 3 4
2 4 1
2 5 5
2 6
2 7 9\n
2 8 2
2 9 6
2 10 5
3 1 3
3 2 5
3 3 \n\n8,9
3 4 \n\n
3 5 7
3 6 9

Sample input:_

"""""",""",","",",""
","",",",,,
"""
","wtf lots of ""s","""
"
"can you please",stop,"such,stupid"
CSV,columns?
"
and",no,more,"""s"
2321,9999,3894,38492,238,23
324,2345,231,4853,1839,2348
Hi,this is,not an,empty,column.

Sample output:

1 1 """,",
1 2
1 3 ,"\n
1 4
1 5 ,
1 6
1 7
1 8
2 1 "\n
2 2 wtf lots of "s
2 3 "\n
3 1 can you please
3 2 stop
3 3 such,stupid
4 1 CSV
4 2 columns?
5 1 \nand
5 2 no,more,"s
6 1 2321
6 2 9999
6 3 3894
6 4 38492
6 5 238
6 6 23
7 1 324
7 2 2345
7 3 231
7 4 4853
7 5 1839
7 6 2348
8 1 Hi
8 2 this is
8 3 not an
8 4 empty
8 5 column.

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1rotary-o1280.05482021/09/23 14:03:590B / 55B / 63B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o1280.19382021/09/23 14:03:480B / 55B / 63B

Perl _

RankUserSizeTimeDateStatistics
1tails1440.04522021/09/21 16:06:180B / 34B / 107B

Java _

RankUserSizeTimeDateStatistics
1rotary-o3100.18432021/09/23 19:11:570B / 162B / 138B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o2516.58252021/09/23 21:25:150B / 128B / 104B

Language Ranking_

RankLangUserSizeScore
1Ruby2rotary-o12810000
2Rubyrotary-o12810000
3Perltails1448888
4Scalarotary-o2515099
5Javarotary-o3104129

return to the top page