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-0013334 | Print only the first 2 lines. | sed -n 1,2p | gus ember 107 closed
alice ember 1 pending
bruno ember 17 closed
dina cobalt 2 ready
farah birch 74 ready
gus birch 15 failed
hana birch 30 closed
chen birch 51 failed
| gus ember 107 closed
alice ember 1 pending
| gus grove 71 active
alice fable 66 ready
hana harbor 116 active
eli harbor 101 ready
hana grove 108 pending
gus ember 61 closed
gus ember 53 closed
gus cobalt 24 ready
alice delta 55 ready
| gus grove 71 active
alice fable 66 ready
| first_n | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013335 | Print only the last line of the input. | sed -n '$p' | gus harbor 38 ready
eli delta 82 closed
hana ember 32 closed
chen amber 25 pending
bruno birch 82 failed
gus grove 10 active
| gus grove 10 active
| eli cobalt 8 closed
eli amber 114 closed
alice delta 90 closed
gus amber 62 active
bruno delta 17 pending
bruno harbor 86 pending
| bruno harbor 86 pending
| last_line | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013332 | Print lines 4 through 5, inclusive, and nothing else. | sed -n 4,5p | gus cobalt 117 failed
bruno ember 105 pending
alice ember 42 active
gus harbor 0 active
alice harbor 46 failed
hana cobalt 106 ready
gus fable 37 failed
| gus harbor 0 active
alice harbor 46 failed
| alice grove 38 failed
gus fable 5 closed
farah harbor 112 ready
hana ember 16 closed
gus ember 115 closed
bruno amber 27 pending
| hana ember 16 closed
gus ember 115 closed
| line_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013330 | Delete every line containing pending. | sed /pending/d | eli cobalt 19 failed
alice amber 105 active
dina fable 96 ready
bruno cobalt 93 ready
farah amber 73 closed
chen birch 73 failed
| eli cobalt 19 failed
alice amber 105 active
dina fable 96 ready
bruno cobalt 93 ready
farah amber 73 closed
chen birch 73 failed
| alice ember 94 closed
bruno amber 83 failed
farah amber 86 active
eli ember 75 pending
dina fable 99 closed
dina fable 8 failed
dina ember 33 pending
| alice ember 94 closed
bruno amber 83 failed
farah amber 86 active
dina fable 99 closed
dina fable 8 failed
| regex_delete | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013333 | Delete lines 3 through 5, leaving all other lines unchanged. | sed 3,5d | dina fable 48 pending
chen fable 114 failed
alice fable 33 pending
farah ember 105 pending
farah harbor 93 ready
eli ember 117 failed
| dina fable 48 pending
chen fable 114 failed
eli ember 117 failed
| bruno amber 98 pending
eli delta 33 ready
gus grove 14 ready
eli grove 54 closed
alice grove 40 closed
dina fable 93 ready
bruno fable 50 failed
farah cobalt 20 active
| bruno amber 98 pending
eli delta 33 ready
dina fable 93 ready
bruno fable 50 failed
farah cobalt 20 active
| delete_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013337 | Print odd-numbered lines: lines 1, 3, 5, and so on. | sed -n '0~2p' | bruno harbor 79 failed
hana grove 29 failed
gus grove 69 failed
bruno delta 104 active
alice delta 65 active
chen harbor 23 active
| hana grove 29 failed
bruno delta 104 active
chen harbor 23 active
| alice grove 25 failed
eli birch 66 ready
dina fable 32 active
eli amber 103 closed
dina fable 68 ready
dina amber 113 pending
alice delta 48 active
| eli birch 66 ready
eli amber 103 closed
dina amber 113 pending
| every_other | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013336 | Delete the last line of the input and print all remaining lines. | sed '$d' | chen fable 13 active
chen harbor 101 pending
gus ember 63 ready
dina amber 39 closed
gus delta 54 failed
alice amber 118 ready
eli ember 49 active
| chen fable 13 active
chen harbor 101 pending
gus ember 63 ready
dina amber 39 closed
gus delta 54 failed
alice amber 118 ready
| chen grove 70 ready
chen harbor 38 ready
hana grove 115 ready
dina fable 41 closed
farah birch 38 pending
bruno ember 89 closed
gus amber 71 pending
farah cobalt 54 failed
gus delta 3 failed
| chen grove 70 ready
chen harbor 38 ready
hana grove 115 ready
dina fable 41 closed
farah birch 38 pending
bruno ember 89 closed
gus amber 71 pending
farah cobalt 54 failed
| delete_last | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013321 | Print only the block from the line containing grove through the line containing fable, inclusive. | sed -n /grove/,/fable/p | eli harbor 37 ready
dina ember 5 active
farah harbor 14 closed
chen birch 91 ready
bruno grove 77 active
dina fable 84 failed
bruno grove 68 closed
gus cobalt 89 ready
| bruno grove 77 active
dina fable 84 failed
bruno grove 68 closed
gus cobalt 89 ready
| bruno birch 22 closed
alice delta 62 pending
chen harbor 110 ready
bruno cobalt 16 closed
dina amber 72 active
farah ember 91 closed
eli delta 89 active
hana birch 69 failed
| print_between | 2 | train | original-grammar | CC-BY-4.0 | |
sedweave-0013342 | Remove all leading spaces and tabs from each line. | sed 's/^[ \t]*//' | farah harbor 85 active
farah birch 8 failed
dina fable 74 active
eli birch 50 pending
bruno harbor 63 ready
chen harbor 37 pending
farah grove 77 ready
hana fable 1 active
bruno harbor 77 failed
| farah harbor 85 active
farah birch 8 failed
dina fable 74 active
eli birch 50 pending
bruno harbor 63 ready
chen harbor 37 pending
farah grove 77 ready
hana fable 1 active
bruno harbor 77 failed
| farah harbor 18 failed
bruno amber 113 pending
farah harbor 12 failed
dina amber 104 active
farah ember 88 closed
farah harbor 21 pending
eli fable 44 active
| farah harbor 18 failed
bruno amber 113 pending
farah harbor 12 failed
dina amber 104 active
farah ember 88 closed
farah harbor 21 pending
eli fable 44 active
| strip_leading | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013344 | Collapse every run of spaces or tabs to a single space. | sed 's/[ \t]+/ /g' | bruno grove 80 active
alice cobalt 65 active
gus harbor 24 failed
hana fable 93 failed
farah cobalt 3 failed
bruno fable 84 failed
dina grove 90 failed
eli amber 34 active
| bruno grove 80 active
alice cobalt 65 active
gus harbor 24 failed
hana fable 93 failed
farah cobalt 3 failed
bruno fable 84 failed
dina grove 90 failed
eli amber 34 active
| eli amber 55 closed
hana grove 72 ready
eli grove 29 closed
bruno cobalt 99 active
bruno delta 63 ready
bruno birch 18 closed
farah fable 97 closed
gus amber 13 failed
| eli amber 55 closed
hana grove 72 ready
eli grove 29 closed
bruno cobalt 99 active
bruno delta 63 ready
bruno birch 18 closed
farah fable 97 closed
gus amber 13 failed
| collapse_space | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013338 | Append the line reviewed immediately after every line containing ready. | sed '/ready/a reviewed' | farah fable 52 ready
chen grove 55 closed
bruno ember 27 pending
dina cobalt 11 active
alice cobalt 65 pending
farah birch 39 active
bruno delta 103 pending
dina cobalt 61 closed
| farah fable 52 ready
reviewed
chen grove 55 closed
bruno ember 27 pending
dina cobalt 11 active
alice cobalt 65 pending
farah birch 39 active
bruno delta 103 pending
dina cobalt 61 closed
| eli ember 8 failed
dina cobalt 42 ready
hana delta 14 active
farah grove 25 active
gus ember 61 closed
hana harbor 102 active
| eli ember 8 failed
dina cobalt 42 ready
reviewed
hana delta 14 active
farah grove 25 active
gus ember 61 closed
hana harbor 102 active
| append_after | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013340 | Replace every full line containing failed with the single line reviewed. | sed '/failed/c reviewed' | chen fable 85 failed
bruno harbor 14 active
gus amber 113 closed
gus ember 8 ready
dina grove 1 pending
hana ember 93 ready
hana delta 98 active
gus amber 96 ready
| reviewed
bruno harbor 14 active
gus amber 113 closed
gus ember 8 ready
dina grove 1 pending
hana ember 93 ready
hana delta 98 active
gus amber 96 ready
| bruno harbor 24 pending
eli grove 100 pending
farah birch 76 failed
eli ember 46 ready
gus ember 22 ready
hana grove 22 active
| bruno harbor 24 pending
eli grove 100 pending
reviewed
eli ember 46 ready
gus ember 22 ready
hana grove 22 active
| change_line | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013349 | Add the prefix INFO followed by a space to the start of every line. | sed 's/^/INFO /' | gus delta 2 ready
chen birch 34 closed
gus birch 42 failed
hana delta 1 pending
hana harbor 92 pending
bruno amber 97 active
| INFO gus delta 2 ready
INFO chen birch 34 closed
INFO gus birch 42 failed
INFO hana delta 1 pending
INFO hana harbor 92 pending
INFO bruno amber 97 active
| farah cobalt 11 closed
dina ember 101 failed
hana cobalt 70 ready
alice fable 61 active
alice ember 114 active
hana delta 69 active
hana harbor 53 pending
| INFO farah cobalt 11 closed
INFO dina ember 101 failed
INFO hana cobalt 70 ready
INFO alice fable 61 active
INFO alice ember 114 active
INFO hana delta 69 active
INFO hana harbor 53 pending
| add_prefix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013343 | Remove all trailing spaces and tabs from each line. | sed 's/[ \t]*$//' | bruno cobalt 12 pending
dina grove 6 active
dina cobalt 111 closed
gus cobalt 56 failed
gus delta 45 active
dina birch 95 failed
bruno amber 11 ready
farah birch 87 pending
dina amber 113 active
| bruno cobalt 12 pending
dina grove 6 active
dina cobalt 111 closed
gus cobalt 56 failed
gus delta 45 active
dina birch 95 failed
bruno amber 11 ready
farah birch 87 pending
dina amber 113 active
| gus delta 112 pending
hana ember 51 ready
gus birch 35 active
dina birch 89 failed
gus delta 118 pending
farah birch 86 failed
eli harbor 90 ready
| gus delta 112 pending
hana ember 51 ready
gus birch 35 active
dina birch 89 failed
gus delta 118 pending
farah birch 86 failed
eli harbor 90 ready
| strip_trailing | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013345 | Convert every input line to uppercase. | sed 's/.*/\U&/' | gus grove 90 ready
dina cobalt 118 pending
dina birch 96 closed
bruno delta 10 active
eli cobalt 98 active
farah amber 112 pending
| GUS GROVE 90 READY
DINA COBALT 118 PENDING
DINA BIRCH 96 CLOSED
BRUNO DELTA 10 ACTIVE
ELI COBALT 98 ACTIVE
FARAH AMBER 112 PENDING
| bruno fable 89 closed
dina grove 31 pending
farah fable 42 pending
alice amber 116 failed
farah fable 51 ready
dina fable 95 active
chen grove 30 failed
| BRUNO FABLE 89 CLOSED
DINA GROVE 31 PENDING
FARAH FABLE 42 PENDING
ALICE AMBER 116 FAILED
FARAH FABLE 51 READY
DINA FABLE 95 ACTIVE
CHEN GROVE 30 FAILED
| uppercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013351 | Comment out every input line by adding # and a space at the start. | sed 's/^/# /' | chen fable 86 failed
bruno birch 29 pending
eli amber 62 pending
alice birch 6 pending
dina birch 53 active
hana cobalt 63 active
eli amber 51 ready
alice grove 19 failed
farah grove 1 failed
| # chen fable 86 failed
# bruno birch 29 pending
# eli amber 62 pending
# alice birch 6 pending
# dina birch 53 active
# hana cobalt 63 active
# eli amber 51 ready
# alice grove 19 failed
# farah grove 1 failed
| hana cobalt 3 closed
chen harbor 112 closed
bruno harbor 110 failed
eli grove 78 active
chen grove 38 pending
bruno birch 107 active
eli grove 66 failed
farah ember 113 pending
| # hana cobalt 3 closed
# chen harbor 112 closed
# bruno harbor 110 failed
# eli grove 78 active
# chen grove 38 pending
# bruno birch 107 active
# eli grove 66 failed
# farah ember 113 pending
| comment_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013339 | Insert the line reviewed immediately before every line containing failed. | sed '/failed/i reviewed' | bruno birch 114 failed
alice harbor 112 failed
farah cobalt 58 closed
farah birch 23 failed
alice amber 20 failed
bruno cobalt 86 ready
alice ember 107 pending
| reviewed
bruno birch 114 failed
reviewed
alice harbor 112 failed
farah cobalt 58 closed
reviewed
farah birch 23 failed
reviewed
alice amber 20 failed
bruno cobalt 86 ready
alice ember 107 pending
| eli delta 103 active
gus ember 46 pending
bruno harbor 57 pending
bruno delta 36 closed
chen harbor 28 active
chen ember 12 failed
eli ember 82 failed
bruno cobalt 31 pending
| eli delta 103 active
gus ember 46 pending
bruno harbor 57 pending
bruno delta 36 closed
chen harbor 28 active
reviewed
chen ember 12 failed
reviewed
eli ember 82 failed
bruno cobalt 31 pending
| insert_before | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013346 | Convert every input line to lowercase. | sed 's/.*/\L&/' | bruno amber 93 ready
bruno fable 54 ready
bruno amber 95 ready
farah birch 119 failed
hana fable 20 ready
gus birch 49 ready
hana delta 83 failed
| bruno amber 93 ready
bruno fable 54 ready
bruno amber 95 ready
farah birch 119 failed
hana fable 20 ready
gus birch 49 ready
hana delta 83 failed
| gus harbor 96 failed
alice grove 33 failed
farah harbor 110 ready
dina harbor 52 ready
alice fable 86 active
eli fable 83 active
| gus harbor 96 failed
alice grove 33 failed
farah harbor 110 ready
dina harbor 52 ready
alice fable 86 active
eli fable 83 active
| lowercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013352 | Delete all lines beginning with #. | sed '/^#/d' | alice delta 51 active
# note
dina cobalt 44 failed
farah grove 52 ready
hana fable 106 pending
eli fable 87 ready
eli grove 5 failed
gus grove 35 failed
bruno delta 119 closed
| alice delta 51 active
dina cobalt 44 failed
farah grove 52 ready
hana fable 106 pending
eli fable 87 ready
eli grove 5 failed
gus grove 35 failed
bruno delta 119 closed
| dina birch 95 closed
# note
chen amber 58 pending
gus delta 81 ready
bruno amber 62 ready
gus fable 44 ready
hana birch 78 failed
bruno ember 22 closed
dina grove 103 closed
gus grove 85 failed
| dina birch 95 closed
chen amber 58 pending
gus delta 81 ready
bruno amber 62 ready
gus fable 44 ready
hana birch 78 failed
bruno ember 22 closed
dina grove 103 closed
gus grove 85 failed
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013341 | Delete all empty lines while preserving every nonempty line. | sed '/^$/d' | dina harbor 106 pending
eli delta 52 closed
alice grove 43 ready
eli grove 6 ready
gus delta 103 closed
farah ember 70 active
farah birch 43 ready
| dina harbor 106 pending
eli delta 52 closed
alice grove 43 ready
eli grove 6 ready
gus delta 103 closed
farah ember 70 active
farah birch 43 ready
| gus fable 96 pending
hana harbor 87 ready
dina amber 117 pending
farah ember 102 closed
chen delta 26 pending
alice grove 35 ready
| gus fable 96 pending
hana harbor 87 ready
dina amber 117 pending
farah ember 102 closed
chen delta 26 pending
alice grove 35 ready
| delete_blank | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013347 | Swap the first two whitespace-separated fields on every line. | sed 's/\([^ ]*\) \([^ ]*\)/\2 \1/' | dina harbor 81 active
hana amber 114 closed
chen ember 103 pending
farah delta 44 active
hana fable 100 pending
eli ember 108 ready
bruno ember 16 ready
alice harbor 4 pending
eli ember 11 pending
| harbor dina 81 active
amber hana 114 closed
ember chen 103 pending
delta farah 44 active
fable hana 100 pending
ember eli 108 ready
ember bruno 16 ready
harbor alice 4 pending
ember eli 11 pending
| hana ember 27 closed
farah cobalt 117 closed
alice grove 100 active
eli birch 24 failed
alice fable 81 ready
hana fable 54 ready
dina delta 102 closed
alice fable 21 ready
| ember hana 27 closed
cobalt farah 117 closed
grove alice 100 active
birch eli 24 failed
fable alice 81 ready
fable hana 54 ready
delta dina 102 closed
fable alice 21 ready
| swap_fields | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013348 | Replace every comma with a tab character. | sed 's/,/\t/g' | farah,delta,59,active
hana,harbor,3,pending
gus,birch,27,failed
chen,cobalt,77,closed
hana,ember,59,failed
bruno,birch,34,pending
| farah delta 59 active
hana harbor 3 pending
gus birch 27 failed
chen cobalt 77 closed
hana ember 59 failed
bruno birch 34 pending
| gus,ember,28,ready
eli,cobalt,98,active
dina,amber,87,pending
dina,delta,40,active
bruno,delta,53,active
gus,harbor,22,ready
alice,fable,64,ready
| gus ember 28 ready
eli cobalt 98 active
dina amber 87 pending
dina delta 40 active
bruno delta 53 active
gus harbor 22 ready
alice fable 64 ready
| comma_to_tab | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013354 | Delete everything from the line containing ember through the line containing cobalt, inclusive. | sed /ember/,/cobalt/d | chen fable 5 ready
hana grove 47 failed
gus cobalt 41 closed
farah delta 45 pending
bruno fable 111 pending
alice fable 92 failed
eli amber 110 active
| chen fable 5 ready
hana grove 47 failed
gus cobalt 41 closed
farah delta 45 pending
bruno fable 111 pending
alice fable 92 failed
eli amber 110 active
| dina amber 94 failed
chen harbor 27 pending
chen fable 73 pending
farah birch 91 closed
hana birch 110 pending
chen fable 66 active
bruno cobalt 54 active
chen harbor 40 active
alice delta 50 pending
| dina amber 94 failed
chen harbor 27 pending
chen fable 73 pending
farah birch 91 closed
hana birch 110 pending
chen fable 66 active
bruno cobalt 54 active
chen harbor 40 active
alice delta 50 pending
| delete_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013353 | Print only the first 5 characters of each line. | sed 's/^\(.\{5\}\).*/\1/' | hana cobalt 108 active
chen fable 59 pending
chen fable 14 pending
bruno birch 106 pending
alice grove 33 ready
alice harbor 45 active
alice cobalt 72 failed
| hana
chen
chen
bruno
alice
alice
alice
| gus delta 86 closed
bruno birch 7 closed
farah ember 0 closed
bruno harbor 30 failed
chen harbor 114 ready
gus amber 21 failed
chen birch 35 failed
gus grove 10 closed
gus fable 31 ready
| gus d
bruno
farah
bruno
chen
gus a
chen
gus g
gus f
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013357 | Replace every sequence of digits with the letter N. | sed 's/[0-9][0-9]*/N/g' | dina grove 99 ready
dina harbor 97 failed
farah delta 69 ready
alice harbor 46 closed
gus birch 108 failed
hana cobalt 50 ready
eli cobalt 85 pending
| dina grove N ready
dina harbor N failed
farah delta N ready
alice harbor N closed
gus birch N failed
hana cobalt N ready
eli cobalt N pending
| gus ember 66 failed
dina ember 60 active
dina amber 97 ready
alice grove 50 ready
chen delta 100 pending
hana ember 64 active
| gus ember N failed
dina ember N active
dina amber N ready
alice grove N ready
chen delta N pending
hana ember N active
| digits_mask | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013362 | Replace the first occurrence of grove with harbor on each line. | sed s/grove/harbor/ | eli grove 42 active
bruno cobalt 69 failed
farah ember 120 pending
bruno ember 43 failed
alice harbor 23 ready
chen cobalt 89 active
farah cobalt 42 failed
| eli harbor 42 active
bruno cobalt 69 failed
farah ember 120 pending
bruno ember 43 failed
alice harbor 23 ready
chen cobalt 89 active
farah cobalt 42 failed
| eli cobalt 34 pending
farah amber 42 active
farah cobalt 7 pending
alice cobalt 100 ready
farah amber 12 active
alice fable 51 closed
bruno ember 115 active
| eli cobalt 34 pending
farah amber 42 active
farah cobalt 7 pending
alice cobalt 100 ready
farah amber 12 active
alice fable 51 closed
bruno ember 115 active
| substitute_first | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013355 | Print only the block from the line containing harbor through the line containing delta, inclusive. | sed -n /harbor/,/delta/p | dina grove 68 failed
farah birch 37 failed
bruno cobalt 36 closed
farah birch 75 pending
hana birch 38 active
hana harbor 65 failed
hana grove 81 active
dina ember 46 failed
alice delta 60 closed
| hana harbor 65 failed
hana grove 81 active
dina ember 46 failed
alice delta 60 closed
| alice delta 42 ready
eli ember 49 active
gus harbor 91 active
eli harbor 9 pending
dina cobalt 1 ready
farah ember 30 pending
hana cobalt 9 active
| gus harbor 91 active
eli harbor 9 pending
dina cobalt 1 ready
farah ember 30 pending
hana cobalt 9 active
| print_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013360 | Remove the last character from every line. | sed 's/.$//' | farah cobalt 111 failed
alice harbor 72 failed
gus cobalt 110 pending
bruno birch 6 pending
gus ember 8 failed
gus cobalt 97 ready
| farah cobalt 111 faile
alice harbor 72 faile
gus cobalt 110 pendin
bruno birch 6 pendin
gus ember 8 faile
gus cobalt 97 read
| chen fable 43 pending
alice harbor 14 active
dina ember 17 pending
hana grove 97 ready
alice birch 48 closed
alice amber 19 pending
eli harbor 23 failed
hana cobalt 77 active
| chen fable 43 pendin
alice harbor 14 activ
dina ember 17 pendin
hana grove 97 read
alice birch 48 close
alice amber 19 pendin
eli harbor 23 faile
hana cobalt 77 activ
| delete_last_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013358 | Print each input line's number, without printing the line contents. | sed = | gus harbor 77 failed
eli grove 68 closed
eli ember 81 ready
bruno ember 45 pending
bruno fable 5 active
chen amber 4 active
bruno fable 76 pending
hana birch 14 pending
| 1
gus harbor 77 failed
2
eli grove 68 closed
3
eli ember 81 ready
4
bruno ember 45 pending
5
bruno fable 5 active
6
chen amber 4 active
7
bruno fable 76 pending
8
hana birch 14 pending
| chen amber 56 active
gus birch 64 active
eli delta 112 closed
dina delta 41 pending
bruno cobalt 37 failed
hana amber 43 failed
eli amber 17 pending
farah birch 101 closed
| 1
chen amber 56 active
2
gus birch 64 active
3
eli delta 112 closed
4
dina delta 41 pending
5
bruno cobalt 37 failed
6
hana amber 43 failed
7
eli amber 17 pending
8
farah birch 101 closed
| number_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013350 | Append a space and reviewed to the end of every line. | sed 's/$/ reviewed/' | bruno fable 85 closed
bruno grove 64 failed
hana cobalt 107 active
hana harbor 101 ready
chen ember 73 closed
gus harbor 102 pending
alice grove 117 ready
| bruno fable 85 closed reviewed
bruno grove 64 failed reviewed
hana cobalt 107 active reviewed
hana harbor 101 ready reviewed
chen ember 73 closed reviewed
gus harbor 102 pending reviewed
alice grove 117 ready reviewed
| farah grove 16 failed
chen amber 115 closed
bruno harbor 82 ready
farah birch 67 ready
hana grove 70 failed
eli harbor 98 closed
chen ember 26 ready
| farah grove 16 failed reviewed
chen amber 115 closed reviewed
bruno harbor 82 ready reviewed
farah birch 67 ready reviewed
hana grove 70 failed reviewed
eli harbor 98 closed reviewed
chen ember 26 ready reviewed
| add_suffix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013365 | Print only lines containing closed; suppress all others. | sed -n /closed/p | dina birch 21 pending
alice birch 54 pending
chen grove 93 failed
eli grove 0 closed
farah harbor 14 closed
bruno harbor 6 ready
dina ember 3 pending
| eli grove 0 closed
farah harbor 14 closed
| bruno delta 12 failed
farah amber 104 closed
farah ember 90 pending
alice delta 6 pending
farah fable 63 pending
farah ember 80 pending
hana ember 22 ready
gus harbor 8 pending
bruno delta 23 active
| farah amber 104 closed
| regex_print | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013367 | Delete lines 3 through 4, leaving all other lines unchanged. | sed 3,4d | gus grove 114 ready
eli amber 16 ready
bruno harbor 58 closed
gus delta 72 ready
alice fable 58 failed
alice grove 59 closed
| gus grove 114 ready
eli amber 16 ready
alice fable 58 failed
alice grove 59 closed
| farah amber 99 ready
bruno harbor 21 closed
gus birch 25 ready
eli harbor 38 closed
gus birch 21 ready
dina delta 44 failed
dina fable 115 active
hana grove 70 pending
| farah amber 99 ready
bruno harbor 21 closed
gus birch 21 ready
dina delta 44 failed
dina fable 115 active
hana grove 70 pending
| delete_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013356 | 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-0013359 | Remove the first character from every line. | sed 's/^.//' | dina cobalt 1 pending
chen amber 90 active
alice ember 92 closed
bruno ember 22 closed
eli delta 26 ready
bruno harbor 98 ready
gus ember 110 active
eli amber 75 failed
| ina cobalt 1 pending
hen amber 90 active
lice ember 92 closed
runo ember 22 closed
li delta 26 ready
runo harbor 98 ready
us ember 110 active
li amber 75 failed
| dina cobalt 8 failed
dina amber 72 pending
alice birch 107 pending
gus fable 24 failed
farah birch 102 failed
dina ember 5 closed
farah fable 34 failed
| ina cobalt 8 failed
ina amber 72 pending
lice birch 107 pending
us fable 24 failed
arah birch 102 failed
ina ember 5 closed
arah fable 34 failed
| delete_first_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013368 | Print only the first 2 lines. | sed -n 1,2p | farah amber 96 ready
eli birch 23 ready
bruno delta 37 ready
eli cobalt 46 active
dina fable 100 active
gus ember 49 failed
chen grove 26 failed
| farah amber 96 ready
eli birch 23 ready
| farah ember 43 active
hana amber 81 closed
farah birch 77 closed
bruno amber 101 ready
dina fable 73 closed
dina ember 53 closed
hana birch 78 failed
| farah ember 43 active
hana amber 81 closed
| first_n | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013366 | Print lines 3 through 5, inclusive, and nothing else. | sed -n 3,5p | farah amber 8 pending
alice harbor 16 pending
dina cobalt 69 active
gus harbor 61 closed
gus ember 57 closed
bruno delta 56 failed
eli harbor 17 failed
alice cobalt 31 closed
| dina cobalt 69 active
gus harbor 61 closed
gus ember 57 closed
| alice amber 97 pending
alice birch 20 failed
dina grove 107 ready
eli cobalt 18 pending
chen harbor 19 active
bruno birch 19 closed
| dina grove 107 ready
eli cobalt 18 pending
chen harbor 19 active
| line_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013361 | Print only the second comma-separated field from each line. | sed 's/[^,]*,\([^,]*\).*/\1/' | dina,fable,119,closed
dina,birch,60,closed
eli,amber,59,ready
alice,ember,117,failed
chen,amber,21,pending
farah,birch,40,active
farah,fable,32,closed
| fable
birch
amber
ember
amber
birch
fable
| gus,grove,119,ready
bruno,harbor,6,pending
alice,harbor,78,active
dina,fable,48,pending
farah,harbor,8,pending
hana,grove,76,failed
| grove
harbor
harbor
fable
harbor
grove
| extract_second_csv | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013364 | Delete every line containing pending. | sed /pending/d | bruno grove 75 active
chen amber 23 pending
alice harbor 109 closed
chen fable 81 closed
chen grove 46 closed
alice ember 26 closed
farah birch 62 failed
dina cobalt 68 closed
| bruno grove 75 active
alice harbor 109 closed
chen fable 81 closed
chen grove 46 closed
alice ember 26 closed
farah birch 62 failed
dina cobalt 68 closed
| hana amber 48 failed
chen harbor 119 active
farah birch 102 failed
chen cobalt 63 failed
farah harbor 24 pending
bruno fable 75 failed
eli ember 1 pending
bruno delta 100 ready
| hana amber 48 failed
chen harbor 119 active
farah birch 102 failed
chen cobalt 63 failed
bruno fable 75 failed
bruno delta 100 ready
| regex_delete | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013369 | Print only the last line of the input. | sed -n '$p' | farah delta 66 failed
chen birch 6 active
dina ember 64 pending
eli fable 12 active
eli ember 15 failed
bruno delta 73 closed
| bruno delta 73 closed
| eli cobalt 81 closed
alice ember 12 failed
bruno cobalt 50 closed
hana fable 42 ready
gus grove 86 failed
gus delta 13 pending
| gus delta 13 pending
| last_line | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013371 | Print odd-numbered lines: lines 1, 3, 5, and so on. | sed -n '0~2p' | chen harbor 97 ready
farah amber 46 failed
bruno amber 35 failed
alice delta 63 closed
dina delta 93 closed
chen fable 35 closed
alice ember 91 pending
bruno delta 69 failed
dina delta 89 ready
| farah amber 46 failed
alice delta 63 closed
chen fable 35 closed
bruno delta 69 failed
| bruno birch 83 failed
dina harbor 38 pending
hana fable 66 pending
chen ember 9 pending
eli delta 90 failed
bruno fable 26 closed
alice delta 14 pending
| dina harbor 38 pending
chen ember 9 pending
bruno fable 26 closed
| every_other | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013374 | Replace every full line containing pending with the single line follow_up. | sed '/pending/c follow_up' | bruno amber 57 active
bruno birch 65 closed
chen grove 46 pending
hana harbor 55 closed
chen amber 104 active
bruno birch 37 ready
gus grove 6 ready
chen grove 38 pending
hana amber 80 active
| bruno amber 57 active
bruno birch 65 closed
follow_up
hana harbor 55 closed
chen amber 104 active
bruno birch 37 ready
gus grove 6 ready
follow_up
hana amber 80 active
| farah fable 56 failed
alice amber 104 failed
dina amber 81 ready
dina harbor 47 pending
chen harbor 85 closed
alice cobalt 105 failed
chen fable 53 active
| farah fable 56 failed
alice amber 104 failed
dina amber 81 ready
follow_up
chen harbor 85 closed
alice cobalt 105 failed
chen fable 53 active
| change_line | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013370 | Delete the last line of the input and print all remaining lines. | sed '$d' | eli grove 49 ready
dina fable 83 failed
eli fable 18 closed
gus delta 89 failed
bruno amber 66 closed
bruno grove 85 failed
gus amber 117 closed
| eli grove 49 ready
dina fable 83 failed
eli fable 18 closed
gus delta 89 failed
bruno amber 66 closed
bruno grove 85 failed
| bruno ember 79 closed
chen fable 26 failed
eli cobalt 40 failed
bruno cobalt 67 failed
chen grove 73 failed
hana birch 26 active
farah cobalt 23 closed
| bruno ember 79 closed
chen fable 26 failed
eli cobalt 40 failed
bruno cobalt 67 failed
chen grove 73 failed
hana birch 26 active
| delete_last | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013363 | Replace every occurrence of amber with cobalt throughout the input. | sed s/amber/cobalt/g | dina harbor 38 active
hana harbor 118 closed
bruno ember 93 failed
hana amber 117 active
hana amber 110 active
hana delta 55 active
dina delta 9 active
farah delta 0 failed
| dina harbor 38 active
hana harbor 118 closed
bruno ember 93 failed
hana cobalt 117 active
hana cobalt 110 active
hana delta 55 active
dina delta 9 active
farah delta 0 failed
| hana grove 20 failed
farah ember 6 active
eli amber 108 ready
bruno amber 23 active
gus amber 117 active
chen fable 26 ready
chen harbor 43 active
chen cobalt 108 active
| hana grove 20 failed
farah ember 6 active
eli cobalt 108 ready
bruno cobalt 23 active
gus cobalt 117 active
chen fable 26 ready
chen harbor 43 active
chen cobalt 108 active
| substitute_global | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013372 | Append the line follow_up immediately after every line containing pending. | sed '/pending/a follow_up' | chen delta 69 active
hana ember 77 active
bruno cobalt 65 active
gus delta 54 closed
bruno birch 20 active
chen fable 25 active
| chen delta 69 active
hana ember 77 active
bruno cobalt 65 active
gus delta 54 closed
bruno birch 20 active
chen fable 25 active
| farah fable 57 pending
hana cobalt 56 failed
bruno amber 84 failed
dina delta 116 ready
eli amber 1 failed
alice cobalt 67 pending
dina fable 33 closed
eli amber 21 closed
hana ember 118 active
| farah fable 57 pending
follow_up
hana cobalt 56 failed
bruno amber 84 failed
dina delta 116 ready
eli amber 1 failed
alice cobalt 67 pending
follow_up
dina fable 33 closed
eli amber 21 closed
hana ember 118 active
| append_after | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013375 | Delete all empty lines while preserving every nonempty line. | sed '/^$/d' | alice birch 118 pending
gus birch 111 failed
bruno birch 34 ready
hana birch 52 active
dina cobalt 114 failed
chen delta 66 ready
| alice birch 118 pending
gus birch 111 failed
bruno birch 34 ready
hana birch 52 active
dina cobalt 114 failed
chen delta 66 ready
| gus fable 46 ready
chen fable 44 ready
hana fable 17 ready
dina ember 71 closed
eli grove 116 closed
farah amber 2 active
dina cobalt 29 ready
chen ember 30 ready
| gus fable 46 ready
chen fable 44 ready
hana fable 17 ready
dina ember 71 closed
eli grove 116 closed
farah amber 2 active
dina cobalt 29 ready
chen ember 30 ready
| delete_blank | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013373 | Insert the line follow_up immediately before every line containing pending. | sed '/pending/i follow_up' | alice ember 38 active
bruno amber 89 ready
chen fable 0 failed
alice harbor 15 closed
dina ember 28 closed
farah harbor 56 pending
| alice ember 38 active
bruno amber 89 ready
chen fable 0 failed
alice harbor 15 closed
dina ember 28 closed
follow_up
farah harbor 56 pending
| alice grove 111 closed
alice delta 66 ready
farah ember 73 failed
eli grove 49 active
bruno harbor 61 pending
bruno ember 114 failed
| alice grove 111 closed
alice delta 66 ready
farah ember 73 failed
eli grove 49 active
follow_up
bruno harbor 61 pending
bruno ember 114 failed
| insert_before | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013380 | Convert every input line to lowercase. | sed 's/.*/\L&/' | gus delta 69 active
gus harbor 107 active
chen ember 92 active
farah ember 20 failed
bruno amber 112 ready
chen grove 51 closed
alice birch 1 ready
chen grove 57 active
chen amber 93 active
| gus delta 69 active
gus harbor 107 active
chen ember 92 active
farah ember 20 failed
bruno amber 112 ready
chen grove 51 closed
alice birch 1 ready
chen grove 57 active
chen amber 93 active
| gus delta 25 active
hana birch 53 ready
hana birch 120 ready
alice grove 61 ready
dina amber 36 pending
alice birch 55 active
| gus delta 25 active
hana birch 53 ready
hana birch 120 ready
alice grove 61 ready
dina amber 36 pending
alice birch 55 active
| lowercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013377 | Remove all trailing spaces and tabs from each line. | sed 's/[ \t]*$//' | chen cobalt 24 ready
eli amber 104 failed
hana birch 55 ready
eli amber 118 active
gus harbor 39 ready
gus harbor 32 ready
| chen cobalt 24 ready
eli amber 104 failed
hana birch 55 ready
eli amber 118 active
gus harbor 39 ready
gus harbor 32 ready
| bruno delta 93 active
bruno harbor 89 closed
chen amber 41 failed
gus amber 21 pending
alice birch 41 pending
gus fable 85 pending
chen amber 80 pending
| bruno delta 93 active
bruno harbor 89 closed
chen amber 41 failed
gus amber 21 pending
alice birch 41 pending
gus fable 85 pending
chen amber 80 pending
| strip_trailing | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013381 | Swap the first two whitespace-separated fields on every line. | sed 's/\([^ ]*\) \([^ ]*\)/\2 \1/' | hana fable 70 failed
chen harbor 6 failed
alice birch 90 failed
eli birch 6 failed
chen birch 64 failed
hana ember 93 closed
| fable hana 70 failed
harbor chen 6 failed
birch alice 90 failed
birch eli 6 failed
birch chen 64 failed
ember hana 93 closed
| hana fable 48 ready
chen amber 70 active
eli cobalt 72 pending
chen birch 51 closed
chen cobalt 19 closed
farah amber 42 failed
hana ember 52 pending
hana ember 0 failed
| fable hana 48 ready
amber chen 70 active
cobalt eli 72 pending
birch chen 51 closed
cobalt chen 19 closed
amber farah 42 failed
ember hana 52 pending
ember hana 0 failed
| swap_fields | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013382 | Replace every comma with a tab character. | sed 's/,/\t/g' | farah,fable,112,ready
gus,birch,119,pending
farah,harbor,82,closed
hana,harbor,31,failed
bruno,amber,24,pending
bruno,birch,103,ready
eli,ember,34,closed
dina,birch,98,closed
bruno,birch,105,active
| farah fable 112 ready
gus birch 119 pending
farah harbor 82 closed
hana harbor 31 failed
bruno amber 24 pending
bruno birch 103 ready
eli ember 34 closed
dina birch 98 closed
bruno birch 105 active
| chen,delta,64,failed
hana,ember,107,pending
alice,ember,111,pending
bruno,ember,8,pending
hana,delta,100,failed
alice,fable,25,active
| chen delta 64 failed
hana ember 107 pending
alice ember 111 pending
bruno ember 8 pending
hana delta 100 failed
alice fable 25 active
| comma_to_tab | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013379 | Convert every input line to uppercase. | sed 's/.*/\U&/' | alice cobalt 42 ready
bruno cobalt 34 ready
farah amber 25 ready
chen grove 21 active
alice fable 52 failed
chen grove 20 failed
farah birch 32 failed
dina amber 119 active
| ALICE COBALT 42 READY
BRUNO COBALT 34 READY
FARAH AMBER 25 READY
CHEN GROVE 21 ACTIVE
ALICE FABLE 52 FAILED
CHEN GROVE 20 FAILED
FARAH BIRCH 32 FAILED
DINA AMBER 119 ACTIVE
| alice grove 51 active
bruno harbor 52 active
alice birch 109 pending
farah harbor 63 closed
alice delta 12 pending
alice grove 37 failed
chen ember 45 pending
eli grove 36 closed
gus fable 21 closed
| ALICE GROVE 51 ACTIVE
BRUNO HARBOR 52 ACTIVE
ALICE BIRCH 109 PENDING
FARAH HARBOR 63 CLOSED
ALICE DELTA 12 PENDING
ALICE GROVE 37 FAILED
CHEN EMBER 45 PENDING
ELI GROVE 36 CLOSED
GUS FABLE 21 CLOSED
| uppercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013376 | Remove all leading spaces and tabs from each line. | sed 's/^[ \t]*//' | bruno harbor 85 active
farah birch 59 failed
gus delta 64 ready
farah delta 95 ready
hana delta 2 failed
gus cobalt 73 ready
chen fable 89 failed
alice ember 40 failed
dina grove 78 closed
| bruno harbor 85 active
farah birch 59 failed
gus delta 64 ready
farah delta 95 ready
hana delta 2 failed
gus cobalt 73 ready
chen fable 89 failed
alice ember 40 failed
dina grove 78 closed
| dina grove 110 pending
hana grove 41 failed
dina birch 60 active
eli cobalt 101 pending
dina ember 112 pending
farah grove 36 ready
chen ember 73 pending
| dina grove 110 pending
hana grove 41 failed
dina birch 60 active
eli cobalt 101 pending
dina ember 112 pending
farah grove 36 ready
chen ember 73 pending
| strip_leading | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013378 | Collapse every run of spaces or tabs to a single space. | sed 's/[ \t]+/ /g' | hana cobalt 0 active
hana ember 113 pending
hana delta 40 failed
farah birch 83 closed
gus birch 75 pending
chen amber 3 failed
chen harbor 34 failed
gus ember 78 failed
bruno fable 3 pending
| hana cobalt 0 active
hana ember 113 pending
hana delta 40 failed
farah birch 83 closed
gus birch 75 pending
chen amber 3 failed
chen harbor 34 failed
gus ember 78 failed
bruno fable 3 pending
| hana delta 53 active
dina grove 74 closed
eli grove 59 closed
hana fable 1 pending
gus fable 7 failed
chen delta 14 failed
eli grove 3 pending
gus harbor 78 ready
| hana delta 53 active
dina grove 74 closed
eli grove 59 closed
hana fable 1 pending
gus fable 7 failed
chen delta 14 failed
eli grove 3 pending
gus harbor 78 ready
| collapse_space | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013385 | Comment out every input line by adding # and a space at the start. | sed 's/^/# /' | farah grove 61 pending
eli fable 115 active
alice cobalt 101 pending
alice harbor 8 closed
chen fable 0 closed
chen amber 22 ready
eli harbor 32 closed
eli ember 81 closed
| # farah grove 61 pending
# eli fable 115 active
# alice cobalt 101 pending
# alice harbor 8 closed
# chen fable 0 closed
# chen amber 22 ready
# eli harbor 32 closed
# eli ember 81 closed
| alice ember 77 failed
hana harbor 67 failed
eli birch 20 pending
alice birch 85 pending
eli birch 106 closed
dina amber 107 pending
hana birch 59 active
dina ember 84 failed
dina cobalt 4 failed
| # alice ember 77 failed
# hana harbor 67 failed
# eli birch 20 pending
# alice birch 85 pending
# eli birch 106 closed
# dina amber 107 pending
# hana birch 59 active
# dina ember 84 failed
# dina cobalt 4 failed
| comment_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013389 | Print only the block from the line containing delta through the line containing ember, inclusive. | sed -n /delta/,/ember/p | chen amber 67 active
farah birch 43 active
alice ember 69 pending
farah birch 107 failed
alice delta 80 active
eli birch 20 pending
alice amber 50 active
| alice delta 80 active
eli birch 20 pending
alice amber 50 active
| chen amber 28 active
bruno delta 67 closed
chen harbor 41 failed
chen delta 22 pending
alice delta 33 failed
bruno grove 15 failed
dina amber 80 active
| bruno delta 67 closed
chen harbor 41 failed
chen delta 22 pending
alice delta 33 failed
bruno grove 15 failed
dina amber 80 active
| print_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013388 | Delete everything from the line containing birch through the line containing ember, inclusive. | sed /birch/,/ember/d | gus cobalt 61 closed
dina cobalt 14 ready
eli harbor 104 closed
eli ember 58 pending
alice amber 48 failed
dina grove 119 closed
| gus cobalt 61 closed
dina cobalt 14 ready
eli harbor 104 closed
eli ember 58 pending
alice amber 48 failed
dina grove 119 closed
| bruno amber 64 active
hana cobalt 73 pending
hana delta 94 closed
alice grove 56 closed
bruno grove 24 pending
eli grove 99 active
farah fable 37 ready
gus grove 44 closed
eli cobalt 43 closed
| bruno amber 64 active
hana cobalt 73 pending
hana delta 94 closed
alice grove 56 closed
bruno grove 24 pending
eli grove 99 active
farah fable 37 ready
gus grove 44 closed
eli cobalt 43 closed
| delete_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013384 | Append a space and reviewed to the end of every line. | sed 's/$/ reviewed/' | farah birch 75 ready
eli ember 33 failed
eli cobalt 53 ready
hana fable 34 ready
dina birch 86 pending
chen delta 34 pending
chen cobalt 77 pending
| farah birch 75 ready reviewed
eli ember 33 failed reviewed
eli cobalt 53 ready reviewed
hana fable 34 ready reviewed
dina birch 86 pending reviewed
chen delta 34 pending reviewed
chen cobalt 77 pending reviewed
| alice cobalt 98 failed
hana grove 46 ready
chen delta 55 active
gus fable 68 pending
hana birch 26 ready
alice cobalt 34 failed
eli delta 3 ready
hana delta 8 pending
farah ember 50 failed
| alice cobalt 98 failed reviewed
hana grove 46 ready reviewed
chen delta 55 active reviewed
gus fable 68 pending reviewed
hana birch 26 ready reviewed
alice cobalt 34 failed reviewed
eli delta 3 ready reviewed
hana delta 8 pending reviewed
farah ember 50 failed reviewed
| add_suffix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013387 | Print only the first 4 characters of each line. | sed 's/^\(.\{4\}\).*/\1/' | farah cobalt 32 ready
dina fable 100 pending
gus birch 0 failed
bruno delta 15 closed
gus delta 12 ready
gus delta 90 active
| fara
dina
gus
brun
gus
gus
| hana ember 113 pending
alice delta 115 ready
alice fable 73 pending
alice ember 29 failed
bruno delta 6 active
eli delta 95 closed
hana grove 12 pending
alice harbor 15 active
gus ember 41 failed
| hana
alic
alic
alic
brun
eli
hana
alic
gus
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013386 | Delete all lines beginning with #. | sed '/^#/d' | eli harbor 15 ready
# note
bruno grove 3 active
farah amber 23 failed
hana cobalt 115 pending
eli grove 3 ready
eli ember 111 pending
chen ember 11 active
hana fable 54 ready
chen delta 92 ready
| eli harbor 15 ready
bruno grove 3 active
farah amber 23 failed
hana cobalt 115 pending
eli grove 3 ready
eli ember 111 pending
chen ember 11 active
hana fable 54 ready
chen delta 92 ready
| eli fable 33 pending
# note
dina delta 16 closed
chen birch 69 active
bruno ember 51 closed
chen harbor 68 failed
dina grove 84 failed
gus fable 113 ready
hana harbor 99 closed
| eli fable 33 pending
dina delta 16 closed
chen birch 69 active
bruno ember 51 closed
chen harbor 68 failed
dina grove 84 failed
gus fable 113 ready
hana harbor 99 closed
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013383 | Add the prefix notice followed by a space to the start of every line. | sed 's/^/notice /' | bruno amber 102 closed
bruno amber 102 active
eli ember 119 closed
chen ember 0 closed
bruno birch 114 active
gus birch 33 active
eli ember 118 ready
| notice bruno amber 102 closed
notice bruno amber 102 active
notice eli ember 119 closed
notice chen ember 0 closed
notice bruno birch 114 active
notice gus birch 33 active
notice eli ember 118 ready
| alice grove 7 pending
alice cobalt 48 failed
alice birch 74 ready
hana grove 43 closed
bruno ember 91 failed
eli birch 10 active
bruno grove 12 closed
farah cobalt 74 failed
gus delta 94 active
| notice alice grove 7 pending
notice alice cobalt 48 failed
notice alice birch 74 ready
notice hana grove 43 closed
notice bruno ember 91 failed
notice eli birch 10 active
notice bruno grove 12 closed
notice farah cobalt 74 failed
notice gus delta 94 active
| add_prefix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013403 | Print only the last line of the input. | sed -n '$p' | bruno delta 87 failed
hana harbor 46 failed
farah fable 28 pending
eli harbor 98 closed
alice amber 117 pending
chen cobalt 98 active
alice cobalt 98 ready
dina birch 120 active
hana cobalt 3 pending
| hana cobalt 3 pending
| eli fable 55 ready
hana fable 9 active
dina cobalt 53 closed
hana fable 49 active
alice delta 74 closed
gus fable 73 ready
| gus fable 73 ready
| last_line | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013405 | Print odd-numbered lines: lines 1, 3, 5, and so on. | sed -n '0~2p' | dina birch 8 failed
bruno delta 30 ready
bruno grove 6 ready
hana cobalt 105 closed
farah grove 93 active
eli harbor 104 active
| bruno delta 30 ready
hana cobalt 105 closed
eli harbor 104 active
| gus amber 68 pending
chen delta 19 active
chen ember 74 pending
farah grove 19 ready
gus fable 107 active
alice amber 17 ready
| chen delta 19 active
farah grove 19 ready
alice amber 17 ready
| every_other | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013400 | Print lines 3 through 5, inclusive, and nothing else. | sed -n 3,5p | eli amber 0 failed
eli delta 112 failed
gus grove 79 pending
gus cobalt 93 failed
hana amber 78 closed
chen delta 68 closed
hana fable 71 ready
| gus grove 79 pending
gus cobalt 93 failed
hana amber 78 closed
| gus delta 14 ready
hana harbor 119 failed
alice birch 11 ready
farah fable 17 closed
chen cobalt 74 ready
dina cobalt 30 failed
dina grove 28 ready
farah ember 75 ready
| alice birch 11 ready
farah fable 17 closed
chen cobalt 74 ready
| line_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013401 | Delete lines 4 through 6, leaving all other lines unchanged. | sed 4,6d | alice ember 67 ready
dina birch 40 failed
eli fable 64 ready
alice ember 85 ready
alice ember 111 active
gus cobalt 84 closed
hana harbor 28 ready
| alice ember 67 ready
dina birch 40 failed
eli fable 64 ready
hana harbor 28 ready
| dina ember 105 closed
alice harbor 58 closed
dina grove 92 active
farah fable 53 failed
gus birch 84 pending
eli grove 61 active
chen cobalt 4 pending
eli grove 74 ready
dina fable 39 failed
| dina ember 105 closed
alice harbor 58 closed
dina grove 92 active
chen cobalt 4 pending
eli grove 74 ready
dina fable 39 failed
| delete_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013402 | Print only the first 3 lines. | sed -n 1,3p | chen amber 52 active
dina amber 87 pending
hana cobalt 44 active
chen grove 92 closed
alice grove 114 ready
bruno delta 47 pending
farah birch 104 pending
farah cobalt 112 closed
| chen amber 52 active
dina amber 87 pending
hana cobalt 44 active
| farah grove 43 active
bruno grove 104 pending
alice amber 65 active
dina ember 41 pending
alice grove 76 closed
chen fable 68 ready
eli harbor 93 failed
hana cobalt 7 active
| farah grove 43 active
bruno grove 104 pending
alice amber 65 active
| first_n | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013404 | Delete the last line of the input and print all remaining lines. | sed '$d' | hana birch 28 ready
hana amber 2 closed
chen ember 117 failed
bruno amber 88 closed
bruno birch 100 ready
chen birch 78 active
farah amber 90 ready
| hana birch 28 ready
hana amber 2 closed
chen ember 117 failed
bruno amber 88 closed
bruno birch 100 ready
chen birch 78 active
| dina amber 39 active
farah amber 73 failed
chen grove 83 failed
alice fable 64 closed
eli harbor 109 active
farah harbor 41 ready
gus fable 47 active
| dina amber 39 active
farah amber 73 failed
chen grove 83 failed
alice fable 64 closed
eli harbor 109 active
farah harbor 41 ready
| delete_last | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013407 | Insert the line follow_up immediately before every line containing active. | sed '/active/i follow_up' | bruno harbor 56 active
gus harbor 96 closed
dina harbor 78 ready
chen ember 98 failed
farah delta 0 failed
bruno harbor 3 active
alice birch 46 closed
farah grove 90 closed
| follow_up
bruno harbor 56 active
gus harbor 96 closed
dina harbor 78 ready
chen ember 98 failed
farah delta 0 failed
follow_up
bruno harbor 3 active
alice birch 46 closed
farah grove 90 closed
| dina birch 105 pending
bruno grove 19 active
alice fable 68 active
farah amber 24 pending
gus fable 115 ready
bruno harbor 46 pending
| dina birch 105 pending
follow_up
bruno grove 19 active
follow_up
alice fable 68 active
farah amber 24 pending
gus fable 115 ready
bruno harbor 46 pending
| insert_before | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013406 | Append the line reviewed immediately after every line containing failed. | sed '/failed/a reviewed' | hana harbor 72 ready
dina grove 71 active
chen delta 50 closed
gus birch 118 ready
dina birch 64 pending
hana ember 113 ready
dina cobalt 48 pending
eli cobalt 87 pending
dina delta 27 pending
| hana harbor 72 ready
dina grove 71 active
chen delta 50 closed
gus birch 118 ready
dina birch 64 pending
hana ember 113 ready
dina cobalt 48 pending
eli cobalt 87 pending
dina delta 27 pending
| hana delta 48 active
chen grove 24 active
hana birch 89 active
farah fable 75 active
bruno harbor 31 pending
farah harbor 103 active
farah cobalt 43 failed
dina ember 74 closed
alice ember 96 active
| hana delta 48 active
chen grove 24 active
hana birch 89 active
farah fable 75 active
bruno harbor 31 pending
farah harbor 103 active
farah cobalt 43 failed
reviewed
dina ember 74 closed
alice ember 96 active
| append_after | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013411 | Remove all trailing spaces and tabs from each line. | sed 's/[ \t]*$//' | farah amber 93 failed
eli amber 4 failed
hana grove 119 ready
alice ember 35 closed
alice grove 107 active
bruno birch 49 ready
chen harbor 89 closed
| farah amber 93 failed
eli amber 4 failed
hana grove 119 ready
alice ember 35 closed
alice grove 107 active
bruno birch 49 ready
chen harbor 89 closed
| bruno harbor 10 failed
hana cobalt 56 pending
alice ember 58 ready
hana amber 118 pending
chen birch 24 active
dina cobalt 32 closed
| bruno harbor 10 failed
hana cobalt 56 pending
alice ember 58 ready
hana amber 118 pending
chen birch 24 active
dina cobalt 32 closed
| strip_trailing | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013414 | Convert every input line to lowercase. | sed 's/.*/\L&/' | bruno delta 43 closed
alice grove 39 ready
bruno harbor 62 ready
dina amber 101 closed
eli harbor 79 pending
bruno birch 84 ready
| bruno delta 43 closed
alice grove 39 ready
bruno harbor 62 ready
dina amber 101 closed
eli harbor 79 pending
bruno birch 84 ready
| farah harbor 72 failed
bruno grove 18 closed
eli fable 85 closed
gus amber 91 active
farah delta 37 closed
farah fable 7 pending
gus birch 8 closed
| farah harbor 72 failed
bruno grove 18 closed
eli fable 85 closed
gus amber 91 active
farah delta 37 closed
farah fable 7 pending
gus birch 8 closed
| lowercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013410 | Remove all leading spaces and tabs from each line. | sed 's/^[ \t]*//' | eli delta 17 ready
farah birch 18 ready
hana ember 71 ready
bruno ember 79 ready
eli fable 76 closed
hana cobalt 112 ready
gus grove 119 active
| eli delta 17 ready
farah birch 18 ready
hana ember 71 ready
bruno ember 79 ready
eli fable 76 closed
hana cobalt 112 ready
gus grove 119 active
| chen ember 9 active
hana amber 19 pending
farah delta 16 failed
dina harbor 52 closed
farah harbor 36 closed
farah fable 72 closed
chen delta 90 ready
chen grove 88 pending
gus grove 58 closed
| chen ember 9 active
hana amber 19 pending
farah delta 16 failed
dina harbor 52 closed
farah harbor 36 closed
farah fable 72 closed
chen delta 90 ready
chen grove 88 pending
gus grove 58 closed
| strip_leading | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013413 | Convert every input line to uppercase. | sed 's/.*/\U&/' | bruno fable 57 ready
bruno delta 112 active
alice fable 23 ready
farah amber 52 ready
gus grove 110 ready
alice amber 38 ready
alice amber 31 active
dina fable 15 ready
alice amber 97 closed
| BRUNO FABLE 57 READY
BRUNO DELTA 112 ACTIVE
ALICE FABLE 23 READY
FARAH AMBER 52 READY
GUS GROVE 110 READY
ALICE AMBER 38 READY
ALICE AMBER 31 ACTIVE
DINA FABLE 15 READY
ALICE AMBER 97 CLOSED
| dina delta 59 active
gus birch 47 pending
bruno birch 119 pending
eli ember 30 closed
hana birch 13 closed
dina cobalt 96 closed
gus fable 66 pending
dina amber 80 closed
alice harbor 80 closed
| DINA DELTA 59 ACTIVE
GUS BIRCH 47 PENDING
BRUNO BIRCH 119 PENDING
ELI EMBER 30 CLOSED
HANA BIRCH 13 CLOSED
DINA COBALT 96 CLOSED
GUS FABLE 66 PENDING
DINA AMBER 80 CLOSED
ALICE HARBOR 80 CLOSED
| uppercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013412 | Collapse every run of spaces or tabs to a single space. | sed 's/[ \t]+/ /g' | eli cobalt 113 closed
hana fable 91 closed
bruno delta 97 ready
chen harbor 33 ready
farah fable 70 closed
alice ember 55 active
hana harbor 39 failed
| eli cobalt 113 closed
hana fable 91 closed
bruno delta 97 ready
chen harbor 33 ready
farah fable 70 closed
alice ember 55 active
hana harbor 39 failed
| dina harbor 96 closed
bruno fable 79 pending
eli ember 88 active
farah amber 69 failed
dina amber 108 closed
alice harbor 113 ready
alice harbor 15 pending
dina harbor 40 closed
| dina harbor 96 closed
bruno fable 79 pending
eli ember 88 active
farah amber 69 failed
dina amber 108 closed
alice harbor 113 ready
alice harbor 15 pending
dina harbor 40 closed
| collapse_space | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013409 | Delete all empty lines while preserving every nonempty line. | sed '/^$/d' | bruno amber 58 ready
farah delta 106 pending
farah birch 95 ready
alice amber 44 closed
chen harbor 66 ready
hana cobalt 14 active
bruno grove 95 failed
farah harbor 44 pending
eli birch 113 closed
| bruno amber 58 ready
farah delta 106 pending
farah birch 95 ready
alice amber 44 closed
chen harbor 66 ready
hana cobalt 14 active
bruno grove 95 failed
farah harbor 44 pending
eli birch 113 closed
| gus amber 89 active
hana delta 120 closed
gus birch 58 ready
bruno harbor 24 closed
chen amber 17 active
eli fable 44 closed
| gus amber 89 active
hana delta 120 closed
gus birch 58 ready
bruno harbor 24 closed
chen amber 17 active
eli fable 44 closed
| delete_blank | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013417 | Add the prefix record followed by a space to the start of every line. | sed 's/^/record /' | alice amber 45 closed
dina harbor 23 closed
chen ember 68 active
bruno amber 22 closed
alice amber 18 failed
dina delta 84 pending
| record alice amber 45 closed
record dina harbor 23 closed
record chen ember 68 active
record bruno amber 22 closed
record alice amber 18 failed
record dina delta 84 pending
| chen harbor 85 failed
chen birch 105 ready
dina fable 55 active
alice birch 85 pending
eli ember 54 failed
dina cobalt 101 closed
dina grove 92 pending
| record chen harbor 85 failed
record chen birch 105 ready
record dina fable 55 active
record alice birch 85 pending
record eli ember 54 failed
record dina cobalt 101 closed
record dina grove 92 pending
| add_prefix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013408 | Replace every full line containing active with the single line follow_up. | sed '/active/c follow_up' | alice harbor 11 active
bruno birch 96 ready
dina cobalt 65 pending
dina harbor 47 pending
eli amber 57 active
gus birch 76 pending
alice grove 17 failed
gus grove 115 active
alice birch 38 active
| follow_up
bruno birch 96 ready
dina cobalt 65 pending
dina harbor 47 pending
follow_up
gus birch 76 pending
alice grove 17 failed
follow_up
follow_up
| eli ember 115 pending
gus amber 37 pending
bruno fable 102 failed
bruno grove 29 pending
farah amber 14 active
hana ember 79 active
| eli ember 115 pending
gus amber 37 pending
bruno fable 102 failed
bruno grove 29 pending
follow_up
follow_up
| change_line | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013416 | Replace every comma with a tab character. | sed 's/,/\t/g' | alice,ember,30,failed
gus,amber,41,pending
farah,delta,55,ready
eli,birch,32,pending
dina,ember,95,failed
chen,ember,9,failed
| alice ember 30 failed
gus amber 41 pending
farah delta 55 ready
eli birch 32 pending
dina ember 95 failed
chen ember 9 failed
| dina,cobalt,76,closed
alice,fable,95,closed
alice,birch,93,ready
farah,cobalt,106,active
chen,delta,120,active
alice,fable,61,closed
chen,fable,65,active
hana,harbor,94,closed
hana,grove,65,pending
| dina cobalt 76 closed
alice fable 95 closed
alice birch 93 ready
farah cobalt 106 active
chen delta 120 active
alice fable 61 closed
chen fable 65 active
hana harbor 94 closed
hana grove 65 pending
| comma_to_tab | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013415 | Swap the first two whitespace-separated fields on every line. | sed 's/\([^ ]*\) \([^ ]*\)/\2 \1/' | chen grove 4 pending
alice harbor 24 active
bruno grove 48 active
gus amber 28 ready
gus ember 103 pending
eli grove 44 closed
hana delta 54 ready
hana grove 50 pending
| grove chen 4 pending
harbor alice 24 active
grove bruno 48 active
amber gus 28 ready
ember gus 103 pending
grove eli 44 closed
delta hana 54 ready
grove hana 50 pending
| farah birch 83 closed
farah fable 94 closed
gus ember 41 failed
hana delta 76 pending
dina cobalt 67 pending
hana delta 22 active
| birch farah 83 closed
fable farah 94 closed
ember gus 41 failed
delta hana 76 pending
cobalt dina 67 pending
delta hana 22 active
| swap_fields | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013421 | Print only the first 3 characters of each line. | sed 's/^\(.\{3\}\).*/\1/' | bruno birch 52 failed
dina fable 1 ready
gus ember 29 failed
gus delta 79 pending
alice delta 78 failed
farah ember 98 active
gus harbor 10 pending
| bru
din
gus
gus
ali
far
gus
| dina grove 29 active
bruno harbor 37 closed
dina fable 43 closed
gus harbor 3 closed
dina grove 97 ready
hana ember 73 active
dina birch 72 failed
eli cobalt 5 failed
eli amber 97 failed
| din
bru
din
gus
din
han
din
eli
eli
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013419 | Comment out every input line by adding # and a space at the start. | sed 's/^/# /' | eli harbor 53 failed
gus delta 59 pending
eli grove 50 closed
bruno birch 55 active
chen grove 95 closed
alice delta 28 failed
| # eli harbor 53 failed
# gus delta 59 pending
# eli grove 50 closed
# bruno birch 55 active
# chen grove 95 closed
# alice delta 28 failed
| dina delta 61 active
farah fable 108 ready
hana birch 110 pending
alice grove 63 closed
farah fable 106 failed
hana fable 41 closed
gus birch 13 active
farah fable 7 active
eli grove 52 ready
| # dina delta 61 active
# farah fable 108 ready
# hana birch 110 pending
# alice grove 63 closed
# farah fable 106 failed
# hana fable 41 closed
# gus birch 13 active
# farah fable 7 active
# eli grove 52 ready
| comment_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013418 | Append a space and done to the end of every line. | sed 's/$/ done/' | gus grove 92 closed
gus cobalt 65 ready
farah amber 73 active
alice fable 54 failed
bruno ember 16 ready
eli cobalt 50 failed
dina delta 52 failed
| gus grove 92 closed done
gus cobalt 65 ready done
farah amber 73 active done
alice fable 54 failed done
bruno ember 16 ready done
eli cobalt 50 failed done
dina delta 52 failed done
| farah fable 66 ready
gus ember 57 failed
gus birch 27 failed
chen cobalt 60 closed
hana birch 116 closed
eli fable 117 closed
| farah fable 66 ready done
gus ember 57 failed done
gus birch 27 failed done
chen cobalt 60 closed done
hana birch 116 closed done
eli fable 117 closed done
| add_suffix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013422 | Delete everything from the line containing fable through the line containing grove, inclusive. | sed /fable/,/grove/d | chen grove 80 active
farah cobalt 80 closed
alice delta 87 ready
bruno amber 40 closed
alice birch 83 failed
dina harbor 63 closed
| chen grove 80 active
farah cobalt 80 closed
alice delta 87 ready
bruno amber 40 closed
alice birch 83 failed
dina harbor 63 closed
| farah harbor 51 pending
dina delta 37 pending
farah delta 14 pending
farah ember 37 failed
gus amber 116 closed
alice birch 46 failed
dina cobalt 104 failed
eli grove 21 ready
chen amber 20 ready
| farah harbor 51 pending
dina delta 37 pending
farah delta 14 pending
farah ember 37 failed
gus amber 116 closed
alice birch 46 failed
dina cobalt 104 failed
eli grove 21 ready
chen amber 20 ready
| delete_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013429 | Print only the second comma-separated field from each line. | sed 's/[^,]*,\([^,]*\).*/\1/' | farah,fable,8,pending
bruno,delta,73,closed
chen,birch,49,active
chen,fable,59,closed
eli,amber,118,closed
alice,cobalt,2,closed
| fable
delta
birch
fable
amber
cobalt
| farah,harbor,73,pending
chen,fable,10,failed
chen,birch,96,pending
chen,fable,91,active
chen,cobalt,53,closed
bruno,cobalt,80,ready
| harbor
fable
birch
fable
cobalt
cobalt
| extract_second_csv | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013427 | Remove the first character from every line. | sed 's/^.//' | gus harbor 77 ready
alice harbor 30 active
gus ember 83 closed
chen grove 98 ready
chen birch 13 pending
gus grove 73 ready
| us harbor 77 ready
lice harbor 30 active
us ember 83 closed
hen grove 98 ready
hen birch 13 pending
us grove 73 ready
| hana delta 58 failed
hana amber 74 closed
eli grove 8 active
alice grove 22 pending
dina harbor 84 active
chen grove 60 ready
| ana delta 58 failed
ana amber 74 closed
li grove 8 active
lice grove 22 pending
ina harbor 84 active
hen grove 60 ready
| delete_first_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013420 | Delete all lines beginning with #. | sed '/^#/d' | eli harbor 113 closed
# note
bruno amber 51 closed
hana cobalt 83 failed
alice harbor 65 failed
hana grove 120 ready
hana cobalt 10 pending
| eli harbor 113 closed
bruno amber 51 closed
hana cobalt 83 failed
alice harbor 65 failed
hana grove 120 ready
hana cobalt 10 pending
| chen delta 28 pending
# note
chen cobalt 52 pending
dina cobalt 59 ready
eli birch 75 ready
hana birch 101 pending
bruno fable 80 active
chen amber 67 failed
eli harbor 65 failed
| chen delta 28 pending
chen cobalt 52 pending
dina cobalt 59 ready
eli birch 75 ready
hana birch 101 pending
bruno fable 80 active
chen amber 67 failed
eli harbor 65 failed
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013430 | Replace the first occurrence of fable with ember on each line. | sed s/fable/ember/ | farah ember 16 failed
dina fable 56 pending
eli amber 62 pending
hana birch 29 active
dina ember 13 failed
farah cobalt 93 failed
eli cobalt 33 pending
bruno grove 92 closed
| farah ember 16 failed
dina ember 56 pending
eli amber 62 pending
hana birch 29 active
dina ember 13 failed
farah cobalt 93 failed
eli cobalt 33 pending
bruno grove 92 closed
| eli grove 3 pending
hana cobalt 30 active
farah birch 31 failed
gus harbor 103 ready
hana cobalt 105 ready
alice cobalt 89 ready
dina fable 40 ready
eli ember 108 ready
eli fable 75 pending
| eli grove 3 pending
hana cobalt 30 active
farah birch 31 failed
gus harbor 103 ready
hana cobalt 105 ready
alice cobalt 89 ready
dina ember 40 ready
eli ember 108 ready
eli ember 75 pending
| substitute_first | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013426 | Print each input line's number, without printing the line contents. | sed = | bruno amber 44 active
chen cobalt 32 closed
eli delta 75 active
farah birch 42 active
farah fable 87 active
eli delta 99 pending
hana amber 74 pending
chen harbor 2 failed
| 1
bruno amber 44 active
2
chen cobalt 32 closed
3
eli delta 75 active
4
farah birch 42 active
5
farah fable 87 active
6
eli delta 99 pending
7
hana amber 74 pending
8
chen harbor 2 failed
| hana harbor 24 pending
bruno delta 54 ready
hana birch 98 closed
chen delta 56 ready
hana cobalt 88 ready
chen cobalt 104 closed
| 1
hana harbor 24 pending
2
bruno delta 54 ready
3
hana birch 98 closed
4
chen delta 56 ready
5
hana cobalt 88 ready
6
chen cobalt 104 closed
| number_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013428 | Remove the last character from every line. | sed 's/.$//' | hana ember 8 closed
hana ember 49 failed
eli delta 54 failed
bruno grove 83 closed
bruno grove 110 ready
chen birch 66 active
farah cobalt 38 closed
| hana ember 8 close
hana ember 49 faile
eli delta 54 faile
bruno grove 83 close
bruno grove 110 read
chen birch 66 activ
farah cobalt 38 close
| dina ember 8 active
eli ember 3 failed
farah amber 70 active
alice ember 4 pending
eli birch 33 failed
bruno grove 1 pending
| dina ember 8 activ
eli ember 3 faile
farah amber 70 activ
alice ember 4 pendin
eli birch 33 faile
bruno grove 1 pendin
| delete_last_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013425 | Replace every sequence of digits with the letter N. | sed 's/[0-9][0-9]*/N/g' | gus amber 18 pending
farah birch 45 ready
chen grove 96 ready
alice birch 4 failed
eli amber 41 active
farah harbor 43 pending
bruno delta 72 ready
gus harbor 3 failed
| gus amber N pending
farah birch N ready
chen grove N ready
alice birch N failed
eli amber N active
farah harbor N pending
bruno delta N ready
gus harbor N failed
| bruno ember 96 active
hana amber 113 active
chen ember 64 active
gus cobalt 41 pending
farah harbor 43 ready
dina delta 62 closed
dina fable 41 ready
chen cobalt 94 active
dina ember 5 active
| bruno ember N active
hana amber N active
chen ember N active
gus cobalt N pending
farah harbor N ready
dina delta N closed
dina fable N ready
chen cobalt N active
dina ember N active
| digits_mask | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013431 | Replace every occurrence of ember with cobalt throughout the input. | sed s/ember/cobalt/g | alice harbor 1 ready
bruno cobalt 70 active
hana delta 18 ready
alice delta 46 failed
eli amber 9 closed
gus delta 115 closed
| alice harbor 1 ready
bruno cobalt 70 active
hana delta 18 ready
alice delta 46 failed
eli amber 9 closed
gus delta 115 closed
| gus harbor 62 ready
eli cobalt 78 ready
gus amber 28 ready
eli birch 51 failed
alice harbor 68 ready
eli amber 111 ready
chen harbor 105 pending
| gus harbor 62 ready
eli cobalt 78 ready
gus amber 28 ready
eli birch 51 failed
alice harbor 68 ready
eli amber 111 ready
chen harbor 105 pending
| substitute_global | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013424 | 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-0013435 | Delete lines 3 through 4, leaving all other lines unchanged. | sed 3,4d | hana amber 80 pending
gus ember 59 ready
alice birch 83 active
chen ember 110 pending
bruno cobalt 114 pending
chen ember 59 pending
dina grove 98 failed
| hana amber 80 pending
gus ember 59 ready
bruno cobalt 114 pending
chen ember 59 pending
dina grove 98 failed
| dina ember 116 ready
chen amber 46 closed
dina grove 108 failed
alice fable 64 ready
dina fable 48 pending
gus harbor 25 closed
farah fable 32 pending
eli harbor 113 active
| dina ember 116 ready
chen amber 46 closed
dina fable 48 pending
gus harbor 25 closed
farah fable 32 pending
eli harbor 113 active
| delete_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013434 | Print lines 2 through 5, inclusive, and nothing else. | sed -n 2,5p | dina delta 40 pending
gus delta 40 ready
dina grove 116 failed
bruno ember 118 ready
bruno harbor 86 ready
eli grove 52 active
gus ember 80 pending
alice birch 109 pending
hana birch 5 active
| gus delta 40 ready
dina grove 116 failed
bruno ember 118 ready
bruno harbor 86 ready
| bruno amber 46 ready
eli amber 61 failed
gus harbor 49 ready
dina amber 31 pending
dina amber 105 closed
gus delta 6 pending
| eli amber 61 failed
gus harbor 49 ready
dina amber 31 pending
dina amber 105 closed
| line_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013432 | Delete every line containing ready. | sed /ready/d | hana birch 69 ready
gus grove 58 active
dina grove 63 pending
bruno fable 38 pending
chen ember 12 pending
farah harbor 55 pending
gus grove 108 failed
| gus grove 58 active
dina grove 63 pending
bruno fable 38 pending
chen ember 12 pending
farah harbor 55 pending
gus grove 108 failed
| chen cobalt 73 active
gus cobalt 3 ready
alice birch 114 active
alice cobalt 41 failed
chen fable 5 closed
farah fable 55 closed
eli ember 70 closed
gus delta 65 active
hana delta 6 ready
| chen cobalt 73 active
alice birch 114 active
alice cobalt 41 failed
chen fable 5 closed
farah fable 55 closed
eli ember 70 closed
gus delta 65 active
| regex_delete | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013436 | Print only the first 2 lines. | sed -n 1,2p | gus harbor 31 failed
farah birch 61 closed
hana grove 88 pending
alice fable 62 closed
gus harbor 14 pending
eli birch 3 failed
bruno cobalt 111 pending
alice harbor 82 failed
| gus harbor 31 failed
farah birch 61 closed
| gus amber 91 ready
gus grove 101 active
gus ember 68 closed
alice ember 64 ready
bruno delta 40 ready
eli cobalt 98 pending
bruno delta 70 failed
chen birch 13 ready
| gus amber 91 ready
gus grove 101 active
| first_n | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013443 | Delete all empty lines while preserving every nonempty line. | sed '/^$/d' | hana cobalt 93 closed
bruno ember 33 closed
dina cobalt 13 ready
alice delta 0 closed
bruno grove 10 active
dina birch 25 pending
hana cobalt 13 pending
bruno birch 57 failed
dina ember 68 active
| hana cobalt 93 closed
bruno ember 33 closed
dina cobalt 13 ready
alice delta 0 closed
bruno grove 10 active
dina birch 25 pending
hana cobalt 13 pending
bruno birch 57 failed
dina ember 68 active
| farah fable 65 failed
bruno birch 12 closed
chen ember 117 ready
gus grove 69 closed
bruno harbor 45 failed
eli fable 66 active
| farah fable 65 failed
bruno birch 12 closed
chen ember 117 ready
gus grove 69 closed
bruno harbor 45 failed
eli fable 66 active
| delete_blank | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013437 | Print only the last line of the input. | sed -n '$p' | alice fable 58 closed
hana ember 69 closed
alice fable 13 closed
alice grove 55 pending
gus fable 102 ready
gus birch 60 ready
hana harbor 51 closed
bruno ember 112 failed
| bruno ember 112 failed
| dina grove 7 ready
dina fable 31 active
dina ember 9 active
hana fable 46 pending
farah birch 87 closed
hana ember 91 active
alice grove 63 failed
bruno grove 78 closed
| bruno grove 78 closed
| last_line | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0013442 | Replace every full line containing active with the single line follow_up. | sed '/active/c follow_up' | farah fable 10 active
chen ember 39 active
bruno harbor 13 active
gus ember 6 failed
chen grove 15 active
bruno fable 40 pending
chen fable 49 active
farah fable 29 active
gus harbor 83 failed
| follow_up
follow_up
follow_up
gus ember 6 failed
follow_up
bruno fable 40 pending
follow_up
follow_up
gus harbor 83 failed
| bruno harbor 45 closed
gus amber 75 active
eli cobalt 79 active
alice cobalt 95 closed
gus ember 119 active
hana fable 41 ready
chen delta 56 active
gus grove 30 ready
| bruno harbor 45 closed
follow_up
follow_up
alice cobalt 95 closed
follow_up
hana fable 41 ready
follow_up
gus grove 30 ready
| change_line | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0013423 | Print only the block from the line containing delta through the line containing cobalt, inclusive. | sed -n /delta/,/cobalt/p | alice ember 102 active
bruno harbor 57 pending
hana harbor 17 active
farah amber 92 failed
chen cobalt 21 closed
alice grove 38 pending
gus amber 32 ready
farah delta 20 failed
chen amber 114 failed
| farah delta 20 failed
chen amber 114 failed
| farah amber 35 pending
eli grove 4 closed
gus fable 48 pending
farah amber 17 pending
farah cobalt 13 active
dina cobalt 80 failed
farah cobalt 79 pending
farah grove 26 pending
gus harbor 38 failed
| print_between | 2 | train | original-grammar | CC-BY-4.0 | |
sedweave-0013441 | Insert the line complete immediately before every line containing failed. | sed '/failed/i complete' | alice fable 107 failed
gus harbor 90 pending
eli harbor 37 pending
bruno cobalt 33 ready
dina harbor 18 ready
alice harbor 46 pending
bruno delta 74 ready
bruno birch 10 pending
| complete
alice fable 107 failed
gus harbor 90 pending
eli harbor 37 pending
bruno cobalt 33 ready
dina harbor 18 ready
alice harbor 46 pending
bruno delta 74 ready
bruno birch 10 pending
| hana ember 3 closed
hana grove 29 pending
farah ember 90 pending
farah birch 95 closed
farah harbor 83 closed
eli birch 62 active
farah harbor 95 ready
gus cobalt 93 closed
eli amber 73 ready
| hana ember 3 closed
hana grove 29 pending
farah ember 90 pending
farah birch 95 closed
farah harbor 83 closed
eli birch 62 active
farah harbor 95 ready
gus cobalt 93 closed
eli amber 73 ready
| insert_before | 2 | 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.