id stringlengths 16 16 | request stringclasses 327
values | command stringclasses 327
values | input_text stringlengths 45 229 | expected_output stringlengths 18 284 | validation_input stringlengths 30 230 | validation_output stringlengths 0 283 | family stringclasses 34
values | difficulty int64 1 2 | split stringclasses 1
value | source stringclasses 1
value | license stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|
sedweave-0017444 | Delete every line containing active. | sed /active/d | gus fable 44 active
chen delta 38 ready
eli delta 69 active
eli amber 25 ready
dina delta 24 active
hana amber 90 active
hana amber 36 active
gus harbor 49 active
gus fable 100 closed
| chen delta 38 ready
eli amber 25 ready
gus fable 100 closed
| chen birch 100 ready
dina delta 51 pending
dina delta 6 active
chen fable 12 ready
dina fable 119 closed
bruno delta 28 ready
bruno fable 36 failed
| chen birch 100 ready
dina delta 51 pending
chen fable 12 ready
dina fable 119 closed
bruno delta 28 ready
bruno fable 36 failed
| regex_delete | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017442 | Replace the first occurrence of grove with fable on each line. | sed s/grove/fable/ | chen birch 6 pending
bruno harbor 118 ready
hana harbor 24 ready
bruno birch 36 pending
dina grove 13 pending
dina harbor 0 failed
alice harbor 92 closed
alice amber 120 ready
chen grove 17 active
| chen birch 6 pending
bruno harbor 118 ready
hana harbor 24 ready
bruno birch 36 pending
dina fable 13 pending
dina harbor 0 failed
alice harbor 92 closed
alice amber 120 ready
chen fable 17 active
| hana cobalt 24 pending
alice harbor 29 pending
bruno grove 120 active
chen amber 110 active
bruno fable 104 active
chen fable 13 ready
alice ember 33 failed
| hana cobalt 24 pending
alice harbor 29 pending
bruno fable 120 active
chen amber 110 active
bruno fable 104 active
chen fable 13 ready
alice ember 33 failed
| substitute_first | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017447 | Delete lines 4 through 5, leaving all other lines unchanged. | sed 4,5d | chen harbor 71 closed
chen harbor 60 pending
hana amber 54 pending
farah birch 109 pending
hana grove 110 ready
hana ember 106 pending
eli cobalt 8 ready
farah grove 10 ready
| chen harbor 71 closed
chen harbor 60 pending
hana amber 54 pending
hana ember 106 pending
eli cobalt 8 ready
farah grove 10 ready
| alice cobalt 26 pending
farah ember 68 ready
gus ember 81 closed
eli cobalt 52 closed
eli amber 27 pending
hana birch 0 failed
farah fable 57 failed
| alice cobalt 26 pending
farah ember 68 ready
gus ember 81 closed
hana birch 0 failed
farah fable 57 failed
| delete_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017441 | Print only the second comma-separated field from each line. | sed 's/[^,]*,\([^,]*\).*/\1/' | alice,amber,92,closed
eli,birch,23,ready
alice,birch,119,ready
farah,amber,51,closed
bruno,ember,79,ready
alice,harbor,40,active
farah,fable,33,pending
| amber
birch
birch
amber
ember
harbor
fable
| chen,amber,74,failed
hana,ember,27,ready
chen,fable,27,ready
hana,cobalt,2,closed
farah,birch,64,active
farah,ember,21,ready
eli,amber,27,closed
alice,birch,51,closed
chen,grove,54,pending
| amber
ember
fable
cobalt
birch
ember
amber
birch
grove
| extract_second_csv | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017446 | Print lines 3 through 6, inclusive, and nothing else. | sed -n 3,6p | farah amber 96 active
bruno harbor 14 closed
dina amber 96 pending
chen fable 39 failed
eli ember 117 ready
eli amber 57 pending
alice amber 19 ready
alice harbor 51 active
chen grove 95 active
| dina amber 96 pending
chen fable 39 failed
eli ember 117 ready
eli amber 57 pending
| alice birch 6 failed
farah cobalt 14 failed
dina birch 48 ready
farah grove 103 failed
chen amber 107 active
chen birch 108 ready
hana amber 62 active
alice harbor 92 active
farah harbor 59 pending
| dina birch 48 ready
farah grove 103 failed
chen amber 107 active
chen birch 108 ready
| line_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017439 | Remove the first character from every line. | sed 's/^.//' | bruno harbor 88 ready
chen fable 14 failed
dina delta 72 closed
bruno harbor 23 closed
eli fable 17 pending
gus birch 73 failed
dina fable 41 ready
| runo harbor 88 ready
hen fable 14 failed
ina delta 72 closed
runo harbor 23 closed
li fable 17 pending
us birch 73 failed
ina fable 41 ready
| hana grove 19 pending
chen fable 106 failed
chen amber 69 pending
alice amber 41 failed
chen ember 76 failed
dina fable 29 pending
farah ember 58 ready
bruno amber 16 active
farah birch 25 active
| ana grove 19 pending
hen fable 106 failed
hen amber 69 pending
lice amber 41 failed
hen ember 76 failed
ina fable 29 pending
arah ember 58 ready
runo amber 16 active
arah birch 25 active
| delete_first_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017443 | Replace every occurrence of fable with cobalt throughout the input. | sed s/fable/cobalt/g | dina delta 110 failed
eli cobalt 39 failed
eli ember 41 failed
dina delta 88 pending
gus birch 66 closed
gus harbor 116 failed
eli harbor 81 active
eli delta 23 closed
farah grove 25 pending
| dina delta 110 failed
eli cobalt 39 failed
eli ember 41 failed
dina delta 88 pending
gus birch 66 closed
gus harbor 116 failed
eli harbor 81 active
eli delta 23 closed
farah grove 25 pending
| farah delta 11 failed
chen cobalt 87 pending
gus grove 80 pending
gus birch 13 active
chen amber 72 failed
hana delta 32 closed
farah harbor 117 closed
farah cobalt 41 pending
gus cobalt 72 active
| farah delta 11 failed
chen cobalt 87 pending
gus grove 80 pending
gus birch 13 active
chen amber 72 failed
hana delta 32 closed
farah harbor 117 closed
farah cobalt 41 pending
gus cobalt 72 active
| substitute_global | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017445 | Print only lines containing ready; suppress all others. | sed -n /ready/p | alice cobalt 66 closed
farah grove 29 pending
farah fable 112 ready
dina amber 96 active
chen amber 19 failed
dina fable 25 active
eli birch 115 pending
| farah fable 112 ready
| eli ember 112 ready
alice harbor 114 ready
hana cobalt 98 failed
chen delta 51 closed
gus amber 1 closed
dina amber 7 closed
alice delta 109 ready
dina birch 88 active
bruno grove 68 closed
| eli ember 112 ready
alice harbor 114 ready
alice delta 109 ready
| regex_print | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017450 | Delete the last line of the input and print all remaining lines. | sed '$d' | dina fable 74 ready
alice grove 32 ready
alice amber 96 failed
gus grove 110 active
eli birch 9 pending
farah delta 36 closed
bruno delta 65 failed
| dina fable 74 ready
alice grove 32 ready
alice amber 96 failed
gus grove 110 active
eli birch 9 pending
farah delta 36 closed
| chen fable 44 pending
gus amber 81 active
gus cobalt 93 active
hana harbor 51 closed
hana grove 80 active
dina fable 32 active
hana amber 84 closed
| chen fable 44 pending
gus amber 81 active
gus cobalt 93 active
hana harbor 51 closed
hana grove 80 active
dina fable 32 active
| delete_last | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017448 | Print only the first 4 lines. | sed -n 1,4p | gus birch 41 closed
alice amber 3 active
hana grove 86 closed
bruno fable 7 pending
hana grove 51 active
bruno birch 43 active
dina ember 108 active
farah grove 72 pending
eli harbor 2 pending
| gus birch 41 closed
alice amber 3 active
hana grove 86 closed
bruno fable 7 pending
| bruno birch 5 active
farah birch 32 ready
dina birch 88 active
eli ember 88 pending
bruno ember 92 closed
farah cobalt 68 failed
hana birch 73 closed
farah birch 25 closed
eli cobalt 42 pending
| bruno birch 5 active
farah birch 32 ready
dina birch 88 active
eli ember 88 pending
| first_n | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017451 | Print odd-numbered lines: lines 1, 3, 5, and so on. | sed -n '0~2p' | alice amber 49 failed
farah ember 107 active
alice amber 7 ready
gus birch 84 active
hana fable 29 pending
dina cobalt 59 failed
eli grove 70 closed
| farah ember 107 active
gus birch 84 active
dina cobalt 59 failed
| alice cobalt 30 failed
farah grove 119 active
eli harbor 98 failed
hana amber 47 pending
bruno harbor 110 ready
gus cobalt 65 ready
alice birch 106 failed
alice delta 50 closed
bruno grove 106 ready
| farah grove 119 active
hana amber 47 pending
gus cobalt 65 ready
alice delta 50 closed
| every_other | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017455 | Delete all empty lines while preserving every nonempty line. | sed '/^$/d' | farah cobalt 1 closed
dina delta 92 ready
bruno harbor 57 closed
gus fable 79 ready
hana grove 41 failed
farah ember 43 ready
dina cobalt 65 ready
farah birch 36 ready
dina cobalt 30 pending
| farah cobalt 1 closed
dina delta 92 ready
bruno harbor 57 closed
gus fable 79 ready
hana grove 41 failed
farah ember 43 ready
dina cobalt 65 ready
farah birch 36 ready
dina cobalt 30 pending
| farah birch 44 pending
eli amber 36 failed
eli harbor 94 closed
eli fable 85 closed
gus birch 34 active
dina birch 105 ready
| farah birch 44 pending
eli amber 36 failed
eli harbor 94 closed
eli fable 85 closed
gus birch 34 active
dina birch 105 ready
| delete_blank | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017456 | Remove all leading spaces and tabs from each line. | sed 's/^[ \t]*//' | dina amber 6 closed
alice birch 106 active
gus fable 78 ready
bruno fable 9 ready
alice ember 55 pending
dina fable 76 failed
| dina amber 6 closed
alice birch 106 active
gus fable 78 ready
bruno fable 9 ready
alice ember 55 pending
dina fable 76 failed
| dina fable 76 active
farah amber 117 ready
chen amber 25 active
eli birch 93 active
bruno grove 64 pending
hana delta 100 closed
alice fable 30 ready
chen ember 0 pending
| dina fable 76 active
farah amber 117 ready
chen amber 25 active
eli birch 93 active
bruno grove 64 pending
hana delta 100 closed
alice fable 30 ready
chen ember 0 pending
| strip_leading | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017449 | Print only the last line of the input. | sed -n '$p' | eli ember 101 ready
chen fable 88 closed
dina ember 104 failed
hana delta 80 failed
farah amber 85 closed
gus amber 6 pending
farah fable 69 pending
| farah fable 69 pending
| eli amber 55 ready
eli grove 96 ready
bruno delta 79 closed
eli cobalt 118 ready
chen cobalt 92 ready
hana cobalt 20 ready
| hana cobalt 20 ready
| last_line | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017459 | Convert every input line to uppercase. | sed 's/.*/\U&/' | gus ember 48 pending
gus ember 55 failed
alice amber 33 closed
dina ember 105 ready
eli fable 9 active
dina fable 21 active
| GUS EMBER 48 PENDING
GUS EMBER 55 FAILED
ALICE AMBER 33 CLOSED
DINA EMBER 105 READY
ELI FABLE 9 ACTIVE
DINA FABLE 21 ACTIVE
| hana delta 77 pending
eli birch 75 failed
dina cobalt 71 failed
bruno amber 70 ready
hana amber 40 pending
chen birch 111 failed
| HANA DELTA 77 PENDING
ELI BIRCH 75 FAILED
DINA COBALT 71 FAILED
BRUNO AMBER 70 READY
HANA AMBER 40 PENDING
CHEN BIRCH 111 FAILED
| uppercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017452 | Append the line follow_up immediately after every line containing pending. | sed '/pending/a follow_up' | gus harbor 97 failed
gus harbor 9 failed
chen delta 3 pending
alice harbor 74 failed
gus cobalt 12 failed
chen birch 102 pending
farah grove 59 failed
hana grove 9 ready
| gus harbor 97 failed
gus harbor 9 failed
chen delta 3 pending
follow_up
alice harbor 74 failed
gus cobalt 12 failed
chen birch 102 pending
follow_up
farah grove 59 failed
hana grove 9 ready
| hana birch 6 failed
dina delta 11 pending
chen fable 22 failed
farah fable 6 closed
gus fable 107 pending
gus ember 7 failed
alice ember 20 active
eli fable 113 pending
| hana birch 6 failed
dina delta 11 pending
follow_up
chen fable 22 failed
farah fable 6 closed
gus fable 107 pending
follow_up
gus ember 7 failed
alice ember 20 active
eli fable 113 pending
follow_up
| append_after | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017460 | Convert every input line to lowercase. | sed 's/.*/\L&/' | alice harbor 78 pending
chen cobalt 18 failed
alice birch 74 failed
eli amber 1 ready
gus delta 31 failed
farah amber 15 active
farah grove 67 active
chen grove 110 failed
alice harbor 12 failed
| alice harbor 78 pending
chen cobalt 18 failed
alice birch 74 failed
eli amber 1 ready
gus delta 31 failed
farah amber 15 active
farah grove 67 active
chen grove 110 failed
alice harbor 12 failed
| dina fable 82 failed
dina amber 67 failed
gus amber 6 pending
alice cobalt 102 pending
hana amber 15 pending
dina grove 29 failed
bruno fable 9 closed
bruno amber 79 failed
eli grove 0 ready
| dina fable 82 failed
dina amber 67 failed
gus amber 6 pending
alice cobalt 102 pending
hana amber 15 pending
dina grove 29 failed
bruno fable 9 closed
bruno amber 79 failed
eli grove 0 ready
| lowercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017462 | Replace every comma with a tab character. | sed 's/,/\t/g' | dina,birch,18,ready
dina,cobalt,81,ready
chen,fable,61,pending
bruno,harbor,0,active
gus,harbor,107,closed
gus,grove,75,failed
dina,fable,85,failed
eli,cobalt,45,failed
eli,amber,101,ready
| dina birch 18 ready
dina cobalt 81 ready
chen fable 61 pending
bruno harbor 0 active
gus harbor 107 closed
gus grove 75 failed
dina fable 85 failed
eli cobalt 45 failed
eli amber 101 ready
| farah,amber,73,pending
alice,cobalt,77,ready
bruno,cobalt,97,ready
farah,cobalt,86,ready
dina,cobalt,118,active
bruno,ember,117,closed
dina,grove,119,pending
alice,grove,96,pending
| farah amber 73 pending
alice cobalt 77 ready
bruno cobalt 97 ready
farah cobalt 86 ready
dina cobalt 118 active
bruno ember 117 closed
dina grove 119 pending
alice grove 96 pending
| comma_to_tab | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017454 | Replace every full line containing active with the single line complete. | sed '/active/c complete' | eli grove 52 active
gus delta 95 ready
dina fable 18 failed
farah cobalt 66 closed
hana delta 56 active
farah delta 20 pending
eli cobalt 11 closed
dina amber 83 pending
| complete
gus delta 95 ready
dina fable 18 failed
farah cobalt 66 closed
complete
farah delta 20 pending
eli cobalt 11 closed
dina amber 83 pending
| eli cobalt 48 failed
bruno fable 34 pending
dina fable 35 pending
farah cobalt 24 closed
gus fable 25 failed
hana harbor 63 closed
dina cobalt 67 ready
hana harbor 52 active
dina fable 80 active
| eli cobalt 48 failed
bruno fable 34 pending
dina fable 35 pending
farah cobalt 24 closed
gus fable 25 failed
hana harbor 63 closed
dina cobalt 67 ready
complete
complete
| change_line | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017458 | Collapse every run of spaces or tabs to a single space. | sed 's/[ \t]+/ /g' | dina ember 71 failed
bruno delta 84 closed
bruno ember 119 failed
gus cobalt 82 ready
alice amber 19 ready
gus fable 58 active
gus delta 115 closed
bruno grove 39 failed
alice grove 2 closed
| dina ember 71 failed
bruno delta 84 closed
bruno ember 119 failed
gus cobalt 82 ready
alice amber 19 ready
gus fable 58 active
gus delta 115 closed
bruno grove 39 failed
alice grove 2 closed
| chen amber 34 closed
chen amber 73 ready
chen ember 90 failed
hana fable 108 pending
farah cobalt 118 failed
chen ember 98 active
| chen amber 34 closed
chen amber 73 ready
chen ember 90 failed
hana fable 108 pending
farah cobalt 118 failed
chen ember 98 active
| collapse_space | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017463 | Add the prefix INFO followed by a space to the start of every line. | sed 's/^/INFO /' | gus ember 42 ready
eli harbor 104 closed
bruno ember 39 failed
chen cobalt 112 active
bruno ember 4 closed
eli ember 63 ready
farah cobalt 9 failed
hana birch 0 closed
| INFO gus ember 42 ready
INFO eli harbor 104 closed
INFO bruno ember 39 failed
INFO chen cobalt 112 active
INFO bruno ember 4 closed
INFO eli ember 63 ready
INFO farah cobalt 9 failed
INFO hana birch 0 closed
| dina delta 79 pending
bruno ember 27 pending
bruno grove 19 ready
eli birch 25 ready
farah birch 39 active
eli delta 70 ready
eli birch 120 failed
alice cobalt 58 active
| INFO dina delta 79 pending
INFO bruno ember 27 pending
INFO bruno grove 19 ready
INFO eli birch 25 ready
INFO farah birch 39 active
INFO eli delta 70 ready
INFO eli birch 120 failed
INFO alice cobalt 58 active
| add_prefix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017465 | Comment out every input line by adding # and a space at the start. | sed 's/^/# /' | hana fable 110 closed
hana amber 56 active
bruno grove 16 pending
hana fable 61 active
hana birch 30 pending
eli birch 42 closed
bruno birch 7 failed
dina grove 32 failed
chen harbor 106 ready
| # hana fable 110 closed
# hana amber 56 active
# bruno grove 16 pending
# hana fable 61 active
# hana birch 30 pending
# eli birch 42 closed
# bruno birch 7 failed
# dina grove 32 failed
# chen harbor 106 ready
| gus harbor 111 failed
eli amber 76 closed
chen birch 104 failed
hana harbor 14 closed
hana cobalt 112 failed
hana fable 10 failed
gus grove 113 ready
bruno ember 7 pending
chen delta 111 active
| # gus harbor 111 failed
# eli amber 76 closed
# chen birch 104 failed
# hana harbor 14 closed
# hana cobalt 112 failed
# hana fable 10 failed
# gus grove 113 ready
# bruno ember 7 pending
# chen delta 111 active
| comment_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017461 | Swap the first two whitespace-separated fields on every line. | sed 's/\([^ ]*\) \([^ ]*\)/\2 \1/' | chen amber 96 active
bruno ember 32 ready
alice delta 57 pending
bruno ember 42 closed
eli harbor 50 ready
hana grove 7 failed
chen amber 28 active
dina grove 27 active
| amber chen 96 active
ember bruno 32 ready
delta alice 57 pending
ember bruno 42 closed
harbor eli 50 ready
grove hana 7 failed
amber chen 28 active
grove dina 27 active
| dina ember 63 ready
hana ember 98 active
farah ember 28 closed
farah birch 63 failed
bruno harbor 14 ready
eli cobalt 62 active
bruno grove 23 closed
| ember dina 63 ready
ember hana 98 active
ember farah 28 closed
birch farah 63 failed
harbor bruno 14 ready
cobalt eli 62 active
grove bruno 23 closed
| swap_fields | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017466 | Delete all lines beginning with #. | sed '/^#/d' | bruno fable 51 ready
# note
dina harbor 119 active
eli birch 90 active
gus harbor 103 ready
dina amber 11 pending
hana harbor 100 active
chen grove 19 failed
| bruno fable 51 ready
dina harbor 119 active
eli birch 90 active
gus harbor 103 ready
dina amber 11 pending
hana harbor 100 active
chen grove 19 failed
| hana ember 86 active
# note
dina amber 29 pending
alice birch 34 failed
dina delta 18 active
hana amber 31 closed
dina delta 12 active
hana delta 61 failed
| hana ember 86 active
dina amber 29 pending
alice birch 34 failed
dina delta 18 active
hana amber 31 closed
dina delta 12 active
hana delta 61 failed
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017464 | Append a space and reviewed to the end of every line. | sed 's/$/ reviewed/' | farah cobalt 5 closed
gus amber 9 pending
dina birch 15 pending
chen amber 63 pending
dina grove 116 closed
eli fable 37 ready
| farah cobalt 5 closed reviewed
gus amber 9 pending reviewed
dina birch 15 pending reviewed
chen amber 63 pending reviewed
dina grove 116 closed reviewed
eli fable 37 ready reviewed
| chen fable 3 failed
hana cobalt 21 pending
chen fable 81 failed
gus grove 13 active
eli delta 78 active
alice grove 42 pending
gus birch 90 ready
chen birch 82 active
eli delta 80 ready
| chen fable 3 failed reviewed
hana cobalt 21 pending reviewed
chen fable 81 failed reviewed
gus grove 13 active reviewed
eli delta 78 active reviewed
alice grove 42 pending reviewed
gus birch 90 ready reviewed
chen birch 82 active reviewed
eli delta 80 ready reviewed
| add_suffix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017453 | Insert the line complete immediately before every line containing closed. | sed '/closed/i complete' | chen fable 117 closed
hana fable 79 failed
dina ember 107 ready
gus grove 99 closed
dina cobalt 43 active
gus cobalt 108 pending
hana delta 120 ready
dina harbor 57 active
| complete
chen fable 117 closed
hana fable 79 failed
dina ember 107 ready
complete
gus grove 99 closed
dina cobalt 43 active
gus cobalt 108 pending
hana delta 120 ready
dina harbor 57 active
| hana grove 5 ready
hana fable 22 ready
eli grove 99 ready
alice fable 49 ready
dina harbor 115 closed
bruno ember 33 pending
hana ember 39 pending
hana fable 4 closed
bruno cobalt 89 ready
| hana grove 5 ready
hana fable 22 ready
eli grove 99 ready
alice fable 49 ready
complete
dina harbor 115 closed
bruno ember 33 pending
hana ember 39 pending
complete
hana fable 4 closed
bruno cobalt 89 ready
| insert_before | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017457 | Remove all trailing spaces and tabs from each line. | sed 's/[ \t]*$//' | chen cobalt 84 active
farah birch 77 failed
bruno delta 15 closed
hana grove 80 active
chen harbor 83 failed
hana fable 82 closed
farah birch 76 failed
hana harbor 8 failed
bruno harbor 4 failed
| chen cobalt 84 active
farah birch 77 failed
bruno delta 15 closed
hana grove 80 active
chen harbor 83 failed
hana fable 82 closed
farah birch 76 failed
hana harbor 8 failed
bruno harbor 4 failed
| eli cobalt 39 ready
eli ember 111 ready
bruno fable 109 active
chen ember 76 active
chen birch 113 active
farah cobalt 68 failed
| eli cobalt 39 ready
eli ember 111 ready
bruno fable 109 active
chen ember 76 active
chen birch 113 active
farah cobalt 68 failed
| strip_trailing | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017467 | Print only the first 4 characters of each line. | sed 's/^\(.\{4\}\).*/\1/' | alice fable 62 closed
eli harbor 52 failed
chen grove 95 active
farah delta 43 pending
gus grove 35 active
bruno delta 26 failed
chen amber 116 pending
| alic
eli
chen
fara
gus
brun
chen
| bruno fable 53 pending
farah ember 76 active
alice fable 40 ready
hana birch 19 failed
bruno ember 97 ready
gus fable 14 closed
alice cobalt 31 ready
| brun
fara
alic
hana
brun
gus
alic
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017468 | Delete everything from the line containing grove through the line containing amber, inclusive. | sed /grove/,/amber/d | hana delta 50 pending
dina cobalt 91 active
eli amber 117 ready
chen grove 55 closed
bruno grove 75 pending
dina harbor 45 failed
eli ember 111 closed
bruno birch 67 closed
farah harbor 34 ready
| hana delta 50 pending
dina cobalt 91 active
eli amber 117 ready
| gus ember 3 ready
gus harbor 46 failed
farah ember 111 closed
bruno ember 112 ready
hana ember 7 active
alice fable 79 ready
hana ember 70 pending
eli harbor 27 ready
eli cobalt 21 active
| gus ember 3 ready
gus harbor 46 failed
farah ember 111 closed
bruno ember 112 ready
hana ember 7 active
alice fable 79 ready
hana ember 70 pending
eli harbor 27 ready
eli cobalt 21 active
| delete_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017473 | Remove the first character from every line. | sed 's/^.//' | farah fable 14 ready
dina cobalt 73 ready
eli fable 5 active
farah fable 68 pending
gus amber 118 ready
dina delta 107 pending
dina ember 1 ready
eli harbor 12 active
bruno fable 93 closed
| arah fable 14 ready
ina cobalt 73 ready
li fable 5 active
arah fable 68 pending
us amber 118 ready
ina delta 107 pending
ina ember 1 ready
li harbor 12 active
runo fable 93 closed
| bruno ember 111 failed
dina birch 31 active
alice grove 93 pending
eli harbor 61 active
eli grove 26 closed
eli ember 96 active
bruno fable 1 failed
| runo ember 111 failed
ina birch 31 active
lice grove 93 pending
li harbor 61 active
li grove 26 closed
li ember 96 active
runo fable 1 failed
| delete_first_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017472 | Print each input line's number, without printing the line contents. | sed = | farah delta 99 failed
dina grove 69 ready
bruno fable 15 closed
eli ember 16 pending
alice cobalt 103 closed
alice ember 28 ready
| 1
farah delta 99 failed
2
dina grove 69 ready
3
bruno fable 15 closed
4
eli ember 16 pending
5
alice cobalt 103 closed
6
alice ember 28 ready
| gus fable 106 closed
gus birch 102 failed
chen ember 10 active
bruno ember 57 closed
dina ember 30 pending
chen fable 105 closed
hana grove 90 ready
alice harbor 42 active
eli amber 35 pending
| 1
gus fable 106 closed
2
gus birch 102 failed
3
chen ember 10 active
4
bruno ember 57 closed
5
dina ember 30 pending
6
chen fable 105 closed
7
hana grove 90 ready
8
alice harbor 42 active
9
eli amber 35 pending
| number_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017470 | Remove all HTML-like angle-bracket tags from the text. | sed 's/<[^>]*>//g' | <p>amber <b>birch</b></p>
<span>delta</span>
| amber birch
delta
| <div>grove <i>fable</i></div>
| grove fable
| remove_html | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017480 | Print lines 3 through 6, inclusive, and nothing else. | sed -n 3,6p | bruno cobalt 8 pending
bruno amber 44 ready
dina birch 43 pending
chen fable 4 ready
dina birch 17 failed
eli grove 83 active
farah delta 45 active
| dina birch 43 pending
chen fable 4 ready
dina birch 17 failed
eli grove 83 active
| alice cobalt 78 closed
bruno birch 120 active
bruno fable 20 active
eli harbor 20 failed
bruno amber 35 active
eli ember 98 closed
dina ember 114 failed
| bruno fable 20 active
eli harbor 20 failed
bruno amber 35 active
eli ember 98 closed
| line_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017475 | Print only the second comma-separated field from each line. | sed 's/[^,]*,\([^,]*\).*/\1/' | chen,birch,118,failed
dina,amber,89,pending
bruno,delta,119,active
bruno,ember,52,closed
eli,grove,66,pending
hana,fable,93,failed
| birch
amber
delta
ember
grove
fable
| eli,grove,34,ready
eli,amber,104,closed
dina,fable,50,ready
gus,fable,49,failed
farah,harbor,2,active
dina,amber,86,pending
chen,fable,97,pending
dina,fable,21,active
| grove
amber
fable
fable
harbor
amber
fable
fable
| extract_second_csv | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017474 | Remove the last character from every line. | sed 's/.$//' | dina delta 65 closed
gus harbor 92 closed
eli cobalt 74 active
hana cobalt 43 closed
eli harbor 89 closed
gus amber 6 ready
eli delta 53 ready
chen cobalt 39 ready
hana ember 101 ready
| dina delta 65 close
gus harbor 92 close
eli cobalt 74 activ
hana cobalt 43 close
eli harbor 89 close
gus amber 6 read
eli delta 53 read
chen cobalt 39 read
hana ember 101 read
| hana grove 89 closed
dina delta 106 active
chen ember 6 ready
farah grove 116 pending
chen harbor 104 failed
chen fable 68 failed
chen ember 38 pending
| hana grove 89 close
dina delta 106 activ
chen ember 6 read
farah grove 116 pendin
chen harbor 104 faile
chen fable 68 faile
chen ember 38 pendin
| delete_last_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017471 | Replace every sequence of digits with the letter N. | sed 's/[0-9][0-9]*/N/g' | dina birch 0 pending
alice delta 66 closed
eli birch 22 failed
farah grove 0 closed
alice grove 89 active
gus ember 117 active
dina cobalt 3 pending
bruno amber 34 pending
farah amber 47 failed
| dina birch N pending
alice delta N closed
eli birch N failed
farah grove N closed
alice grove N active
gus ember N active
dina cobalt N pending
bruno amber N pending
farah amber N failed
| bruno fable 46 ready
chen fable 19 pending
chen ember 44 failed
eli fable 85 closed
eli birch 61 failed
chen fable 110 closed
bruno cobalt 22 active
farah grove 93 pending
| bruno fable N ready
chen fable N pending
chen ember N failed
eli fable N closed
eli birch N failed
chen fable N closed
bruno cobalt N active
farah grove N pending
| digits_mask | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017476 | Replace the first occurrence of fable with ember on each line. | sed s/fable/ember/ | alice harbor 114 pending
dina harbor 8 active
farah harbor 117 pending
hana amber 62 ready
gus fable 119 active
dina delta 99 active
alice harbor 44 ready
bruno harbor 41 failed
chen harbor 3 closed
| alice harbor 114 pending
dina harbor 8 active
farah harbor 117 pending
hana amber 62 ready
gus ember 119 active
dina delta 99 active
alice harbor 44 ready
bruno harbor 41 failed
chen harbor 3 closed
| bruno harbor 116 pending
gus grove 111 closed
alice harbor 60 failed
hana ember 64 closed
farah amber 71 ready
hana harbor 8 closed
alice delta 98 closed
| bruno harbor 116 pending
gus grove 111 closed
alice harbor 60 failed
hana ember 64 closed
farah amber 71 ready
hana harbor 8 closed
alice delta 98 closed
| substitute_first | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017482 | Print only the first 2 lines. | sed -n 1,2p | gus grove 43 closed
chen grove 97 pending
bruno delta 85 failed
gus amber 6 failed
bruno amber 32 ready
alice birch 14 closed
bruno fable 46 failed
farah amber 17 pending
| gus grove 43 closed
chen grove 97 pending
| alice cobalt 53 ready
alice fable 64 closed
farah amber 95 active
alice birch 0 ready
chen grove 41 failed
dina amber 39 failed
dina fable 99 pending
| alice cobalt 53 ready
alice fable 64 closed
| first_n | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017478 | Delete every line containing failed. | sed /failed/d | alice birch 33 active
farah amber 47 closed
gus cobalt 38 failed
bruno harbor 42 active
alice harbor 71 failed
chen ember 114 active
eli delta 117 closed
gus grove 102 pending
| alice birch 33 active
farah amber 47 closed
bruno harbor 42 active
chen ember 114 active
eli delta 117 closed
gus grove 102 pending
| chen delta 118 failed
alice cobalt 87 active
hana grove 101 closed
hana birch 27 pending
eli fable 81 closed
alice delta 87 closed
farah cobalt 100 failed
| alice cobalt 87 active
hana grove 101 closed
hana birch 27 pending
eli fable 81 closed
alice delta 87 closed
| regex_delete | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017477 | Replace every occurrence of fable with cobalt throughout the input. | sed s/fable/cobalt/g | dina grove 3 ready
alice grove 100 pending
alice birch 120 failed
farah fable 38 pending
hana grove 3 failed
dina ember 92 closed
| dina grove 3 ready
alice grove 100 pending
alice birch 120 failed
farah cobalt 38 pending
hana grove 3 failed
dina ember 92 closed
| farah birch 84 pending
hana birch 53 pending
alice birch 15 active
dina ember 12 active
dina harbor 117 active
hana cobalt 1 failed
gus grove 68 closed
| farah birch 84 pending
hana birch 53 pending
alice birch 15 active
dina ember 12 active
dina harbor 117 active
hana cobalt 1 failed
gus grove 68 closed
| substitute_global | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017484 | Delete the last line of the input and print all remaining lines. | sed '$d' | hana ember 44 failed
hana ember 14 failed
eli amber 88 ready
gus harbor 1 pending
gus ember 70 pending
farah grove 50 ready
| hana ember 44 failed
hana ember 14 failed
eli amber 88 ready
gus harbor 1 pending
gus ember 70 pending
| chen delta 50 closed
eli grove 26 closed
gus harbor 58 failed
alice amber 93 failed
hana birch 33 pending
eli delta 109 ready
alice ember 61 active
| chen delta 50 closed
eli grove 26 closed
gus harbor 58 failed
alice amber 93 failed
hana birch 33 pending
eli delta 109 ready
| delete_last | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017479 | Print only lines containing active; suppress all others. | sed -n /active/p | hana grove 27 closed
chen delta 75 closed
bruno ember 77 active
farah ember 117 active
gus birch 110 failed
alice fable 34 active
eli birch 68 pending
| bruno ember 77 active
farah ember 117 active
alice fable 34 active
| eli amber 54 closed
eli birch 75 closed
eli ember 16 failed
farah birch 66 pending
eli cobalt 40 ready
hana amber 18 failed
bruno grove 3 closed
alice amber 68 pending
| regex_print | 1 | train | original-grammar | CC-BY-4.0 | |
sedweave-0017481 | Delete lines 2 through 3, leaving all other lines unchanged. | sed 2,3d | hana amber 28 closed
alice birch 67 active
alice amber 65 closed
bruno cobalt 74 failed
farah fable 59 failed
hana fable 73 closed
farah grove 44 pending
| hana amber 28 closed
bruno cobalt 74 failed
farah fable 59 failed
hana fable 73 closed
farah grove 44 pending
| farah birch 107 closed
dina grove 98 failed
bruno delta 112 active
alice cobalt 94 ready
hana amber 12 failed
hana grove 54 active
alice amber 5 closed
alice harbor 5 closed
eli cobalt 9 closed
| farah birch 107 closed
alice cobalt 94 ready
hana amber 12 failed
hana grove 54 active
alice amber 5 closed
alice harbor 5 closed
eli cobalt 9 closed
| delete_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017483 | Print only the last line of the input. | sed -n '$p' | chen grove 109 pending
chen amber 89 active
gus ember 62 closed
gus grove 93 pending
dina harbor 83 active
farah grove 95 ready
| farah grove 95 ready
| hana harbor 42 pending
dina amber 78 pending
dina grove 73 failed
farah birch 92 failed
farah grove 48 failed
alice amber 69 closed
| alice amber 69 closed
| last_line | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017488 | Replace every full line containing active with the single line reviewed. | sed '/active/c reviewed' | gus delta 3 active
gus cobalt 98 active
hana harbor 112 failed
gus grove 45 failed
bruno harbor 47 ready
alice cobalt 81 pending
| reviewed
reviewed
hana harbor 112 failed
gus grove 45 failed
bruno harbor 47 ready
alice cobalt 81 pending
| chen cobalt 64 ready
chen delta 84 ready
bruno delta 112 active
chen grove 99 pending
chen ember 116 pending
dina ember 90 pending
alice birch 28 active
hana amber 58 failed
| chen cobalt 64 ready
chen delta 84 ready
reviewed
chen grove 99 pending
chen ember 116 pending
dina ember 90 pending
reviewed
hana amber 58 failed
| change_line | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017485 | Print odd-numbered lines: lines 1, 3, 5, and so on. | sed -n '0~2p' | alice fable 74 active
chen harbor 40 closed
hana cobalt 44 failed
eli ember 57 ready
dina amber 7 ready
alice grove 34 pending
gus delta 28 ready
eli cobalt 104 closed
| chen harbor 40 closed
eli ember 57 ready
alice grove 34 pending
eli cobalt 104 closed
| chen grove 98 ready
hana birch 102 closed
gus grove 59 ready
dina harbor 38 failed
eli cobalt 37 ready
dina birch 95 active
farah cobalt 42 failed
hana harbor 75 closed
| hana birch 102 closed
dina harbor 38 failed
dina birch 95 active
hana harbor 75 closed
| every_other | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017487 | Insert the line reviewed immediately before every line containing ready. | sed '/ready/i reviewed' | dina amber 77 active
alice birch 98 closed
bruno cobalt 23 pending
bruno harbor 65 pending
hana grove 108 failed
eli amber 45 active
alice fable 88 pending
dina harbor 9 failed
| dina amber 77 active
alice birch 98 closed
bruno cobalt 23 pending
bruno harbor 65 pending
hana grove 108 failed
eli amber 45 active
alice fable 88 pending
dina harbor 9 failed
| dina ember 55 ready
bruno ember 61 failed
bruno grove 71 pending
dina delta 97 failed
hana delta 19 failed
farah fable 34 closed
| reviewed
dina ember 55 ready
bruno ember 61 failed
bruno grove 71 pending
dina delta 97 failed
hana delta 19 failed
farah fable 34 closed
| insert_before | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017486 | Append the line complete immediately after every line containing active. | sed '/active/a complete' | alice cobalt 45 pending
alice birch 82 closed
chen harbor 45 failed
gus fable 82 ready
gus delta 81 ready
dina amber 34 active
gus grove 26 ready
farah cobalt 40 failed
gus harbor 62 closed
| alice cobalt 45 pending
alice birch 82 closed
chen harbor 45 failed
gus fable 82 ready
gus delta 81 ready
dina amber 34 active
complete
gus grove 26 ready
farah cobalt 40 failed
gus harbor 62 closed
| eli cobalt 56 closed
farah fable 90 pending
bruno birch 59 failed
dina delta 111 ready
bruno cobalt 17 pending
dina grove 108 failed
bruno fable 3 failed
eli cobalt 55 pending
alice cobalt 116 ready
| eli cobalt 56 closed
farah fable 90 pending
bruno birch 59 failed
dina delta 111 ready
bruno cobalt 17 pending
dina grove 108 failed
bruno fable 3 failed
eli cobalt 55 pending
alice cobalt 116 ready
| append_after | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017469 | Print only the block from the line containing cobalt through the line containing harbor, inclusive. | sed -n /cobalt/,/harbor/p | gus delta 19 failed
bruno birch 43 failed
alice harbor 87 active
bruno delta 29 failed
eli cobalt 25 active
farah ember 8 pending
gus delta 7 ready
alice harbor 78 pending
gus amber 106 active
| eli cobalt 25 active
farah ember 8 pending
gus delta 7 ready
alice harbor 78 pending
| hana cobalt 94 active
dina birch 81 pending
farah delta 65 ready
bruno delta 1 active
gus amber 52 active
hana cobalt 59 closed
| hana cobalt 94 active
dina birch 81 pending
farah delta 65 ready
bruno delta 1 active
gus amber 52 active
hana cobalt 59 closed
| print_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017489 | Delete all empty lines while preserving every nonempty line. | sed '/^$/d' | eli grove 64 active
alice harbor 68 closed
bruno birch 107 ready
farah birch 11 ready
dina grove 61 ready
hana grove 54 failed
bruno birch 17 ready
alice fable 8 pending
bruno cobalt 101 active
| eli grove 64 active
alice harbor 68 closed
bruno birch 107 ready
farah birch 11 ready
dina grove 61 ready
hana grove 54 failed
bruno birch 17 ready
alice fable 8 pending
bruno cobalt 101 active
| bruno grove 34 failed
alice birch 39 failed
eli amber 70 closed
chen grove 71 pending
gus grove 72 closed
bruno grove 27 failed
hana ember 106 pending
chen fable 105 closed
dina delta 18 failed
| bruno grove 34 failed
alice birch 39 failed
eli amber 70 closed
chen grove 71 pending
gus grove 72 closed
bruno grove 27 failed
hana ember 106 pending
chen fable 105 closed
dina delta 18 failed
| delete_blank | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017500 | Delete all lines beginning with #. | sed '/^#/d' | alice birch 37 pending
# note
eli birch 39 pending
eli amber 62 pending
hana ember 88 closed
gus amber 39 ready
bruno amber 23 closed
chen fable 112 active
dina ember 49 failed
| alice birch 37 pending
eli birch 39 pending
eli amber 62 pending
hana ember 88 closed
gus amber 39 ready
bruno amber 23 closed
chen fable 112 active
dina ember 49 failed
| chen grove 32 closed
# note
chen harbor 74 ready
farah amber 6 failed
bruno delta 34 pending
eli fable 107 active
farah harbor 89 ready
dina amber 97 failed
eli delta 110 pending
hana grove 98 active
| chen grove 32 closed
chen harbor 74 ready
farah amber 6 failed
bruno delta 34 pending
eli fable 107 active
farah harbor 89 ready
dina amber 97 failed
eli delta 110 pending
hana grove 98 active
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017502 | Delete everything from the line containing amber through the line containing fable, inclusive. | sed /amber/,/fable/d | alice cobalt 34 closed
bruno grove 15 failed
hana birch 51 closed
alice fable 106 closed
gus amber 38 active
gus delta 107 closed
farah grove 97 ready
gus cobalt 113 active
gus fable 63 failed
| alice cobalt 34 closed
bruno grove 15 failed
hana birch 51 closed
alice fable 106 closed
| hana ember 84 ready
chen grove 40 pending
farah delta 116 active
hana harbor 100 closed
farah grove 106 ready
bruno grove 63 active
bruno fable 70 pending
| hana ember 84 ready
chen grove 40 pending
farah delta 116 active
hana harbor 100 closed
farah grove 106 ready
bruno grove 63 active
bruno fable 70 pending
| delete_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017506 | Print each input line's number, without printing the line contents. | sed = | farah ember 115 active
eli birch 51 closed
eli grove 93 pending
hana amber 8 pending
bruno fable 38 closed
farah ember 31 active
| 1
farah ember 115 active
2
eli birch 51 closed
3
eli grove 93 pending
4
hana amber 8 pending
5
bruno fable 38 closed
6
farah ember 31 active
| gus delta 96 active
alice amber 15 active
dina delta 51 active
alice birch 74 ready
eli harbor 60 active
eli fable 64 ready
alice delta 120 pending
| 1
gus delta 96 active
2
alice amber 15 active
3
dina delta 51 active
4
alice birch 74 ready
5
eli harbor 60 active
6
eli fable 64 ready
7
alice delta 120 pending
| number_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017501 | Print only the first 6 characters of each line. | sed 's/^\(.\{6\}\).*/\1/' | eli cobalt 29 failed
gus amber 17 failed
bruno cobalt 47 closed
farah birch 46 pending
dina fable 88 pending
gus ember 99 closed
gus cobalt 51 ready
chen delta 46 ready
| eli co
gus am
bruno
farah
dina f
gus em
gus co
chen d
| dina grove 45 active
chen ember 28 pending
hana ember 113 ready
farah grove 118 ready
hana grove 105 ready
dina cobalt 100 failed
dina harbor 29 active
dina cobalt 107 pending
| dina g
chen e
hana e
farah
hana g
dina c
dina h
dina c
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017503 | Print only the block from the line containing grove through the line containing cobalt, inclusive. | sed -n /grove/,/cobalt/p | dina harbor 103 active
gus fable 49 failed
alice amber 102 pending
chen amber 4 ready
alice ember 52 pending
bruno fable 18 ready
bruno harbor 102 active
bruno fable 59 ready
alice grove 11 active
| alice grove 11 active
| eli ember 12 pending
dina delta 41 ready
gus fable 0 closed
eli ember 78 closed
bruno delta 79 active
chen ember 35 failed
eli ember 104 pending
| print_between | 2 | train | original-grammar | CC-BY-4.0 | |
sedweave-0017508 | Remove the last character from every line. | sed 's/.$//' | farah cobalt 22 closed
dina fable 79 ready
dina delta 72 ready
bruno birch 18 active
dina amber 12 ready
eli fable 96 closed
gus harbor 63 ready
gus harbor 117 failed
| farah cobalt 22 close
dina fable 79 read
dina delta 72 read
bruno birch 18 activ
dina amber 12 read
eli fable 96 close
gus harbor 63 read
gus harbor 117 faile
| farah ember 120 ready
alice grove 40 ready
farah delta 113 pending
alice ember 110 pending
chen amber 73 closed
dina delta 42 pending
| farah ember 120 read
alice grove 40 read
farah delta 113 pendin
alice ember 110 pendin
chen amber 73 close
dina delta 42 pendin
| delete_last_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017504 | Remove all HTML-like angle-bracket tags from the text. | sed 's/<[^>]*>//g' | <p>amber <b>birch</b></p>
<span>delta</span>
| amber birch
delta
| <div>grove <i>fable</i></div>
| grove fable
| remove_html | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017507 | Remove the first character from every line. | sed 's/^.//' | hana cobalt 112 closed
eli grove 114 closed
gus grove 111 ready
alice harbor 103 closed
bruno amber 61 pending
bruno amber 91 active
chen amber 24 closed
chen cobalt 27 active
| ana cobalt 112 closed
li grove 114 closed
us grove 111 ready
lice harbor 103 closed
runo amber 61 pending
runo amber 91 active
hen amber 24 closed
hen cobalt 27 active
| eli birch 81 failed
bruno birch 119 active
gus grove 74 closed
chen grove 118 failed
dina fable 21 pending
dina cobalt 46 pending
alice ember 3 ready
| li birch 81 failed
runo birch 119 active
us grove 74 closed
hen grove 118 failed
ina fable 21 pending
ina cobalt 46 pending
lice ember 3 ready
| delete_first_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017509 | Print only the second comma-separated field from each line. | sed 's/[^,]*,\([^,]*\).*/\1/' | eli,fable,45,ready
eli,ember,107,pending
gus,delta,5,pending
chen,harbor,117,failed
farah,cobalt,23,active
eli,amber,27,failed
chen,grove,28,closed
chen,grove,108,failed
bruno,fable,102,closed
| fable
ember
delta
harbor
cobalt
amber
grove
grove
fable
| hana,birch,67,active
chen,cobalt,52,ready
chen,cobalt,17,closed
hana,fable,9,ready
chen,ember,94,active
hana,harbor,42,active
hana,cobalt,86,active
farah,fable,105,active
bruno,grove,97,failed
| birch
cobalt
cobalt
fable
ember
harbor
cobalt
fable
grove
| extract_second_csv | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017510 | Replace the first occurrence of harbor with birch on each line. | sed s/harbor/birch/ | hana birch 49 pending
eli cobalt 14 pending
eli ember 5 pending
farah harbor 32 closed
eli ember 6 failed
bruno delta 16 closed
| hana birch 49 pending
eli cobalt 14 pending
eli ember 5 pending
farah birch 32 closed
eli ember 6 failed
bruno delta 16 closed
| hana delta 7 closed
alice fable 21 ready
bruno cobalt 109 pending
alice fable 23 failed
gus amber 95 ready
alice delta 93 ready
alice ember 59 ready
eli amber 95 closed
| hana delta 7 closed
alice fable 21 ready
bruno cobalt 109 pending
alice fable 23 failed
gus amber 95 ready
alice delta 93 ready
alice ember 59 ready
eli amber 95 closed
| substitute_first | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017505 | Replace every sequence of digits with the letter N. | sed 's/[0-9][0-9]*/N/g' | alice cobalt 4 active
alice birch 108 closed
alice fable 34 failed
chen grove 29 closed
alice harbor 86 pending
farah grove 44 active
| alice cobalt N active
alice birch N closed
alice fable N failed
chen grove N closed
alice harbor N pending
farah grove N active
| dina fable 8 pending
eli delta 100 active
gus delta 22 closed
gus fable 43 active
farah grove 90 pending
hana birch 119 failed
chen birch 96 pending
| dina fable N pending
eli delta N active
gus delta N closed
gus fable N active
farah grove N pending
hana birch N failed
chen birch N pending
| digits_mask | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017515 | Delete lines 2 through 4, leaving all other lines unchanged. | sed 2,4d | dina amber 93 pending
chen grove 3 pending
dina cobalt 70 ready
farah delta 80 failed
hana birch 66 active
hana grove 97 failed
gus amber 47 active
| dina amber 93 pending
hana birch 66 active
hana grove 97 failed
gus amber 47 active
| hana harbor 54 ready
alice harbor 76 closed
bruno fable 112 ready
farah grove 96 closed
farah fable 74 closed
hana amber 56 ready
| hana harbor 54 ready
farah fable 74 closed
hana amber 56 ready
| delete_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017513 | Print only lines containing ready; suppress all others. | sed -n /ready/p | bruno harbor 36 active
eli ember 6 failed
eli cobalt 7 failed
chen fable 30 pending
bruno harbor 27 ready
chen amber 106 closed
bruno harbor 102 pending
chen harbor 35 failed
chen harbor 98 closed
| bruno harbor 27 ready
| chen amber 114 failed
alice harbor 90 ready
bruno fable 112 pending
gus fable 23 closed
gus cobalt 41 pending
farah harbor 5 pending
eli cobalt 107 failed
gus ember 17 ready
eli cobalt 119 ready
| alice harbor 90 ready
gus ember 17 ready
eli cobalt 119 ready
| regex_print | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017511 | Replace every occurrence of delta with ember throughout the input. | sed s/delta/ember/g | chen fable 106 ready
dina fable 51 ready
alice cobalt 7 ready
alice ember 112 active
farah birch 30 pending
farah amber 82 active
| chen fable 106 ready
dina fable 51 ready
alice cobalt 7 ready
alice ember 112 active
farah birch 30 pending
farah amber 82 active
| bruno fable 74 pending
eli grove 78 closed
dina birch 11 failed
gus amber 50 failed
gus grove 71 active
eli ember 1 ready
dina ember 84 pending
gus fable 12 pending
| bruno fable 74 pending
eli grove 78 closed
dina birch 11 failed
gus amber 50 failed
gus grove 71 active
eli ember 1 ready
dina ember 84 pending
gus fable 12 pending
| substitute_global | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017512 | Delete every line containing failed. | sed /failed/d | farah harbor 32 closed
hana grove 20 ready
chen fable 55 pending
chen delta 24 pending
gus amber 47 closed
farah amber 80 pending
dina harbor 76 pending
farah delta 114 active
hana delta 61 closed
| farah harbor 32 closed
hana grove 20 ready
chen fable 55 pending
chen delta 24 pending
gus amber 47 closed
farah amber 80 pending
dina harbor 76 pending
farah delta 114 active
hana delta 61 closed
| bruno amber 12 active
bruno fable 40 ready
alice cobalt 92 ready
chen amber 108 closed
chen ember 16 failed
eli cobalt 72 pending
eli fable 104 closed
| bruno amber 12 active
bruno fable 40 ready
alice cobalt 92 ready
chen amber 108 closed
eli cobalt 72 pending
eli fable 104 closed
| regex_delete | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017517 | Print only the last line of the input. | sed -n '$p' | chen amber 45 failed
chen harbor 112 failed
dina cobalt 67 active
bruno fable 70 pending
alice birch 73 active
eli delta 72 pending
dina harbor 60 ready
farah delta 56 pending
alice harbor 107 active
| alice harbor 107 active
| farah ember 117 active
hana amber 103 closed
dina amber 47 failed
hana cobalt 83 failed
hana delta 118 failed
dina delta 119 pending
farah birch 98 pending
bruno grove 31 ready
bruno amber 9 pending
| bruno amber 9 pending
| last_line | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017518 | Delete the last line of the input and print all remaining lines. | sed '$d' | gus amber 36 ready
chen grove 31 closed
alice delta 101 pending
gus delta 13 pending
hana amber 35 closed
chen fable 29 closed
hana grove 109 pending
hana grove 6 failed
alice fable 34 failed
| gus amber 36 ready
chen grove 31 closed
alice delta 101 pending
gus delta 13 pending
hana amber 35 closed
chen fable 29 closed
hana grove 109 pending
hana grove 6 failed
| bruno birch 49 pending
alice harbor 110 active
chen delta 111 failed
dina cobalt 63 failed
eli delta 63 ready
chen birch 27 failed
| bruno birch 49 pending
alice harbor 110 active
chen delta 111 failed
dina cobalt 63 failed
eli delta 63 ready
| delete_last | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017514 | Print lines 2 through 5, inclusive, and nothing else. | sed -n 2,5p | eli amber 34 failed
eli grove 12 active
eli grove 87 closed
dina harbor 103 active
alice fable 30 active
hana delta 67 active
| eli grove 12 active
eli grove 87 closed
dina harbor 103 active
alice fable 30 active
| gus fable 81 pending
alice grove 50 failed
alice ember 15 closed
eli birch 47 failed
farah cobalt 93 pending
hana ember 36 active
| alice grove 50 failed
alice ember 15 closed
eli birch 47 failed
farah cobalt 93 pending
| line_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017524 | Remove all leading spaces and tabs from each line. | sed 's/^[ \t]*//' | bruno delta 87 failed
chen fable 76 ready
farah cobalt 7 pending
bruno harbor 92 failed
dina delta 36 active
bruno grove 47 closed
gus grove 3 ready
hana cobalt 96 failed
| bruno delta 87 failed
chen fable 76 ready
farah cobalt 7 pending
bruno harbor 92 failed
dina delta 36 active
bruno grove 47 closed
gus grove 3 ready
hana cobalt 96 failed
| chen delta 12 ready
dina grove 74 failed
alice grove 32 ready
chen fable 48 closed
alice delta 98 failed
dina amber 34 failed
hana birch 33 closed
hana cobalt 67 ready
farah harbor 84 closed
| chen delta 12 ready
dina grove 74 failed
alice grove 32 ready
chen fable 48 closed
alice delta 98 failed
dina amber 34 failed
hana birch 33 closed
hana cobalt 67 ready
farah harbor 84 closed
| strip_leading | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017516 | Print only the first 4 lines. | sed -n 1,4p | bruno grove 57 ready
chen harbor 8 active
dina cobalt 85 active
hana ember 16 ready
farah cobalt 82 active
chen harbor 32 ready
chen ember 100 active
| bruno grove 57 ready
chen harbor 8 active
dina cobalt 85 active
hana ember 16 ready
| farah birch 103 closed
farah delta 42 ready
farah fable 84 pending
alice cobalt 78 failed
dina amber 71 ready
dina ember 118 active
| farah birch 103 closed
farah delta 42 ready
farah fable 84 pending
alice cobalt 78 failed
| first_n | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017523 | Delete all empty lines while preserving every nonempty line. | sed '/^$/d' | hana delta 57 ready
alice harbor 57 ready
eli amber 33 ready
alice cobalt 6 pending
eli grove 66 closed
gus harbor 111 failed
bruno ember 54 ready
bruno grove 97 failed
| hana delta 57 ready
alice harbor 57 ready
eli amber 33 ready
alice cobalt 6 pending
eli grove 66 closed
gus harbor 111 failed
bruno ember 54 ready
bruno grove 97 failed
| bruno ember 17 pending
alice harbor 83 pending
alice cobalt 42 pending
gus grove 92 closed
bruno harbor 43 active
hana amber 21 active
farah delta 40 closed
eli birch 6 pending
hana harbor 71 failed
| bruno ember 17 pending
alice harbor 83 pending
alice cobalt 42 pending
gus grove 92 closed
bruno harbor 43 active
hana amber 21 active
farah delta 40 closed
eli birch 6 pending
hana harbor 71 failed
| delete_blank | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017522 | Replace every full line containing ready with the single line complete. | sed '/ready/c complete' | hana grove 21 closed
hana delta 108 closed
alice ember 24 failed
chen fable 26 closed
bruno fable 30 pending
farah amber 119 ready
| hana grove 21 closed
hana delta 108 closed
alice ember 24 failed
chen fable 26 closed
bruno fable 30 pending
complete
| gus cobalt 13 pending
chen grove 96 pending
dina birch 113 pending
gus fable 55 failed
gus cobalt 113 closed
hana fable 107 active
| gus cobalt 13 pending
chen grove 96 pending
dina birch 113 pending
gus fable 55 failed
gus cobalt 113 closed
hana fable 107 active
| change_line | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017520 | Append the line follow_up immediately after every line containing active. | sed '/active/a follow_up' | farah cobalt 119 failed
farah fable 1 ready
chen harbor 55 ready
chen amber 79 failed
gus fable 79 active
hana fable 41 pending
| farah cobalt 119 failed
farah fable 1 ready
chen harbor 55 ready
chen amber 79 failed
gus fable 79 active
follow_up
hana fable 41 pending
| eli delta 51 active
dina cobalt 62 pending
dina amber 0 closed
chen grove 12 pending
bruno harbor 52 closed
bruno cobalt 54 active
bruno fable 30 failed
| eli delta 51 active
follow_up
dina cobalt 62 pending
dina amber 0 closed
chen grove 12 pending
bruno harbor 52 closed
bruno cobalt 54 active
follow_up
bruno fable 30 failed
| append_after | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017525 | Remove all trailing spaces and tabs from each line. | sed 's/[ \t]*$//' | dina harbor 50 active
hana fable 24 active
eli ember 52 ready
farah fable 32 closed
farah fable 46 active
alice ember 0 failed
dina ember 96 pending
farah fable 26 ready
| dina harbor 50 active
hana fable 24 active
eli ember 52 ready
farah fable 32 closed
farah fable 46 active
alice ember 0 failed
dina ember 96 pending
farah fable 26 ready
| eli delta 83 failed
bruno grove 63 failed
bruno birch 12 ready
hana birch 76 failed
eli amber 54 active
dina cobalt 76 active
| eli delta 83 failed
bruno grove 63 failed
bruno birch 12 ready
hana birch 76 failed
eli amber 54 active
dina cobalt 76 active
| strip_trailing | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017526 | Collapse every run of spaces or tabs to a single space. | sed 's/[ \t]+/ /g' | hana birch 92 ready
eli birch 120 active
eli delta 118 active
hana birch 108 ready
chen amber 54 pending
hana amber 113 active
| hana birch 92 ready
eli birch 120 active
eli delta 118 active
hana birch 108 ready
chen amber 54 pending
hana amber 113 active
| eli fable 83 failed
dina delta 28 ready
farah birch 41 closed
bruno cobalt 58 pending
farah birch 109 closed
chen grove 21 failed
alice birch 87 closed
eli amber 7 active
farah ember 37 failed
| eli fable 83 failed
dina delta 28 ready
farah birch 41 closed
bruno cobalt 58 pending
farah birch 109 closed
chen grove 21 failed
alice birch 87 closed
eli amber 7 active
farah ember 37 failed
| collapse_space | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017521 | Insert the line complete immediately before every line containing pending. | sed '/pending/i complete' | gus grove 11 active
gus delta 90 ready
hana cobalt 69 ready
alice cobalt 72 closed
hana ember 6 pending
alice fable 105 closed
| gus grove 11 active
gus delta 90 ready
hana cobalt 69 ready
alice cobalt 72 closed
complete
hana ember 6 pending
alice fable 105 closed
| eli delta 56 pending
hana amber 21 ready
hana birch 78 pending
farah birch 78 pending
eli harbor 61 pending
alice cobalt 1 active
| complete
eli delta 56 pending
hana amber 21 ready
complete
hana birch 78 pending
complete
farah birch 78 pending
complete
eli harbor 61 pending
alice cobalt 1 active
| insert_before | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017527 | Convert every input line to uppercase. | sed 's/.*/\U&/' | eli harbor 120 closed
dina delta 41 pending
bruno amber 93 ready
gus fable 58 failed
hana cobalt 80 ready
alice amber 88 closed
bruno ember 15 failed
| ELI HARBOR 120 CLOSED
DINA DELTA 41 PENDING
BRUNO AMBER 93 READY
GUS FABLE 58 FAILED
HANA COBALT 80 READY
ALICE AMBER 88 CLOSED
BRUNO EMBER 15 FAILED
| gus harbor 24 active
alice fable 17 ready
chen delta 75 closed
hana grove 45 pending
farah delta 62 failed
hana delta 99 closed
alice harbor 77 active
| GUS HARBOR 24 ACTIVE
ALICE FABLE 17 READY
CHEN DELTA 75 CLOSED
HANA GROVE 45 PENDING
FARAH DELTA 62 FAILED
HANA DELTA 99 CLOSED
ALICE HARBOR 77 ACTIVE
| uppercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017519 | Print odd-numbered lines: lines 1, 3, 5, and so on. | sed -n '0~2p' | dina grove 26 active
gus birch 91 failed
alice ember 57 active
chen cobalt 104 closed
gus cobalt 0 active
gus ember 41 closed
dina delta 72 pending
| gus birch 91 failed
chen cobalt 104 closed
gus ember 41 closed
| dina delta 29 closed
alice delta 75 pending
eli ember 22 active
bruno birch 68 failed
bruno harbor 115 active
alice birch 35 failed
| alice delta 75 pending
bruno birch 68 failed
alice birch 35 failed
| every_other | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017531 | Add the prefix INFO followed by a space to the start of every line. | sed 's/^/INFO /' | gus ember 104 failed
dina delta 40 closed
hana ember 101 failed
dina delta 82 closed
gus cobalt 18 failed
chen fable 86 pending
| INFO gus ember 104 failed
INFO dina delta 40 closed
INFO hana ember 101 failed
INFO dina delta 82 closed
INFO gus cobalt 18 failed
INFO chen fable 86 pending
| eli amber 105 pending
eli fable 113 active
hana cobalt 82 pending
chen ember 102 active
alice ember 14 active
eli cobalt 36 failed
eli cobalt 104 active
| INFO eli amber 105 pending
INFO eli fable 113 active
INFO hana cobalt 82 pending
INFO chen ember 102 active
INFO alice ember 14 active
INFO eli cobalt 36 failed
INFO eli cobalt 104 active
| add_prefix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017529 | Swap the first two whitespace-separated fields on every line. | sed 's/\([^ ]*\) \([^ ]*\)/\2 \1/' | eli fable 51 failed
bruno fable 95 ready
hana delta 95 active
alice harbor 87 pending
alice amber 112 failed
farah ember 117 closed
farah delta 59 closed
hana delta 0 ready
| fable eli 51 failed
fable bruno 95 ready
delta hana 95 active
harbor alice 87 pending
amber alice 112 failed
ember farah 117 closed
delta farah 59 closed
delta hana 0 ready
| chen fable 26 failed
dina birch 1 closed
hana ember 68 failed
gus delta 97 ready
gus ember 99 ready
dina ember 53 closed
chen cobalt 36 failed
dina delta 16 ready
eli grove 68 closed
| fable chen 26 failed
birch dina 1 closed
ember hana 68 failed
delta gus 97 ready
ember gus 99 ready
ember dina 53 closed
cobalt chen 36 failed
delta dina 16 ready
grove eli 68 closed
| swap_fields | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017530 | Replace every comma with a tab character. | sed 's/,/\t/g' | chen,fable,31,pending
alice,cobalt,8,failed
bruno,grove,20,pending
gus,birch,103,closed
gus,cobalt,45,active
bruno,delta,36,failed
farah,amber,88,active
alice,ember,4,pending
| chen fable 31 pending
alice cobalt 8 failed
bruno grove 20 pending
gus birch 103 closed
gus cobalt 45 active
bruno delta 36 failed
farah amber 88 active
alice ember 4 pending
| chen,delta,114,failed
bruno,ember,26,ready
alice,ember,102,ready
hana,fable,19,closed
bruno,harbor,71,closed
dina,harbor,68,ready
gus,harbor,31,pending
| chen delta 114 failed
bruno ember 26 ready
alice ember 102 ready
hana fable 19 closed
bruno harbor 71 closed
dina harbor 68 ready
gus harbor 31 pending
| comma_to_tab | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017528 | Convert every input line to lowercase. | sed 's/.*/\L&/' | gus harbor 52 pending
hana fable 54 closed
eli amber 61 pending
chen ember 96 closed
eli amber 57 active
eli fable 119 closed
hana birch 95 closed
chen cobalt 99 failed
dina birch 78 failed
| gus harbor 52 pending
hana fable 54 closed
eli amber 61 pending
chen ember 96 closed
eli amber 57 active
eli fable 119 closed
hana birch 95 closed
chen cobalt 99 failed
dina birch 78 failed
| farah ember 81 pending
alice birch 98 pending
farah harbor 26 ready
alice grove 116 pending
farah harbor 1 active
farah birch 117 closed
| farah ember 81 pending
alice birch 98 pending
farah harbor 26 ready
alice grove 116 pending
farah harbor 1 active
farah birch 117 closed
| lowercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017532 | Append a space and complete to the end of every line. | sed 's/$/ complete/' | dina birch 117 pending
dina fable 48 closed
farah cobalt 11 closed
gus ember 67 pending
bruno amber 5 ready
gus cobalt 2 pending
alice birch 70 failed
| dina birch 117 pending complete
dina fable 48 closed complete
farah cobalt 11 closed complete
gus ember 67 pending complete
bruno amber 5 ready complete
gus cobalt 2 pending complete
alice birch 70 failed complete
| bruno amber 43 ready
chen harbor 14 failed
gus cobalt 11 closed
hana cobalt 68 ready
eli harbor 106 active
chen amber 101 pending
dina cobalt 57 closed
| bruno amber 43 ready complete
chen harbor 14 failed complete
gus cobalt 11 closed complete
hana cobalt 68 ready complete
eli harbor 106 active complete
chen amber 101 pending complete
dina cobalt 57 closed complete
| add_suffix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017538 | Remove all HTML-like angle-bracket tags from the text. | sed 's/<[^>]*>//g' | <p>amber <b>birch</b></p>
<span>delta</span>
| amber birch
delta
| <div>grove <i>fable</i></div>
| grove fable
| remove_html | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017536 | Delete everything from the line containing fable through the line containing grove, inclusive. | sed /fable/,/grove/d | chen harbor 71 active
gus fable 73 failed
farah harbor 32 ready
gus delta 13 active
eli ember 51 closed
farah ember 23 ready
gus birch 40 closed
bruno delta 52 ready
| chen harbor 71 active
| eli delta 89 pending
chen delta 81 failed
alice amber 38 closed
chen amber 77 ready
hana amber 80 failed
hana cobalt 65 failed
alice amber 89 closed
chen amber 8 ready
| eli delta 89 pending
chen delta 81 failed
alice amber 38 closed
chen amber 77 ready
hana amber 80 failed
hana cobalt 65 failed
alice amber 89 closed
chen amber 8 ready
| delete_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017534 | Delete all lines beginning with #. | sed '/^#/d' | farah cobalt 96 ready
# note
gus delta 78 ready
gus grove 3 closed
gus ember 19 active
alice fable 93 closed
eli amber 61 pending
hana birch 112 failed
dina fable 63 pending
gus birch 35 failed
| farah cobalt 96 ready
gus delta 78 ready
gus grove 3 closed
gus ember 19 active
alice fable 93 closed
eli amber 61 pending
hana birch 112 failed
dina fable 63 pending
gus birch 35 failed
| hana cobalt 113 ready
# note
gus birch 93 active
eli ember 114 active
dina harbor 89 active
alice delta 45 failed
dina fable 51 failed
| hana cobalt 113 ready
gus birch 93 active
eli ember 114 active
dina harbor 89 active
alice delta 45 failed
dina fable 51 failed
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017539 | Replace every sequence of digits with the letter N. | sed 's/[0-9][0-9]*/N/g' | farah delta 120 pending
dina fable 42 closed
bruno amber 105 failed
bruno amber 74 failed
dina fable 19 closed
farah cobalt 94 pending
bruno delta 106 failed
dina ember 40 ready
| farah delta N pending
dina fable N closed
bruno amber N failed
bruno amber N failed
dina fable N closed
farah cobalt N pending
bruno delta N failed
dina ember N ready
| dina ember 55 closed
dina birch 91 failed
farah ember 49 closed
bruno cobalt 16 closed
gus ember 83 ready
bruno cobalt 116 closed
eli harbor 47 ready
| dina ember N closed
dina birch N failed
farah ember N closed
bruno cobalt N closed
gus ember N ready
bruno cobalt N closed
eli harbor N ready
| digits_mask | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017540 | Print each input line's number, without printing the line contents. | sed = | chen fable 58 failed
chen amber 52 closed
gus birch 26 active
alice delta 87 ready
alice ember 115 active
dina delta 45 failed
bruno cobalt 61 failed
| 1
chen fable 58 failed
2
chen amber 52 closed
3
gus birch 26 active
4
alice delta 87 ready
5
alice ember 115 active
6
dina delta 45 failed
7
bruno cobalt 61 failed
| hana harbor 62 pending
bruno fable 71 active
farah fable 32 pending
eli delta 20 pending
dina birch 52 pending
farah delta 113 failed
bruno birch 69 pending
| 1
hana harbor 62 pending
2
bruno fable 71 active
3
farah fable 32 pending
4
eli delta 20 pending
5
dina birch 52 pending
6
farah delta 113 failed
7
bruno birch 69 pending
| number_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017542 | Remove the last character from every line. | sed 's/.$//' | hana harbor 114 ready
farah birch 29 closed
chen delta 105 active
alice amber 7 closed
farah harbor 86 pending
alice grove 35 ready
| hana harbor 114 read
farah birch 29 close
chen delta 105 activ
alice amber 7 close
farah harbor 86 pendin
alice grove 35 read
| hana fable 62 pending
dina fable 105 failed
hana harbor 79 active
bruno ember 13 active
hana grove 23 ready
chen ember 55 active
farah amber 103 closed
alice grove 31 pending
| hana fable 62 pendin
dina fable 105 faile
hana harbor 79 activ
bruno ember 13 activ
hana grove 23 read
chen ember 55 activ
farah amber 103 close
alice grove 31 pendin
| delete_last_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017537 | Print only the block from the line containing cobalt through the line containing delta, inclusive. | sed -n /cobalt/,/delta/p | chen delta 54 closed
bruno cobalt 1 active
dina ember 87 ready
hana grove 10 pending
alice fable 102 pending
gus ember 77 active
chen cobalt 46 pending
| bruno cobalt 1 active
dina ember 87 ready
hana grove 10 pending
alice fable 102 pending
gus ember 77 active
chen cobalt 46 pending
| farah ember 48 active
bruno fable 47 pending
chen harbor 97 ready
eli grove 101 ready
hana delta 113 failed
eli fable 118 closed
chen birch 98 closed
eli fable 29 pending
hana ember 73 closed
| print_between | 2 | train | original-grammar | CC-BY-4.0 | |
sedweave-0017533 | Comment out every input line by adding # and a space at the start. | sed 's/^/# /' | eli harbor 13 pending
eli grove 44 ready
bruno cobalt 96 closed
chen birch 37 pending
chen harbor 16 ready
alice delta 80 active
farah cobalt 59 failed
eli amber 54 pending
| # eli harbor 13 pending
# eli grove 44 ready
# bruno cobalt 96 closed
# chen birch 37 pending
# chen harbor 16 ready
# alice delta 80 active
# farah cobalt 59 failed
# eli amber 54 pending
| chen cobalt 2 closed
bruno grove 118 failed
dina cobalt 38 active
eli amber 86 active
hana grove 73 active
bruno grove 32 pending
hana fable 94 failed
| # chen cobalt 2 closed
# bruno grove 118 failed
# dina cobalt 38 active
# eli amber 86 active
# hana grove 73 active
# bruno grove 32 pending
# hana fable 94 failed
| comment_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017544 | Replace the first occurrence of amber with ember on each line. | sed s/amber/ember/ | eli fable 20 failed
eli harbor 17 failed
gus fable 45 failed
eli cobalt 86 closed
bruno harbor 103 pending
bruno delta 5 closed
dina grove 3 pending
alice delta 106 closed
| eli fable 20 failed
eli harbor 17 failed
gus fable 45 failed
eli cobalt 86 closed
bruno harbor 103 pending
bruno delta 5 closed
dina grove 3 pending
alice delta 106 closed
| alice ember 26 pending
dina grove 34 active
chen birch 62 closed
chen ember 62 active
gus delta 91 pending
chen delta 62 pending
| alice ember 26 pending
dina grove 34 active
chen birch 62 closed
chen ember 62 active
gus delta 91 pending
chen delta 62 pending
| substitute_first | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017535 | Print only the first 6 characters of each line. | sed 's/^\(.\{6\}\).*/\1/' | alice birch 66 closed
bruno grove 73 ready
alice grove 20 closed
farah delta 46 pending
chen birch 9 ready
gus delta 54 failed
bruno amber 51 closed
dina birch 36 ready
| alice
bruno
alice
farah
chen b
gus de
bruno
dina b
| farah grove 118 failed
chen grove 101 pending
gus fable 14 pending
alice delta 84 closed
eli ember 18 active
hana birch 61 pending
| farah
chen g
gus fa
alice
eli em
hana b
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017541 | Remove the first character from every line. | sed 's/^.//' | bruno delta 81 ready
gus birch 113 pending
dina grove 96 ready
hana ember 81 pending
farah ember 52 pending
dina grove 64 closed
| runo delta 81 ready
us birch 113 pending
ina grove 96 ready
ana ember 81 pending
arah ember 52 pending
ina grove 64 closed
| hana birch 64 closed
eli fable 58 ready
chen amber 82 failed
alice cobalt 112 ready
bruno birch 85 ready
farah harbor 13 pending
bruno cobalt 47 pending
| ana birch 64 closed
li fable 58 ready
hen amber 82 failed
lice cobalt 112 ready
runo birch 85 ready
arah harbor 13 pending
runo cobalt 47 pending
| delete_first_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017546 | Delete every line containing failed. | sed /failed/d | chen harbor 109 ready
bruno amber 97 closed
alice cobalt 37 pending
alice harbor 108 closed
chen cobalt 113 pending
bruno cobalt 35 failed
| chen harbor 109 ready
bruno amber 97 closed
alice cobalt 37 pending
alice harbor 108 closed
chen cobalt 113 pending
| alice ember 32 pending
gus birch 68 ready
alice delta 26 active
alice fable 46 ready
eli fable 3 ready
gus grove 59 pending
chen amber 32 active
eli ember 111 active
| alice ember 32 pending
gus birch 68 ready
alice delta 26 active
alice fable 46 ready
eli fable 3 ready
gus grove 59 pending
chen amber 32 active
eli ember 111 active
| regex_delete | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017548 | Print lines 3 through 6, inclusive, and nothing else. | sed -n 3,6p | hana delta 70 active
hana amber 92 failed
eli fable 7 active
gus grove 86 ready
hana fable 27 ready
alice cobalt 68 active
| eli fable 7 active
gus grove 86 ready
hana fable 27 ready
alice cobalt 68 active
| bruno harbor 54 pending
hana amber 120 ready
dina amber 72 active
gus cobalt 27 failed
farah cobalt 76 closed
chen cobalt 7 ready
| dina amber 72 active
gus cobalt 27 failed
farah cobalt 76 closed
chen cobalt 7 ready
| line_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0017543 | Print only the second comma-separated field from each line. | sed 's/[^,]*,\([^,]*\).*/\1/' | gus,fable,41,ready
dina,amber,64,ready
eli,amber,45,failed
eli,birch,59,ready
dina,birch,65,closed
bruno,grove,37,ready
hana,grove,107,active
bruno,birch,108,ready
alice,amber,33,failed
| fable
amber
amber
birch
birch
grove
grove
birch
amber
| farah,harbor,45,pending
chen,birch,114,closed
bruno,birch,86,active
alice,delta,28,pending
bruno,amber,30,ready
alice,delta,0,pending
bruno,harbor,92,active
hana,delta,32,closed
gus,grove,93,pending
| harbor
birch
birch
delta
amber
delta
harbor
delta
grove
| extract_second_csv | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017547 | Print only lines containing ready; suppress all others. | sed -n /ready/p | eli birch 32 pending
dina grove 111 closed
eli birch 75 pending
farah birch 99 pending
hana birch 117 active
gus ember 44 active
bruno birch 100 closed
hana amber 89 closed
gus grove 74 ready
| gus grove 74 ready
| bruno ember 49 closed
alice cobalt 70 pending
chen birch 38 pending
hana cobalt 9 active
eli birch 78 closed
chen grove 111 pending
| regex_print | 1 | train | original-grammar | CC-BY-4.0 | |
sedweave-0017553 | Print odd-numbered lines: lines 1, 3, 5, and so on. | sed -n '0~2p' | dina ember 119 ready
bruno amber 104 active
chen ember 91 closed
farah harbor 86 failed
dina cobalt 100 failed
alice delta 77 closed
dina birch 85 closed
| bruno amber 104 active
farah harbor 86 failed
alice delta 77 closed
| gus harbor 30 failed
eli delta 19 closed
farah birch 17 closed
gus ember 57 closed
gus delta 55 ready
hana birch 89 closed
eli cobalt 19 closed
bruno fable 58 failed
bruno birch 97 active
| eli delta 19 closed
gus ember 57 closed
hana birch 89 closed
bruno fable 58 failed
| every_other | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0017550 | Print only the first 2 lines. | sed -n 1,2p | gus ember 67 active
bruno cobalt 27 ready
bruno cobalt 73 active
dina grove 22 pending
farah birch 60 ready
chen birch 101 pending
| gus ember 67 active
bruno cobalt 27 ready
| farah delta 93 ready
hana birch 76 failed
gus fable 107 pending
farah cobalt 12 closed
bruno amber 45 ready
hana cobalt 49 pending
gus amber 112 pending
alice fable 14 failed
alice amber 64 ready
| farah delta 93 ready
hana birch 76 failed
| first_n | 1 | train | original-grammar | CC-BY-4.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.