Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
zoffix@leliana:/tmp/tmp.O5xvXghILz/roast$ grep -nFR '\r\n' | grep subs
S19-command-line-options/02-dash-n.t:28:".subst("\r\n", "\n", :g);
rosettacode/sierpinski_triangle.t:55:is($output.subst("\r\n", "\n", :g), $expected.subst("\r\n", "\n", :g), "Sierpinski Triangle");
rosettacode/greatest_element_of_a_list.t:37:is($output.subst("\r\n", "\n", :g), $expected.subst("\r\n", "\n", :g), "Greatest element of a list");
S26-documentation/05-comment.t:7: $str.subst("\r\n", "\n", :g)
S26-documentation/04-code.t:19:is $r.contents[1].contents.Str.subst("\r\n", "\n", :g), q[$this = 1 * code('block');
S26-documentation/04-code.t:22:$which.spans(:newlines);].subst("\r\n", "\n", :g);
S16-filehandles/io_in_while_loops.t:45: spurt($filename, q:to/FASTAISH/.subst(/\r\n/, "\n"));
integration/advent2009-day21.t:117:is $output.subst("\r\n", "\n", :g), ("\n" ~ q:to"END-OUT").subst("\r\n", "\n", :g), 'questions output';
integration/advent2012-day06.t:39:is_run $main, {out => q:to"END-TEST-OUT".subst("\r\n", "\n", :g), err => ''}, :args['--test'], :compiler-args['-Ilib'], 'test main call';
integration/advent2012-day23.t:30:is $checkpoint-output, q:to"END".subst("\r\n", "\n", :g), 'checkpoint example';
integration/advent2012-day10.t:13:is "Ooh look!\nLine breaks!", q:to"END".chomp.subst("\r\n", "\n", :g);
integration/advent2012-day24.t:49:is $cal, q:to"END-CAL".subst("\r\n", "\n", :g), 'calendar';
S02-literals/heredocs.t:10:sub no-r(Str $in) { $in.subst("\r\n", "\n", :g) }
S02-literals/quoting.t:360: is $t.subst("\r\n", "\n", :g), "Hello, World\n", "Testing for q:to operator.";
S02-literals/quoting.t:366: is $t.subst("\r\n", "\n", :g), "Hello, World\n", "Testing for q:to operator. (utf8)";
S05-metasyntax/longest-alternative.t:297: is $m.gist, q:to/END/.subst("\r\n", "\n", :g).chop, "IETF::RFC_Grammar::URI gets ltm and longlit right";
S02-types/isDEPRECATED.t:23: is Deprecation.report, qq:to/TEXT/.chop.subst("\r\n", "\n", :g), 'right deprecation for a()';
S02-types/isDEPRECATED.t:35: is Deprecation.report, qq:to/TEXT/.chop.subst("\r\n", "\n", :g), 'right deprecation for awith()';
S02-types/isDEPRECATED.t:53: is Deprecation.report, qq:to/TEXT/.chop.subst("\r\n", "\n", :g), 'right deprecation for A.new';
S02-types/isDEPRECATED.t:65: is Deprecation.report, qq:to/TEXT/.chop.subst("\r\n", "\n", :g), 'right deprecation for Awith.new';
S02-types/isDEPRECATED.t:86: is Deprecation.report, qq:to/TEXT/.chop.subst("\r\n", "\n", :g), 'right deprecation for B.new';
S02-types/isDEPRECATED.t:99: is Deprecation.report, qq:to/TEXT/.chop.subst("\r\n", "\n", :g), 'right deprecation for Bwith.new';
S02-types/isDEPRECATED.t:119: is Deprecation.report, qq:to/TEXT/.chop.subst("\r\n", "\n", :g), 'right deprecation for C.new.foo';
S02-types/isDEPRECATED.t:131: is Deprecation.report, qq:to/TEXT/.chop.subst("\r\n", "\n", :g), 'right deprecation Cwith.new.foo';
S02-types/isDEPRECATED.t:149: is Deprecation.report, qq:to/TEXT/.chop.subst("\r\n", "\n", :g), 'right deprecation for D.new.foo';
S02-types/isDEPRECATED.t:161: is Deprecation.report, qq:to/TEXT/.chop.subst("\r\n", "\n", :g), 'right deprecation Dwith.new.foo';
S02-types/isDEPRECATED.t:182: is Deprecation.report, qq:to/TEXT/.chop.subst("\r\n", "\n", :g), 'right deprecation for E.new.foo';
S02-types/isDEPRECATED.t:195: is Deprecation.report, qq:to/TEXT/.chop.subst("\r\n", "\n", :g), 'right deprecation Ewith.new.foo';
S17-procasync/basic.t:19:$so.act: { $stdout ~= $_.subst("\r\n", "\n", :g) };
S17-procasync/basic.t:20:$se.act: { $stderr ~= $_.subst("\r\n", "\n", :g) };
S17-procasync/basic.t:62:$pc.stdout.act: { $stdout ~= $_.subst("\r\n", "\n", :g) };
S17-procasync/basic.t:63:$pc.stderr.act: { $stderr ~= $_.subst("\r\n", "\n", :g) };
zoffix@leliana:/tmp/tmp.O5xvXghILz/roast$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.