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-0007222 | Remove all leading spaces and tabs from each line. | sed 's/^[ \t]*//' | gus birch 19 closed
gus birch 29 pending
chen harbor 85 pending
eli ember 87 pending
hana fable 25 failed
chen grove 28 failed
| gus birch 19 closed
gus birch 29 pending
chen harbor 85 pending
eli ember 87 pending
hana fable 25 failed
chen grove 28 failed
| alice harbor 31 ready
bruno delta 41 ready
bruno harbor 99 ready
farah harbor 110 pending
farah harbor 65 failed
chen grove 98 failed
hana fable 34 pending
bruno grove 22 failed
| alice harbor 31 ready
bruno delta 41 ready
bruno harbor 99 ready
farah harbor 110 pending
farah harbor 65 failed
chen grove 98 failed
hana fable 34 pending
bruno grove 22 failed
| strip_leading | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007220 | Replace every full line containing ready with the single line reviewed. | sed '/ready/c reviewed' | eli grove 47 ready
hana harbor 75 active
bruno fable 30 failed
chen ember 104 closed
dina birch 84 closed
farah harbor 54 closed
bruno fable 104 ready
| reviewed
hana harbor 75 active
bruno fable 30 failed
chen ember 104 closed
dina birch 84 closed
farah harbor 54 closed
reviewed
| bruno harbor 69 ready
alice grove 59 failed
dina delta 52 failed
bruno harbor 68 failed
bruno grove 73 ready
dina harbor 24 ready
| reviewed
alice grove 59 failed
dina delta 52 failed
bruno harbor 68 failed
reviewed
reviewed
| change_line | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007218 | Append the line complete immediately after every line containing ready. | sed '/ready/a complete' | chen grove 15 failed
farah grove 69 active
gus grove 93 pending
chen delta 32 active
alice fable 48 pending
gus cobalt 67 pending
alice delta 99 closed
bruno harbor 25 ready
alice grove 98 pending
| chen grove 15 failed
farah grove 69 active
gus grove 93 pending
chen delta 32 active
alice fable 48 pending
gus cobalt 67 pending
alice delta 99 closed
bruno harbor 25 ready
complete
alice grove 98 pending
| chen grove 50 failed
eli grove 86 closed
eli birch 89 ready
bruno delta 70 pending
gus fable 91 closed
bruno grove 8 closed
eli amber 65 ready
alice birch 74 active
bruno ember 97 pending
| chen grove 50 failed
eli grove 86 closed
eli birch 89 ready
complete
bruno delta 70 pending
gus fable 91 closed
bruno grove 8 closed
eli amber 65 ready
complete
alice birch 74 active
bruno ember 97 pending
| append_after | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007225 | Convert every input line to uppercase. | sed 's/.*/\U&/' | gus ember 30 failed
hana cobalt 33 active
hana fable 92 active
dina grove 116 failed
farah harbor 16 ready
farah amber 11 failed
eli birch 26 pending
farah amber 17 ready
| GUS EMBER 30 FAILED
HANA COBALT 33 ACTIVE
HANA FABLE 92 ACTIVE
DINA GROVE 116 FAILED
FARAH HARBOR 16 READY
FARAH AMBER 11 FAILED
ELI BIRCH 26 PENDING
FARAH AMBER 17 READY
| bruno grove 5 failed
chen grove 48 ready
farah delta 81 pending
alice birch 65 closed
hana delta 64 ready
alice grove 15 closed
hana amber 97 closed
farah cobalt 39 active
hana grove 20 failed
| BRUNO GROVE 5 FAILED
CHEN GROVE 48 READY
FARAH DELTA 81 PENDING
ALICE BIRCH 65 CLOSED
HANA DELTA 64 READY
ALICE GROVE 15 CLOSED
HANA AMBER 97 CLOSED
FARAH COBALT 39 ACTIVE
HANA GROVE 20 FAILED
| uppercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007224 | Collapse every run of spaces or tabs to a single space. | sed 's/[ \t]+/ /g' | gus birch 85 pending
alice fable 110 active
gus ember 73 closed
bruno fable 78 ready
gus delta 51 failed
dina fable 84 closed
bruno fable 78 active
| gus birch 85 pending
alice fable 110 active
gus ember 73 closed
bruno fable 78 ready
gus delta 51 failed
dina fable 84 closed
bruno fable 78 active
| bruno cobalt 77 ready
alice delta 95 closed
chen fable 69 pending
gus fable 75 ready
gus grove 47 active
chen fable 76 pending
chen delta 2 ready
chen delta 79 closed
eli cobalt 66 ready
| bruno cobalt 77 ready
alice delta 95 closed
chen fable 69 pending
gus fable 75 ready
gus grove 47 active
chen fable 76 pending
chen delta 2 ready
chen delta 79 closed
eli cobalt 66 ready
| collapse_space | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007226 | Convert every input line to lowercase. | sed 's/.*/\L&/' | eli grove 40 active
dina ember 5 active
chen delta 18 active
gus ember 48 closed
alice cobalt 30 closed
alice delta 48 active
gus cobalt 61 pending
| eli grove 40 active
dina ember 5 active
chen delta 18 active
gus ember 48 closed
alice cobalt 30 closed
alice delta 48 active
gus cobalt 61 pending
| dina birch 9 ready
gus fable 98 active
alice amber 71 active
bruno cobalt 0 ready
farah amber 16 ready
bruno amber 72 ready
farah delta 104 active
| dina birch 9 ready
gus fable 98 active
alice amber 71 active
bruno cobalt 0 ready
farah amber 16 ready
bruno amber 72 ready
farah delta 104 active
| lowercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007232 | Delete all lines beginning with #. | sed '/^#/d' | chen cobalt 92 failed
# note
eli delta 44 ready
alice delta 79 pending
farah cobalt 30 ready
alice fable 56 active
hana ember 11 failed
chen amber 1 closed
| chen cobalt 92 failed
eli delta 44 ready
alice delta 79 pending
farah cobalt 30 ready
alice fable 56 active
hana ember 11 failed
chen amber 1 closed
| farah harbor 69 failed
# note
eli grove 108 ready
eli fable 102 active
gus fable 103 closed
eli cobalt 0 pending
alice delta 22 failed
gus grove 7 active
chen birch 81 failed
alice delta 77 pending
| farah harbor 69 failed
eli grove 108 ready
eli fable 102 active
gus fable 103 closed
eli cobalt 0 pending
alice delta 22 failed
gus grove 7 active
chen birch 81 failed
alice delta 77 pending
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007230 | Append a space and done to the end of every line. | sed 's/$/ done/' | bruno grove 84 ready
gus fable 91 pending
dina birch 3 pending
bruno birch 38 closed
gus harbor 76 active
farah cobalt 36 failed
| bruno grove 84 ready done
gus fable 91 pending done
dina birch 3 pending done
bruno birch 38 closed done
gus harbor 76 active done
farah cobalt 36 failed done
| dina amber 67 active
gus birch 72 failed
alice harbor 113 closed
farah fable 43 closed
hana amber 9 ready
bruno delta 6 active
| dina amber 67 active done
gus birch 72 failed done
alice harbor 113 closed done
farah fable 43 closed done
hana amber 9 ready done
bruno delta 6 active done
| add_suffix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007221 | Delete all empty lines while preserving every nonempty line. | sed '/^$/d' | chen amber 46 failed
hana fable 48 failed
bruno cobalt 8 closed
dina ember 112 pending
alice cobalt 46 closed
eli ember 29 ready
| chen amber 46 failed
hana fable 48 failed
bruno cobalt 8 closed
dina ember 112 pending
alice cobalt 46 closed
eli ember 29 ready
| alice amber 113 closed
alice ember 53 ready
gus birch 18 active
farah birch 99 active
farah birch 117 ready
alice cobalt 61 ready
| alice amber 113 closed
alice ember 53 ready
gus birch 18 active
farah birch 99 active
farah birch 117 ready
alice cobalt 61 ready
| delete_blank | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007229 | Add the prefix INFO followed by a space to the start of every line. | sed 's/^/INFO /' | dina cobalt 102 closed
hana grove 49 active
eli cobalt 42 active
bruno fable 74 closed
gus birch 30 ready
eli harbor 27 failed
dina fable 85 closed
chen delta 0 ready
| INFO dina cobalt 102 closed
INFO hana grove 49 active
INFO eli cobalt 42 active
INFO bruno fable 74 closed
INFO gus birch 30 ready
INFO eli harbor 27 failed
INFO dina fable 85 closed
INFO chen delta 0 ready
| farah fable 83 active
farah harbor 58 active
farah ember 85 pending
farah delta 6 ready
gus fable 55 pending
eli ember 90 pending
chen harbor 10 active
| INFO farah fable 83 active
INFO farah harbor 58 active
INFO farah ember 85 pending
INFO farah delta 6 ready
INFO gus fable 55 pending
INFO eli ember 90 pending
INFO chen harbor 10 active
| add_prefix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007228 | Replace every comma with a tab character. | sed 's/,/\t/g' | eli,fable,71,pending
bruno,harbor,115,active
chen,amber,49,failed
farah,amber,118,pending
dina,fable,83,failed
farah,harbor,28,ready
dina,birch,14,active
| eli fable 71 pending
bruno harbor 115 active
chen amber 49 failed
farah amber 118 pending
dina fable 83 failed
farah harbor 28 ready
dina birch 14 active
| gus,fable,96,closed
bruno,amber,119,failed
hana,fable,63,active
chen,grove,118,pending
chen,amber,106,pending
gus,ember,116,failed
farah,ember,95,active
chen,harbor,45,pending
alice,fable,39,closed
| gus fable 96 closed
bruno amber 119 failed
hana fable 63 active
chen grove 118 pending
chen amber 106 pending
gus ember 116 failed
farah ember 95 active
chen harbor 45 pending
alice fable 39 closed
| comma_to_tab | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007227 | Swap the first two whitespace-separated fields on every line. | sed 's/\([^ ]*\) \([^ ]*\)/\2 \1/' | chen delta 0 active
chen grove 76 active
farah cobalt 111 closed
eli amber 66 closed
bruno delta 58 failed
dina delta 62 failed
farah ember 119 failed
| delta chen 0 active
grove chen 76 active
cobalt farah 111 closed
amber eli 66 closed
delta bruno 58 failed
delta dina 62 failed
ember farah 119 failed
| gus cobalt 14 active
eli cobalt 116 pending
alice harbor 36 pending
alice cobalt 36 failed
farah grove 11 closed
alice birch 70 closed
eli amber 74 failed
dina fable 28 active
| cobalt gus 14 active
cobalt eli 116 pending
harbor alice 36 pending
cobalt alice 36 failed
grove farah 11 closed
birch alice 70 closed
amber eli 74 failed
fable dina 28 active
| swap_fields | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007234 | Delete everything from the line containing harbor through the line containing cobalt, inclusive. | sed /harbor/,/cobalt/d | bruno amber 25 ready
farah fable 26 failed
eli grove 30 closed
hana cobalt 8 ready
alice grove 80 failed
hana cobalt 51 failed
dina cobalt 92 active
eli ember 97 failed
| bruno amber 25 ready
farah fable 26 failed
eli grove 30 closed
hana cobalt 8 ready
alice grove 80 failed
hana cobalt 51 failed
dina cobalt 92 active
eli ember 97 failed
| bruno delta 42 active
dina harbor 100 ready
bruno delta 8 ready
alice harbor 39 failed
farah birch 99 failed
bruno harbor 23 ready
alice delta 9 pending
bruno amber 68 pending
| bruno delta 42 active
| delete_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007233 | Print only the first 6 characters of each line. | sed 's/^\(.\{6\}\).*/\1/' | gus fable 23 ready
alice ember 39 ready
hana harbor 109 closed
chen grove 52 pending
farah ember 23 failed
alice harbor 54 active
farah birch 43 failed
gus delta 77 active
bruno grove 5 closed
| gus fa
alice
hana h
chen g
farah
alice
farah
gus de
bruno
| gus cobalt 58 closed
eli grove 44 pending
gus birch 57 pending
farah harbor 60 active
dina birch 28 pending
dina birch 20 active
hana ember 103 pending
gus harbor 27 ready
farah amber 75 pending
| gus co
eli gr
gus bi
farah
dina b
dina b
hana e
gus ha
farah
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007231 | Comment out every input line by adding # and a space at the start. | sed 's/^/# /' | dina grove 101 active
farah ember 77 ready
alice fable 43 ready
hana harbor 79 failed
alice delta 117 active
chen fable 83 failed
alice ember 54 pending
bruno grove 76 active
| # dina grove 101 active
# farah ember 77 ready
# alice fable 43 ready
# hana harbor 79 failed
# alice delta 117 active
# chen fable 83 failed
# alice ember 54 pending
# bruno grove 76 active
| hana cobalt 39 closed
dina fable 80 active
gus grove 51 pending
alice ember 93 closed
farah harbor 52 closed
farah cobalt 102 ready
| # hana cobalt 39 closed
# dina fable 80 active
# gus grove 51 pending
# alice ember 93 closed
# farah harbor 52 closed
# farah cobalt 102 ready
| comment_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007236 | 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-0007237 | Replace every sequence of digits with the letter N. | sed 's/[0-9][0-9]*/N/g' | bruno amber 48 ready
hana amber 87 pending
farah ember 81 failed
dina cobalt 37 closed
gus fable 109 active
eli birch 109 pending
chen delta 52 failed
| bruno amber N ready
hana amber N pending
farah ember N failed
dina cobalt N closed
gus fable N active
eli birch N pending
chen delta N failed
| gus ember 68 active
alice birch 104 ready
dina delta 13 closed
hana amber 36 active
farah birch 110 active
eli delta 111 active
chen fable 63 pending
bruno delta 55 pending
hana fable 102 ready
| gus ember N active
alice birch N ready
dina delta N closed
hana amber N active
farah birch N active
eli delta N active
chen fable N pending
bruno delta N pending
hana fable N ready
| digits_mask | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007239 | Remove the first character from every line. | sed 's/^.//' | eli grove 106 failed
chen grove 115 failed
bruno harbor 30 ready
chen ember 64 failed
gus ember 9 pending
bruno birch 72 closed
hana harbor 65 failed
chen cobalt 6 closed
chen fable 58 ready
| li grove 106 failed
hen grove 115 failed
runo harbor 30 ready
hen ember 64 failed
us ember 9 pending
runo birch 72 closed
ana harbor 65 failed
hen cobalt 6 closed
hen fable 58 ready
| hana harbor 108 pending
eli harbor 14 failed
hana fable 3 ready
chen harbor 81 ready
farah ember 98 ready
hana harbor 108 failed
gus delta 112 pending
| ana harbor 108 pending
li harbor 14 failed
ana fable 3 ready
hen harbor 81 ready
arah ember 98 ready
ana harbor 108 failed
us delta 112 pending
| delete_first_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007238 | Print each input line's number, without printing the line contents. | sed = | eli fable 21 active
chen harbor 9 active
chen fable 118 pending
alice amber 79 ready
gus birch 109 active
gus amber 44 pending
bruno ember 45 closed
bruno fable 74 ready
alice grove 21 active
| 1
eli fable 21 active
2
chen harbor 9 active
3
chen fable 118 pending
4
alice amber 79 ready
5
gus birch 109 active
6
gus amber 44 pending
7
bruno ember 45 closed
8
bruno fable 74 ready
9
alice grove 21 active
| gus fable 45 pending
bruno cobalt 86 ready
gus grove 21 pending
alice delta 116 active
eli cobalt 69 failed
alice cobalt 46 pending
chen ember 30 ready
eli grove 109 closed
alice delta 66 ready
| 1
gus fable 45 pending
2
bruno cobalt 86 ready
3
gus grove 21 pending
4
alice delta 116 active
5
eli cobalt 69 failed
6
alice cobalt 46 pending
7
chen ember 30 ready
8
eli grove 109 closed
9
alice delta 66 ready
| number_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007235 | Print only the block from the line containing delta through the line containing birch, inclusive. | sed -n /delta/,/birch/p | gus delta 17 closed
bruno ember 38 ready
chen birch 79 pending
alice delta 57 failed
hana cobalt 18 pending
gus cobalt 27 ready
farah birch 53 active
| gus delta 17 closed
bruno ember 38 ready
chen birch 79 pending
alice delta 57 failed
hana cobalt 18 pending
gus cobalt 27 ready
farah birch 53 active
| chen birch 109 ready
gus harbor 111 active
alice amber 53 ready
bruno birch 81 ready
gus harbor 22 failed
gus fable 78 closed
alice ember 57 closed
| print_between | 2 | train | original-grammar | CC-BY-4.0 | |
sedweave-0007246 | Print lines 3 through 4, inclusive, and nothing else. | sed -n 3,4p | alice grove 51 closed
alice cobalt 79 ready
farah delta 101 pending
eli fable 77 active
alice grove 89 pending
alice cobalt 53 ready
gus birch 72 failed
farah ember 72 active
eli harbor 48 active
| farah delta 101 pending
eli fable 77 active
| eli amber 75 pending
chen harbor 52 pending
bruno ember 13 closed
eli grove 120 ready
gus ember 65 ready
bruno cobalt 89 failed
hana cobalt 117 ready
gus delta 40 closed
| bruno ember 13 closed
eli grove 120 ready
| line_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007245 | Print only lines containing active; suppress all others. | sed -n /active/p | eli amber 119 closed
chen ember 62 active
bruno harbor 96 failed
alice harbor 52 active
bruno amber 83 failed
chen cobalt 110 ready
eli grove 64 pending
alice delta 1 closed
alice cobalt 114 pending
| chen ember 62 active
alice harbor 52 active
| bruno cobalt 61 pending
eli birch 90 ready
gus harbor 2 ready
bruno grove 20 active
dina harbor 111 closed
dina ember 67 ready
alice grove 0 pending
alice cobalt 43 failed
| bruno grove 20 active
| regex_print | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007244 | Delete every line containing closed. | sed /closed/d | eli delta 65 failed
dina harbor 75 failed
farah cobalt 25 closed
alice harbor 36 pending
dina amber 35 ready
alice fable 28 failed
| eli delta 65 failed
dina harbor 75 failed
alice harbor 36 pending
dina amber 35 ready
alice fable 28 failed
| farah amber 63 active
chen cobalt 106 active
dina grove 12 pending
farah grove 38 active
dina harbor 51 failed
eli cobalt 108 failed
bruno delta 107 ready
| farah amber 63 active
chen cobalt 106 active
dina grove 12 pending
farah grove 38 active
dina harbor 51 failed
eli cobalt 108 failed
bruno delta 107 ready
| regex_delete | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007240 | Remove the last character from every line. | sed 's/.$//' | chen amber 35 pending
hana delta 55 pending
chen amber 107 active
dina fable 10 failed
bruno fable 35 pending
dina harbor 12 pending
gus cobalt 25 failed
chen ember 76 closed
| chen amber 35 pendin
hana delta 55 pendin
chen amber 107 activ
dina fable 10 faile
bruno fable 35 pendin
dina harbor 12 pendin
gus cobalt 25 faile
chen ember 76 close
| farah birch 81 pending
chen amber 44 pending
dina ember 114 active
dina cobalt 117 active
dina birch 105 ready
hana fable 4 ready
dina delta 58 closed
| farah birch 81 pendin
chen amber 44 pendin
dina ember 114 activ
dina cobalt 117 activ
dina birch 105 read
hana fable 4 read
dina delta 58 close
| delete_last_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007247 | Delete lines 3 through 4, leaving all other lines unchanged. | sed 3,4d | eli fable 48 closed
bruno cobalt 95 closed
farah birch 117 closed
gus ember 81 pending
dina ember 17 pending
alice ember 7 closed
eli ember 100 failed
| eli fable 48 closed
bruno cobalt 95 closed
dina ember 17 pending
alice ember 7 closed
eli ember 100 failed
| dina grove 76 closed
eli ember 111 ready
farah fable 12 pending
farah grove 93 ready
bruno birch 29 active
bruno birch 56 pending
| dina grove 76 closed
eli ember 111 ready
bruno birch 29 active
bruno birch 56 pending
| delete_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007242 | Replace the first occurrence of ember with fable on each line. | sed s/ember/fable/ | eli cobalt 32 active
dina amber 102 active
bruno ember 12 pending
dina cobalt 18 failed
hana fable 104 pending
dina grove 21 pending
dina birch 25 closed
gus birch 38 ready
farah cobalt 62 failed
| eli cobalt 32 active
dina amber 102 active
bruno fable 12 pending
dina cobalt 18 failed
hana fable 104 pending
dina grove 21 pending
dina birch 25 closed
gus birch 38 ready
farah cobalt 62 failed
| farah grove 94 closed
gus amber 14 active
chen birch 64 active
eli fable 29 failed
bruno ember 3 pending
dina ember 28 ready
| farah grove 94 closed
gus amber 14 active
chen birch 64 active
eli fable 29 failed
bruno fable 3 pending
dina fable 28 ready
| substitute_first | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007249 | Print only the last line of the input. | sed -n '$p' | chen ember 19 closed
bruno harbor 24 pending
hana ember 107 pending
eli cobalt 64 active
dina amber 42 active
dina fable 96 failed
bruno harbor 6 closed
dina ember 114 failed
alice ember 73 closed
| alice ember 73 closed
| farah delta 97 closed
dina fable 47 ready
alice amber 105 active
farah grove 5 ready
bruno ember 100 ready
bruno harbor 113 active
| bruno harbor 113 active
| last_line | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007243 | Replace every occurrence of grove with harbor throughout the input. | sed s/grove/harbor/g | bruno fable 34 closed
hana fable 25 failed
eli amber 38 failed
bruno ember 9 active
eli fable 117 failed
alice birch 83 closed
hana grove 59 active
dina amber 115 ready
| bruno fable 34 closed
hana fable 25 failed
eli amber 38 failed
bruno ember 9 active
eli fable 117 failed
alice birch 83 closed
hana harbor 59 active
dina amber 115 ready
| eli cobalt 17 ready
chen ember 66 pending
gus ember 72 active
eli grove 63 ready
hana delta 23 pending
eli amber 72 ready
| eli cobalt 17 ready
chen ember 66 pending
gus ember 72 active
eli harbor 63 ready
hana delta 23 pending
eli amber 72 ready
| substitute_global | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007251 | Print odd-numbered lines: lines 1, 3, 5, and so on. | sed -n '0~2p' | dina grove 40 active
chen amber 104 pending
gus birch 90 pending
dina delta 90 failed
bruno harbor 100 pending
dina delta 66 pending
dina birch 28 ready
gus fable 40 ready
| chen amber 104 pending
dina delta 90 failed
dina delta 66 pending
gus fable 40 ready
| chen delta 100 active
chen harbor 119 closed
chen cobalt 82 ready
dina birch 33 closed
farah harbor 82 ready
alice grove 95 closed
farah fable 101 pending
| chen harbor 119 closed
dina birch 33 closed
alice grove 95 closed
| every_other | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007252 | Append the line reviewed immediately after every line containing ready. | sed '/ready/a reviewed' | farah delta 95 ready
chen delta 97 pending
farah cobalt 117 pending
farah birch 88 failed
gus amber 30 closed
eli grove 36 ready
alice harbor 6 closed
| farah delta 95 ready
reviewed
chen delta 97 pending
farah cobalt 117 pending
farah birch 88 failed
gus amber 30 closed
eli grove 36 ready
reviewed
alice harbor 6 closed
| dina harbor 19 ready
alice cobalt 3 ready
dina delta 42 pending
bruno harbor 42 closed
alice fable 107 failed
alice fable 115 pending
hana cobalt 31 pending
alice amber 103 pending
| dina harbor 19 ready
reviewed
alice cobalt 3 ready
reviewed
dina delta 42 pending
bruno harbor 42 closed
alice fable 107 failed
alice fable 115 pending
hana cobalt 31 pending
alice amber 103 pending
| append_after | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007250 | Delete the last line of the input and print all remaining lines. | sed '$d' | bruno birch 52 pending
alice amber 99 ready
bruno ember 7 pending
chen amber 116 ready
alice ember 17 closed
eli grove 69 closed
| bruno birch 52 pending
alice amber 99 ready
bruno ember 7 pending
chen amber 116 ready
alice ember 17 closed
| alice fable 105 active
hana delta 60 closed
hana amber 24 failed
eli harbor 73 active
bruno delta 81 closed
eli birch 46 active
gus ember 92 failed
| alice fable 105 active
hana delta 60 closed
hana amber 24 failed
eli harbor 73 active
bruno delta 81 closed
eli birch 46 active
| delete_last | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007241 | Print only the second comma-separated field from each line. | sed 's/[^,]*,\([^,]*\).*/\1/' | bruno,ember,119,pending
hana,birch,20,active
hana,fable,6,active
dina,harbor,29,failed
alice,cobalt,95,active
gus,delta,34,failed
hana,cobalt,73,pending
| ember
birch
fable
harbor
cobalt
delta
cobalt
| eli,fable,113,closed
eli,amber,66,failed
gus,cobalt,41,pending
gus,grove,75,closed
eli,fable,114,pending
farah,delta,42,pending
| fable
amber
cobalt
grove
fable
delta
| extract_second_csv | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007248 | Print only the first 3 lines. | sed -n 1,3p | hana fable 99 ready
hana fable 29 closed
bruno amber 1 active
alice cobalt 96 failed
hana harbor 54 active
chen harbor 72 ready
| hana fable 99 ready
hana fable 29 closed
bruno amber 1 active
| farah amber 83 closed
alice birch 93 closed
hana fable 5 ready
bruno harbor 48 pending
dina delta 10 ready
dina birch 87 failed
gus delta 102 ready
gus cobalt 99 failed
| farah amber 83 closed
alice birch 93 closed
hana fable 5 ready
| first_n | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007259 | Convert every input line to uppercase. | sed 's/.*/\U&/' | gus grove 43 ready
dina cobalt 55 failed
dina fable 11 ready
bruno birch 48 failed
eli harbor 58 ready
chen fable 4 active
dina delta 42 failed
| GUS GROVE 43 READY
DINA COBALT 55 FAILED
DINA FABLE 11 READY
BRUNO BIRCH 48 FAILED
ELI HARBOR 58 READY
CHEN FABLE 4 ACTIVE
DINA DELTA 42 FAILED
| farah ember 101 active
eli grove 38 closed
hana ember 87 closed
bruno harbor 115 ready
gus birch 93 closed
eli delta 41 failed
chen fable 93 closed
| FARAH EMBER 101 ACTIVE
ELI GROVE 38 CLOSED
HANA EMBER 87 CLOSED
BRUNO HARBOR 115 READY
GUS BIRCH 93 CLOSED
ELI DELTA 41 FAILED
CHEN FABLE 93 CLOSED
| uppercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007258 | Collapse every run of spaces or tabs to a single space. | sed 's/[ \t]+/ /g' | bruno cobalt 81 active
alice grove 0 closed
gus birch 96 active
bruno grove 68 pending
hana grove 75 active
farah delta 84 closed
chen harbor 22 failed
chen delta 62 failed
chen delta 117 active
| bruno cobalt 81 active
alice grove 0 closed
gus birch 96 active
bruno grove 68 pending
hana grove 75 active
farah delta 84 closed
chen harbor 22 failed
chen delta 62 failed
chen delta 117 active
| gus delta 47 closed
farah fable 86 active
alice harbor 94 failed
chen harbor 91 failed
gus birch 19 active
gus delta 56 closed
eli harbor 57 ready
| gus delta 47 closed
farah fable 86 active
alice harbor 94 failed
chen harbor 91 failed
gus birch 19 active
gus delta 56 closed
eli harbor 57 ready
| collapse_space | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007256 | Remove all leading spaces and tabs from each line. | sed 's/^[ \t]*//' | hana grove 14 ready
gus fable 110 closed
farah amber 28 pending
farah harbor 58 pending
farah ember 118 closed
eli grove 82 pending
| hana grove 14 ready
gus fable 110 closed
farah amber 28 pending
farah harbor 58 pending
farah ember 118 closed
eli grove 82 pending
| eli harbor 32 active
gus grove 50 active
chen fable 33 closed
dina ember 57 active
dina harbor 60 failed
farah amber 114 ready
| eli harbor 32 active
gus grove 50 active
chen fable 33 closed
dina ember 57 active
dina harbor 60 failed
farah amber 114 ready
| strip_leading | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007254 | Replace every full line containing closed with the single line follow_up. | sed '/closed/c follow_up' | gus delta 85 failed
bruno ember 39 closed
gus cobalt 17 pending
bruno birch 9 active
hana harbor 75 active
chen birch 94 ready
bruno amber 7 failed
gus cobalt 32 pending
farah amber 7 pending
| gus delta 85 failed
follow_up
gus cobalt 17 pending
bruno birch 9 active
hana harbor 75 active
chen birch 94 ready
bruno amber 7 failed
gus cobalt 32 pending
farah amber 7 pending
| gus amber 34 ready
hana cobalt 51 ready
bruno harbor 118 pending
hana fable 106 ready
alice birch 83 closed
chen grove 5 failed
gus ember 74 active
bruno delta 10 active
farah grove 74 closed
| gus amber 34 ready
hana cobalt 51 ready
bruno harbor 118 pending
hana fable 106 ready
follow_up
chen grove 5 failed
gus ember 74 active
bruno delta 10 active
follow_up
| change_line | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007257 | Remove all trailing spaces and tabs from each line. | sed 's/[ \t]*$//' | eli ember 94 closed
farah delta 118 ready
hana birch 75 active
eli delta 48 ready
dina birch 85 active
farah fable 67 failed
gus amber 85 closed
bruno grove 91 ready
gus harbor 29 ready
| eli ember 94 closed
farah delta 118 ready
hana birch 75 active
eli delta 48 ready
dina birch 85 active
farah fable 67 failed
gus amber 85 closed
bruno grove 91 ready
gus harbor 29 ready
| chen cobalt 71 closed
chen harbor 3 ready
hana ember 6 failed
gus harbor 36 ready
gus fable 52 active
hana ember 41 closed
alice birch 47 closed
alice birch 96 pending
| chen cobalt 71 closed
chen harbor 3 ready
hana ember 6 failed
gus harbor 36 ready
gus fable 52 active
hana ember 41 closed
alice birch 47 closed
alice birch 96 pending
| strip_trailing | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007255 | Delete all empty lines while preserving every nonempty line. | sed '/^$/d' | gus harbor 56 closed
alice amber 13 ready
hana birch 44 failed
gus fable 60 closed
gus cobalt 59 closed
eli ember 108 pending
chen birch 3 active
eli grove 109 failed
| gus harbor 56 closed
alice amber 13 ready
hana birch 44 failed
gus fable 60 closed
gus cobalt 59 closed
eli ember 108 pending
chen birch 3 active
eli grove 109 failed
| bruno birch 63 ready
dina amber 82 pending
hana cobalt 107 ready
chen grove 47 ready
farah grove 115 pending
hana cobalt 20 pending
farah delta 65 closed
| bruno birch 63 ready
dina amber 82 pending
hana cobalt 107 ready
chen grove 47 ready
farah grove 115 pending
hana cobalt 20 pending
farah delta 65 closed
| delete_blank | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007253 | Insert the line follow_up immediately before every line containing pending. | sed '/pending/i follow_up' | dina harbor 100 failed
chen cobalt 106 closed
chen ember 49 failed
bruno birch 97 pending
alice fable 72 closed
eli delta 96 pending
| dina harbor 100 failed
chen cobalt 106 closed
chen ember 49 failed
follow_up
bruno birch 97 pending
alice fable 72 closed
follow_up
eli delta 96 pending
| bruno cobalt 70 failed
dina birch 55 closed
eli cobalt 29 pending
bruno grove 104 pending
alice amber 24 pending
farah harbor 92 ready
eli cobalt 40 pending
dina grove 75 ready
gus fable 46 closed
| bruno cobalt 70 failed
dina birch 55 closed
follow_up
eli cobalt 29 pending
follow_up
bruno grove 104 pending
follow_up
alice amber 24 pending
farah harbor 92 ready
follow_up
eli cobalt 40 pending
dina grove 75 ready
gus fable 46 closed
| insert_before | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007264 | Append a space and done to the end of every line. | sed 's/$/ done/' | hana harbor 3 pending
farah amber 80 active
alice birch 100 pending
gus amber 21 ready
eli ember 117 closed
eli fable 75 pending
gus fable 39 active
chen harbor 31 failed
| hana harbor 3 pending done
farah amber 80 active done
alice birch 100 pending done
gus amber 21 ready done
eli ember 117 closed done
eli fable 75 pending done
gus fable 39 active done
chen harbor 31 failed done
| eli fable 59 pending
farah harbor 110 pending
farah delta 66 failed
bruno fable 24 ready
dina cobalt 58 pending
farah birch 83 ready
eli amber 53 pending
| eli fable 59 pending done
farah harbor 110 pending done
farah delta 66 failed done
bruno fable 24 ready done
dina cobalt 58 pending done
farah birch 83 ready done
eli amber 53 pending done
| add_suffix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007260 | Convert every input line to lowercase. | sed 's/.*/\L&/' | eli birch 10 active
dina delta 21 closed
hana birch 103 closed
gus harbor 27 active
alice harbor 118 active
farah delta 5 ready
alice amber 102 failed
eli harbor 112 active
farah birch 17 ready
| eli birch 10 active
dina delta 21 closed
hana birch 103 closed
gus harbor 27 active
alice harbor 118 active
farah delta 5 ready
alice amber 102 failed
eli harbor 112 active
farah birch 17 ready
| alice ember 1 active
gus harbor 95 pending
chen ember 82 pending
bruno delta 90 closed
gus birch 30 pending
chen amber 87 ready
chen harbor 91 pending
bruno fable 22 closed
| alice ember 1 active
gus harbor 95 pending
chen ember 82 pending
bruno delta 90 closed
gus birch 30 pending
chen amber 87 ready
chen harbor 91 pending
bruno fable 22 closed
| lowercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007261 | Swap the first two whitespace-separated fields on every line. | sed 's/\([^ ]*\) \([^ ]*\)/\2 \1/' | dina birch 103 failed
alice grove 103 ready
bruno grove 66 closed
chen fable 53 active
bruno fable 65 closed
alice delta 118 closed
farah harbor 19 active
eli fable 24 pending
| birch dina 103 failed
grove alice 103 ready
grove bruno 66 closed
fable chen 53 active
fable bruno 65 closed
delta alice 118 closed
harbor farah 19 active
fable eli 24 pending
| chen birch 9 failed
gus ember 92 closed
hana ember 90 failed
farah harbor 81 closed
gus birch 55 pending
hana delta 70 active
alice delta 5 closed
eli delta 15 failed
| birch chen 9 failed
ember gus 92 closed
ember hana 90 failed
harbor farah 81 closed
birch gus 55 pending
delta hana 70 active
delta alice 5 closed
delta eli 15 failed
| swap_fields | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007263 | Add the prefix notice followed by a space to the start of every line. | sed 's/^/notice /' | farah ember 31 pending
hana delta 104 failed
dina fable 116 closed
bruno amber 12 ready
bruno harbor 100 ready
hana delta 117 active
chen amber 21 closed
| notice farah ember 31 pending
notice hana delta 104 failed
notice dina fable 116 closed
notice bruno amber 12 ready
notice bruno harbor 100 ready
notice hana delta 117 active
notice chen amber 21 closed
| farah grove 17 closed
dina fable 50 failed
dina amber 16 ready
bruno amber 7 ready
alice delta 120 ready
alice grove 71 pending
chen fable 102 closed
dina fable 100 ready
gus delta 16 failed
| notice farah grove 17 closed
notice dina fable 50 failed
notice dina amber 16 ready
notice bruno amber 7 ready
notice alice delta 120 ready
notice alice grove 71 pending
notice chen fable 102 closed
notice dina fable 100 ready
notice gus delta 16 failed
| add_prefix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007266 | Delete all lines beginning with #. | sed '/^#/d' | chen grove 72 active
# note
farah delta 43 failed
farah cobalt 11 active
bruno birch 58 pending
dina birch 6 ready
hana fable 19 ready
farah cobalt 24 active
alice amber 59 pending
| chen grove 72 active
farah delta 43 failed
farah cobalt 11 active
bruno birch 58 pending
dina birch 6 ready
hana fable 19 ready
farah cobalt 24 active
alice amber 59 pending
| farah amber 96 pending
# note
alice cobalt 0 ready
chen amber 107 failed
gus harbor 39 failed
hana delta 29 failed
dina birch 40 active
chen delta 97 pending
farah fable 33 ready
gus grove 22 pending
| farah amber 96 pending
alice cobalt 0 ready
chen amber 107 failed
gus harbor 39 failed
hana delta 29 failed
dina birch 40 active
chen delta 97 pending
farah fable 33 ready
gus grove 22 pending
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007265 | Comment out every input line by adding # and a space at the start. | sed 's/^/# /' | eli ember 60 active
bruno ember 63 failed
alice delta 79 pending
hana birch 56 closed
farah grove 71 ready
farah cobalt 54 failed
| # eli ember 60 active
# bruno ember 63 failed
# alice delta 79 pending
# hana birch 56 closed
# farah grove 71 ready
# farah cobalt 54 failed
| gus amber 18 closed
eli grove 14 closed
alice harbor 11 ready
hana birch 4 closed
farah amber 87 active
gus ember 33 ready
| # gus amber 18 closed
# eli grove 14 closed
# alice harbor 11 ready
# hana birch 4 closed
# farah amber 87 active
# gus ember 33 ready
| comment_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007272 | Print each input line's number, without printing the line contents. | sed = | alice fable 115 active
gus amber 58 failed
chen harbor 36 pending
alice harbor 33 closed
farah birch 48 pending
alice delta 21 failed
| 1
alice fable 115 active
2
gus amber 58 failed
3
chen harbor 36 pending
4
alice harbor 33 closed
5
farah birch 48 pending
6
alice delta 21 failed
| bruno ember 56 failed
bruno ember 105 active
alice delta 98 ready
farah fable 44 active
farah cobalt 97 ready
bruno amber 47 closed
| 1
bruno ember 56 failed
2
bruno ember 105 active
3
alice delta 98 ready
4
farah fable 44 active
5
farah cobalt 97 ready
6
bruno amber 47 closed
| number_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007269 | Print only the block from the line containing cobalt through the line containing ember, inclusive. | sed -n /cobalt/,/ember/p | eli grove 115 active
farah amber 83 failed
farah delta 86 failed
eli ember 32 ready
alice cobalt 56 ready
dina delta 64 active
| alice cobalt 56 ready
dina delta 64 active
| gus grove 95 closed
chen grove 21 active
alice grove 46 active
alice fable 67 failed
gus amber 27 closed
alice harbor 36 pending
gus delta 74 closed
farah cobalt 60 failed
alice delta 97 closed
| farah cobalt 60 failed
alice delta 97 closed
| print_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007274 | Remove the last character from every line. | sed 's/.$//' | dina ember 18 active
alice grove 36 failed
bruno birch 55 pending
chen ember 78 pending
chen delta 77 failed
farah fable 20 failed
dina amber 61 pending
farah cobalt 102 closed
alice cobalt 115 pending
| dina ember 18 activ
alice grove 36 faile
bruno birch 55 pendin
chen ember 78 pendin
chen delta 77 faile
farah fable 20 faile
dina amber 61 pendin
farah cobalt 102 close
alice cobalt 115 pendin
| chen birch 89 failed
alice birch 28 pending
bruno delta 101 closed
farah ember 96 active
eli grove 5 active
hana delta 61 pending
eli cobalt 21 closed
hana harbor 103 ready
alice harbor 24 failed
| chen birch 89 faile
alice birch 28 pendin
bruno delta 101 close
farah ember 96 activ
eli grove 5 activ
hana delta 61 pendin
eli cobalt 21 close
hana harbor 103 read
alice harbor 24 faile
| delete_last_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007271 | Replace every sequence of digits with the letter N. | sed 's/[0-9][0-9]*/N/g' | alice ember 3 pending
eli ember 37 pending
gus grove 26 active
gus harbor 2 active
bruno amber 5 failed
farah grove 8 ready
eli delta 101 active
farah delta 14 active
| alice ember N pending
eli ember N pending
gus grove N active
gus harbor N active
bruno amber N failed
farah grove N ready
eli delta N active
farah delta N active
| eli amber 18 closed
dina birch 69 pending
gus amber 77 closed
gus delta 104 closed
farah grove 20 pending
chen delta 61 active
chen amber 97 closed
| eli amber N closed
dina birch N pending
gus amber N closed
gus delta N closed
farah grove N pending
chen delta N active
chen amber N closed
| digits_mask | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007262 | Replace every comma with a tab character. | sed 's/,/\t/g' | dina,cobalt,66,closed
farah,harbor,28,active
farah,delta,90,closed
chen,amber,23,pending
bruno,cobalt,120,active
farah,fable,4,pending
dina,birch,23,failed
| dina cobalt 66 closed
farah harbor 28 active
farah delta 90 closed
chen amber 23 pending
bruno cobalt 120 active
farah fable 4 pending
dina birch 23 failed
| alice,delta,23,pending
bruno,harbor,53,pending
gus,harbor,114,closed
chen,harbor,61,ready
eli,ember,65,active
chen,harbor,96,closed
alice,delta,37,closed
hana,ember,31,active
| alice delta 23 pending
bruno harbor 53 pending
gus harbor 114 closed
chen harbor 61 ready
eli ember 65 active
chen harbor 96 closed
alice delta 37 closed
hana ember 31 active
| comma_to_tab | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007268 | Delete everything from the line containing fable through the line containing birch, inclusive. | sed /fable/,/birch/d | dina amber 3 ready
bruno ember 64 failed
bruno harbor 39 failed
farah fable 50 closed
chen harbor 12 ready
eli amber 73 pending
| dina amber 3 ready
bruno ember 64 failed
bruno harbor 39 failed
| chen amber 114 active
chen amber 115 active
chen cobalt 48 active
dina birch 12 ready
gus cobalt 3 active
farah fable 90 active
chen ember 54 failed
hana harbor 69 failed
hana harbor 98 active
| chen amber 114 active
chen amber 115 active
chen cobalt 48 active
dina birch 12 ready
gus cobalt 3 active
| delete_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007267 | Print only the first 6 characters of each line. | sed 's/^\(.\{6\}\).*/\1/' | chen fable 51 closed
gus cobalt 94 active
eli fable 42 failed
alice cobalt 22 ready
eli amber 69 failed
hana grove 61 closed
eli fable 39 ready
| chen f
gus co
eli fa
alice
eli am
hana g
eli fa
| hana amber 94 active
eli amber 59 failed
chen amber 40 active
eli amber 62 closed
dina fable 12 closed
dina grove 15 failed
farah delta 87 active
eli harbor 46 active
| hana a
eli am
chen a
eli am
dina f
dina g
farah
eli ha
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007270 | 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-0007273 | Remove the first character from every line. | sed 's/^.//' | eli fable 62 failed
dina amber 13 closed
eli ember 22 pending
eli grove 15 failed
alice ember 49 pending
hana ember 65 ready
| li fable 62 failed
ina amber 13 closed
li ember 22 pending
li grove 15 failed
lice ember 49 pending
ana ember 65 ready
| hana grove 116 ready
gus birch 22 ready
alice delta 104 pending
gus ember 42 closed
farah ember 92 ready
gus amber 44 ready
bruno cobalt 113 pending
alice fable 48 closed
hana amber 93 failed
| ana grove 116 ready
us birch 22 ready
lice delta 104 pending
us ember 42 closed
arah ember 92 ready
us amber 44 ready
runo cobalt 113 pending
lice fable 48 closed
ana amber 93 failed
| delete_first_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007276 | Replace the first occurrence of fable with grove on each line. | sed s/fable/grove/ | chen harbor 48 pending
alice amber 69 closed
farah fable 32 active
eli harbor 117 failed
chen amber 0 ready
gus fable 64 active
gus grove 56 closed
hana fable 59 ready
| chen harbor 48 pending
alice amber 69 closed
farah grove 32 active
eli harbor 117 failed
chen amber 0 ready
gus grove 64 active
gus grove 56 closed
hana grove 59 ready
| chen harbor 28 ready
dina fable 16 failed
farah amber 34 failed
alice birch 40 pending
dina harbor 57 closed
farah ember 73 ready
farah delta 82 pending
eli birch 13 closed
| chen harbor 28 ready
dina grove 16 failed
farah amber 34 failed
alice birch 40 pending
dina harbor 57 closed
farah ember 73 ready
farah delta 82 pending
eli birch 13 closed
| substitute_first | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007275 | Print only the second comma-separated field from each line. | sed 's/[^,]*,\([^,]*\).*/\1/' | chen,harbor,114,pending
hana,birch,44,ready
farah,ember,27,pending
hana,fable,59,ready
bruno,cobalt,80,closed
alice,grove,53,failed
bruno,cobalt,18,closed
dina,ember,118,closed
| harbor
birch
ember
fable
cobalt
grove
cobalt
ember
| chen,fable,72,pending
alice,fable,116,pending
dina,birch,0,active
chen,grove,18,pending
gus,harbor,112,pending
hana,harbor,120,pending
eli,amber,37,failed
| fable
fable
birch
grove
harbor
harbor
amber
| extract_second_csv | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007278 | Delete every line containing failed. | sed /failed/d | eli ember 70 ready
dina ember 75 closed
alice harbor 0 pending
hana fable 113 active
eli amber 8 closed
eli ember 94 pending
alice ember 66 active
alice fable 19 active
chen fable 98 pending
| eli ember 70 ready
dina ember 75 closed
alice harbor 0 pending
hana fable 113 active
eli amber 8 closed
eli ember 94 pending
alice ember 66 active
alice fable 19 active
chen fable 98 pending
| gus fable 30 failed
dina fable 69 pending
eli cobalt 81 failed
bruno fable 80 pending
alice ember 107 pending
bruno amber 13 active
| dina fable 69 pending
bruno fable 80 pending
alice ember 107 pending
bruno amber 13 active
| regex_delete | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007277 | Replace every occurrence of delta with birch throughout the input. | sed s/delta/birch/g | hana amber 116 closed
alice harbor 91 active
bruno cobalt 10 failed
chen grove 9 ready
alice amber 23 closed
eli grove 25 ready
| hana amber 116 closed
alice harbor 91 active
bruno cobalt 10 failed
chen grove 9 ready
alice amber 23 closed
eli grove 25 ready
| bruno fable 116 active
bruno cobalt 24 pending
alice harbor 118 active
farah ember 106 closed
alice fable 80 active
farah delta 27 pending
gus ember 75 active
| bruno fable 116 active
bruno cobalt 24 pending
alice harbor 118 active
farah ember 106 closed
alice fable 80 active
farah birch 27 pending
gus ember 75 active
| substitute_global | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007285 | Print odd-numbered lines: lines 1, 3, 5, and so on. | sed -n '0~2p' | chen delta 11 active
chen amber 51 ready
farah birch 40 active
chen grove 60 ready
bruno fable 105 ready
bruno fable 91 ready
alice delta 108 active
hana birch 71 active
alice delta 107 failed
| chen amber 51 ready
chen grove 60 ready
bruno fable 91 ready
hana birch 71 active
| gus ember 8 pending
farah fable 114 active
farah birch 33 pending
eli amber 24 active
chen ember 93 ready
farah cobalt 26 active
dina grove 119 closed
bruno delta 40 pending
| farah fable 114 active
eli amber 24 active
farah cobalt 26 active
bruno delta 40 pending
| every_other | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007283 | Print only the last line of the input. | sed -n '$p' | farah fable 65 active
dina birch 79 closed
gus harbor 72 active
bruno birch 109 active
farah birch 35 pending
gus fable 66 pending
dina grove 116 ready
alice ember 92 active
alice grove 76 pending
| alice grove 76 pending
| hana birch 68 ready
dina grove 21 failed
farah grove 23 ready
alice harbor 56 active
dina cobalt 104 active
dina ember 102 failed
| dina ember 102 failed
| last_line | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007281 | Delete lines 4 through 5, leaving all other lines unchanged. | sed 4,5d | gus harbor 63 closed
hana delta 117 pending
alice birch 112 failed
chen harbor 25 failed
bruno fable 72 failed
bruno fable 37 closed
bruno amber 30 failed
| gus harbor 63 closed
hana delta 117 pending
alice birch 112 failed
bruno fable 37 closed
bruno amber 30 failed
| dina grove 41 pending
chen fable 27 closed
bruno delta 10 active
bruno ember 93 closed
alice fable 110 failed
farah grove 72 pending
| dina grove 41 pending
chen fable 27 closed
bruno delta 10 active
farah grove 72 pending
| delete_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007279 | Print only lines containing failed; suppress all others. | sed -n /failed/p | chen ember 43 active
bruno fable 77 failed
bruno amber 26 active
chen amber 67 ready
hana harbor 27 active
hana ember 89 pending
chen amber 59 ready
hana fable 30 pending
eli ember 56 closed
| bruno fable 77 failed
| farah grove 101 ready
chen cobalt 95 active
farah amber 33 failed
bruno fable 66 pending
alice birch 42 failed
dina ember 117 active
eli delta 83 pending
eli delta 22 active
| farah amber 33 failed
alice birch 42 failed
| regex_print | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007286 | Append the line reviewed immediately after every line containing ready. | sed '/ready/a reviewed' | alice ember 98 failed
dina grove 32 pending
hana grove 117 pending
farah amber 45 closed
alice delta 51 failed
farah cobalt 9 active
farah harbor 42 failed
| alice ember 98 failed
dina grove 32 pending
hana grove 117 pending
farah amber 45 closed
alice delta 51 failed
farah cobalt 9 active
farah harbor 42 failed
| bruno cobalt 70 closed
hana grove 46 active
dina ember 86 pending
bruno fable 105 active
bruno delta 90 closed
dina cobalt 28 closed
alice ember 47 failed
hana ember 58 ready
| bruno cobalt 70 closed
hana grove 46 active
dina ember 86 pending
bruno fable 105 active
bruno delta 90 closed
dina cobalt 28 closed
alice ember 47 failed
hana ember 58 ready
reviewed
| append_after | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007280 | Print lines 4 through 6, inclusive, and nothing else. | sed -n 4,6p | dina grove 72 active
bruno cobalt 109 pending
gus birch 74 active
gus ember 37 pending
eli delta 59 failed
gus delta 92 failed
chen grove 107 pending
hana birch 100 active
bruno fable 4 closed
| gus ember 37 pending
eli delta 59 failed
gus delta 92 failed
| farah amber 106 closed
eli grove 8 active
hana amber 61 active
chen harbor 23 failed
chen grove 119 failed
hana delta 70 failed
hana grove 51 pending
eli cobalt 66 ready
alice delta 28 ready
| chen harbor 23 failed
chen grove 119 failed
hana delta 70 failed
| line_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007288 | Replace every full line containing ready with the single line complete. | sed '/ready/c complete' | chen amber 93 closed
hana cobalt 25 pending
bruno delta 33 active
gus fable 111 pending
bruno birch 33 pending
bruno birch 37 pending
| chen amber 93 closed
hana cobalt 25 pending
bruno delta 33 active
gus fable 111 pending
bruno birch 33 pending
bruno birch 37 pending
| bruno fable 17 failed
bruno cobalt 22 active
bruno ember 42 ready
chen amber 34 pending
alice cobalt 32 active
eli delta 109 pending
alice fable 106 failed
| bruno fable 17 failed
bruno cobalt 22 active
complete
chen amber 34 pending
alice cobalt 32 active
eli delta 109 pending
alice fable 106 failed
| change_line | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007284 | Delete the last line of the input and print all remaining lines. | sed '$d' | eli ember 28 pending
farah delta 59 pending
alice birch 117 failed
dina harbor 113 active
dina cobalt 97 closed
hana amber 45 pending
eli cobalt 86 closed
| eli ember 28 pending
farah delta 59 pending
alice birch 117 failed
dina harbor 113 active
dina cobalt 97 closed
hana amber 45 pending
| chen harbor 108 ready
hana ember 7 failed
dina birch 46 failed
gus harbor 81 ready
gus harbor 42 ready
farah amber 43 pending
hana amber 22 failed
gus fable 106 closed
eli cobalt 77 closed
| chen harbor 108 ready
hana ember 7 failed
dina birch 46 failed
gus harbor 81 ready
gus harbor 42 ready
farah amber 43 pending
hana amber 22 failed
gus fable 106 closed
| delete_last | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007289 | Delete all empty lines while preserving every nonempty line. | sed '/^$/d' | farah delta 101 closed
alice grove 55 active
hana ember 30 ready
bruno birch 36 active
farah ember 47 ready
gus birch 22 pending
farah harbor 96 active
chen harbor 106 failed
| farah delta 101 closed
alice grove 55 active
hana ember 30 ready
bruno birch 36 active
farah ember 47 ready
gus birch 22 pending
farah harbor 96 active
chen harbor 106 failed
| dina birch 114 pending
gus birch 97 ready
gus grove 28 failed
eli cobalt 116 failed
chen harbor 15 pending
hana amber 84 ready
bruno amber 88 ready
chen fable 32 ready
| dina birch 114 pending
gus birch 97 ready
gus grove 28 failed
eli cobalt 116 failed
chen harbor 15 pending
hana amber 84 ready
bruno amber 88 ready
chen fable 32 ready
| delete_blank | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007282 | Print only the first 3 lines. | sed -n 1,3p | dina grove 116 ready
chen cobalt 37 closed
dina birch 70 failed
gus birch 36 pending
bruno birch 56 active
alice birch 23 active
hana ember 22 ready
| dina grove 116 ready
chen cobalt 37 closed
dina birch 70 failed
| eli cobalt 41 pending
farah cobalt 75 pending
eli birch 66 ready
dina fable 27 pending
alice harbor 105 failed
dina amber 40 active
| eli cobalt 41 pending
farah cobalt 75 pending
eli birch 66 ready
| first_n | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007287 | Insert the line complete immediately before every line containing pending. | sed '/pending/i complete' | hana delta 118 closed
alice ember 67 pending
gus fable 36 failed
farah ember 95 closed
dina amber 31 closed
gus fable 119 ready
alice harbor 21 failed
| hana delta 118 closed
complete
alice ember 67 pending
gus fable 36 failed
farah ember 95 closed
dina amber 31 closed
gus fable 119 ready
alice harbor 21 failed
| chen amber 75 active
dina grove 70 pending
alice grove 81 active
hana harbor 118 closed
hana amber 54 pending
chen harbor 20 failed
bruno cobalt 96 ready
| chen amber 75 active
complete
dina grove 70 pending
alice grove 81 active
hana harbor 118 closed
complete
hana amber 54 pending
chen harbor 20 failed
bruno cobalt 96 ready
| insert_before | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007301 | Print only the first 6 characters of each line. | sed 's/^\(.\{6\}\).*/\1/' | gus grove 3 ready
eli grove 99 ready
eli birch 40 ready
chen grove 32 active
alice harbor 111 failed
alice grove 38 active
farah cobalt 78 closed
| gus gr
eli gr
eli bi
chen g
alice
alice
farah
| alice birch 91 pending
gus delta 57 failed
farah fable 100 active
chen delta 86 ready
farah delta 24 pending
eli delta 93 closed
hana cobalt 91 closed
bruno grove 79 ready
eli cobalt 60 pending
| alice
gus de
farah
chen d
farah
eli de
hana c
bruno
eli co
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007302 | Delete everything from the line containing delta through the line containing fable, inclusive. | sed /delta/,/fable/d | gus cobalt 37 ready
bruno grove 11 closed
bruno harbor 10 failed
bruno delta 116 ready
gus amber 99 pending
eli amber 34 failed
bruno fable 4 pending
bruno fable 104 ready
| gus cobalt 37 ready
bruno grove 11 closed
bruno harbor 10 failed
bruno fable 104 ready
| farah cobalt 11 closed
chen harbor 88 active
eli harbor 22 active
hana harbor 35 closed
farah amber 22 failed
eli amber 85 active
dina grove 105 failed
chen amber 69 failed
| farah cobalt 11 closed
chen harbor 88 active
eli harbor 22 active
hana harbor 35 closed
farah amber 22 failed
eli amber 85 active
dina grove 105 failed
chen amber 69 failed
| delete_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007306 | Print each input line's number, without printing the line contents. | sed = | bruno grove 110 closed
dina amber 78 active
alice cobalt 73 active
gus harbor 83 ready
bruno birch 106 closed
alice delta 66 pending
dina delta 75 ready
alice amber 52 ready
| 1
bruno grove 110 closed
2
dina amber 78 active
3
alice cobalt 73 active
4
gus harbor 83 ready
5
bruno birch 106 closed
6
alice delta 66 pending
7
dina delta 75 ready
8
alice amber 52 ready
| hana birch 18 active
hana cobalt 36 failed
farah amber 18 pending
hana cobalt 119 closed
hana grove 20 failed
dina grove 118 pending
dina birch 95 ready
bruno grove 105 pending
| 1
hana birch 18 active
2
hana cobalt 36 failed
3
farah amber 18 pending
4
hana cobalt 119 closed
5
hana grove 20 failed
6
dina grove 118 pending
7
dina birch 95 ready
8
bruno grove 105 pending
| number_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007303 | Print only the block from the line containing amber through the line containing cobalt, inclusive. | sed -n /amber/,/cobalt/p | farah grove 17 closed
bruno cobalt 65 ready
alice amber 89 active
alice ember 74 active
farah cobalt 82 pending
dina delta 120 failed
chen birch 88 active
chen birch 56 closed
| alice amber 89 active
alice ember 74 active
farah cobalt 82 pending
| farah fable 12 closed
hana grove 26 closed
farah ember 81 closed
dina fable 90 pending
chen fable 38 ready
hana amber 25 ready
| hana amber 25 ready
| print_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007305 | Replace every sequence of digits with the letter N. | sed 's/[0-9][0-9]*/N/g' | farah harbor 111 failed
eli fable 40 failed
chen cobalt 75 active
bruno fable 71 failed
dina birch 52 closed
dina delta 16 pending
eli ember 12 closed
| farah harbor N failed
eli fable N failed
chen cobalt N active
bruno fable N failed
dina birch N closed
dina delta N pending
eli ember N closed
| dina ember 48 active
gus grove 76 closed
chen ember 109 closed
farah delta 92 closed
chen harbor 76 pending
gus ember 35 failed
dina amber 75 active
alice delta 54 pending
| dina ember N active
gus grove N closed
chen ember N closed
farah delta N closed
chen harbor N pending
gus ember N failed
dina amber N active
alice delta N pending
| digits_mask | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007311 | Replace every occurrence of ember with delta throughout the input. | sed s/ember/delta/g | farah delta 5 active
dina grove 40 ready
bruno harbor 66 ready
bruno fable 16 active
hana grove 17 pending
eli cobalt 64 pending
| farah delta 5 active
dina grove 40 ready
bruno harbor 66 ready
bruno fable 16 active
hana grove 17 pending
eli cobalt 64 pending
| hana harbor 11 ready
bruno fable 82 pending
eli fable 101 failed
bruno harbor 69 ready
farah harbor 103 ready
gus delta 80 active
chen fable 44 closed
| hana harbor 11 ready
bruno fable 82 pending
eli fable 101 failed
bruno harbor 69 ready
farah harbor 103 ready
gus delta 80 active
chen fable 44 closed
| substitute_global | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007300 | Delete all lines beginning with #. | sed '/^#/d' | hana grove 40 failed
# note
gus birch 47 active
bruno ember 61 pending
farah cobalt 105 closed
chen amber 34 active
eli grove 44 pending
hana grove 39 closed
farah birch 69 active
bruno delta 98 active
| hana grove 40 failed
gus birch 47 active
bruno ember 61 pending
farah cobalt 105 closed
chen amber 34 active
eli grove 44 pending
hana grove 39 closed
farah birch 69 active
bruno delta 98 active
| gus amber 0 ready
# note
chen amber 52 pending
bruno amber 68 active
gus cobalt 75 closed
bruno cobalt 88 failed
eli amber 69 failed
chen harbor 20 closed
chen ember 13 ready
| gus amber 0 ready
chen amber 52 pending
bruno amber 68 active
gus cobalt 75 closed
bruno cobalt 88 failed
eli amber 69 failed
chen harbor 20 closed
chen ember 13 ready
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007307 | Remove the first character from every line. | sed 's/^.//' | farah amber 69 active
gus cobalt 92 ready
eli grove 93 active
hana ember 104 pending
bruno fable 30 pending
chen ember 13 closed
| arah amber 69 active
us cobalt 92 ready
li grove 93 active
ana ember 104 pending
runo fable 30 pending
hen ember 13 closed
| bruno harbor 36 closed
gus birch 59 ready
alice birch 12 failed
hana ember 47 active
eli birch 83 active
bruno cobalt 45 ready
alice grove 60 active
alice ember 67 failed
dina ember 63 closed
| runo harbor 36 closed
us birch 59 ready
lice birch 12 failed
ana ember 47 active
li birch 83 active
runo cobalt 45 ready
lice grove 60 active
lice ember 67 failed
ina ember 63 closed
| delete_first_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007304 | 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-0007308 | Remove the last character from every line. | sed 's/.$//' | bruno fable 48 pending
bruno amber 82 pending
bruno birch 31 active
bruno fable 84 pending
chen grove 87 failed
dina grove 117 failed
| bruno fable 48 pendin
bruno amber 82 pendin
bruno birch 31 activ
bruno fable 84 pendin
chen grove 87 faile
dina grove 117 faile
| bruno delta 12 closed
hana birch 69 pending
hana ember 65 active
farah fable 6 failed
hana amber 113 failed
bruno birch 15 closed
chen harbor 9 pending
chen amber 35 active
| bruno delta 12 close
hana birch 69 pendin
hana ember 65 activ
farah fable 6 faile
hana amber 113 faile
bruno birch 15 close
chen harbor 9 pendin
chen amber 35 activ
| delete_last_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007309 | Print only the second comma-separated field from each line. | sed 's/[^,]*,\([^,]*\).*/\1/' | gus,amber,60,active
hana,cobalt,41,failed
dina,harbor,7,active
alice,delta,105,pending
chen,cobalt,55,active
alice,ember,119,closed
bruno,birch,24,closed
eli,ember,101,active
| amber
cobalt
harbor
delta
cobalt
ember
birch
ember
| gus,amber,84,closed
chen,birch,7,closed
dina,fable,45,active
hana,harbor,1,active
bruno,delta,78,active
alice,ember,88,failed
bruno,harbor,29,closed
| amber
birch
fable
harbor
delta
ember
harbor
| extract_second_csv | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007315 | Delete lines 3 through 4, leaving all other lines unchanged. | sed 3,4d | dina harbor 25 pending
chen amber 72 ready
bruno cobalt 16 closed
hana amber 66 active
bruno harbor 57 active
alice birch 98 failed
bruno birch 113 active
dina grove 38 closed
bruno birch 67 ready
| dina harbor 25 pending
chen amber 72 ready
bruno harbor 57 active
alice birch 98 failed
bruno birch 113 active
dina grove 38 closed
bruno birch 67 ready
| alice amber 59 closed
chen ember 104 pending
gus grove 3 active
dina grove 15 closed
gus delta 81 ready
hana ember 90 ready
eli fable 7 closed
bruno ember 25 active
| alice amber 59 closed
chen ember 104 pending
gus delta 81 ready
hana ember 90 ready
eli fable 7 closed
bruno ember 25 active
| delete_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007312 | Delete every line containing ready. | sed /ready/d | chen cobalt 15 failed
hana amber 86 failed
gus harbor 17 closed
bruno amber 66 ready
bruno harbor 43 pending
bruno delta 9 ready
farah grove 42 failed
bruno cobalt 26 pending
bruno harbor 73 pending
| chen cobalt 15 failed
hana amber 86 failed
gus harbor 17 closed
bruno harbor 43 pending
farah grove 42 failed
bruno cobalt 26 pending
bruno harbor 73 pending
| eli harbor 110 closed
farah ember 16 closed
eli fable 20 closed
hana harbor 66 pending
hana grove 27 failed
farah ember 67 failed
| eli harbor 110 closed
farah ember 16 closed
eli fable 20 closed
hana harbor 66 pending
hana grove 27 failed
farah ember 67 failed
| regex_delete | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007316 | Print only the first 3 lines. | sed -n 1,3p | chen amber 43 closed
bruno birch 18 failed
gus harbor 88 pending
chen ember 115 failed
farah ember 102 ready
chen harbor 20 active
| chen amber 43 closed
bruno birch 18 failed
gus harbor 88 pending
| bruno amber 0 closed
chen ember 13 pending
eli delta 7 active
alice amber 95 pending
gus grove 29 failed
eli amber 87 active
hana harbor 99 failed
hana fable 92 active
| bruno amber 0 closed
chen ember 13 pending
eli delta 7 active
| first_n | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007313 | Print only lines containing failed; suppress all others. | sed -n /failed/p | gus delta 60 pending
bruno grove 102 ready
eli amber 41 failed
eli fable 39 ready
chen fable 105 closed
hana ember 103 failed
chen grove 55 ready
| eli amber 41 failed
hana ember 103 failed
| chen fable 33 active
chen ember 116 pending
bruno harbor 87 ready
dina harbor 59 failed
gus amber 120 ready
gus ember 92 ready
| dina harbor 59 failed
| regex_print | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007310 | Replace the first occurrence of cobalt with ember on each line. | sed s/cobalt/ember/ | eli amber 84 ready
alice delta 113 ready
eli cobalt 98 active
chen harbor 113 pending
chen birch 97 active
eli harbor 119 active
dina fable 52 active
chen birch 95 ready
| eli amber 84 ready
alice delta 113 ready
eli ember 98 active
chen harbor 113 pending
chen birch 97 active
eli harbor 119 active
dina fable 52 active
chen birch 95 ready
| bruno amber 97 pending
hana harbor 112 failed
eli harbor 73 pending
eli amber 62 active
hana delta 37 failed
bruno ember 40 closed
farah harbor 63 pending
chen harbor 101 pending
farah cobalt 34 ready
| bruno amber 97 pending
hana harbor 112 failed
eli harbor 73 pending
eli amber 62 active
hana delta 37 failed
bruno ember 40 closed
farah harbor 63 pending
chen harbor 101 pending
farah ember 34 ready
| substitute_first | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007319 | Print odd-numbered lines: lines 1, 3, 5, and so on. | sed -n '0~2p' | chen birch 26 closed
alice cobalt 44 failed
eli cobalt 53 closed
farah delta 70 active
dina birch 12 pending
chen harbor 54 closed
dina ember 101 ready
eli cobalt 78 closed
alice harbor 23 pending
| alice cobalt 44 failed
farah delta 70 active
chen harbor 54 closed
eli cobalt 78 closed
| gus delta 2 pending
farah cobalt 94 closed
bruno birch 108 active
hana fable 52 failed
chen harbor 112 pending
dina amber 21 failed
chen amber 104 failed
eli birch 56 pending
| farah cobalt 94 closed
hana fable 52 failed
dina amber 21 failed
eli birch 56 pending
| every_other | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007314 | Print lines 2 through 5, inclusive, and nothing else. | sed -n 2,5p | hana amber 54 active
eli delta 73 failed
bruno grove 101 pending
bruno birch 93 pending
chen ember 47 closed
bruno grove 45 pending
gus amber 40 ready
| eli delta 73 failed
bruno grove 101 pending
bruno birch 93 pending
chen ember 47 closed
| alice cobalt 112 failed
dina cobalt 54 pending
hana amber 61 closed
alice harbor 26 ready
farah delta 11 failed
dina cobalt 56 closed
chen delta 49 pending
hana birch 116 active
dina harbor 56 failed
| dina cobalt 54 pending
hana amber 61 closed
alice harbor 26 ready
farah delta 11 failed
| line_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007324 | Remove all leading spaces and tabs from each line. | sed 's/^[ \t]*//' | chen harbor 24 closed
farah harbor 32 active
hana fable 55 active
dina fable 77 ready
bruno ember 102 failed
dina delta 95 ready
dina grove 53 ready
| chen harbor 24 closed
farah harbor 32 active
hana fable 55 active
dina fable 77 ready
bruno ember 102 failed
dina delta 95 ready
dina grove 53 ready
| dina delta 61 pending
dina harbor 48 active
eli delta 34 pending
gus cobalt 87 failed
chen fable 94 pending
eli cobalt 69 closed
dina grove 3 failed
farah cobalt 116 failed
dina fable 33 active
| dina delta 61 pending
dina harbor 48 active
eli delta 34 pending
gus cobalt 87 failed
chen fable 94 pending
eli cobalt 69 closed
dina grove 3 failed
farah cobalt 116 failed
dina fable 33 active
| strip_leading | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007322 | Replace every full line containing failed with the single line reviewed. | sed '/failed/c reviewed' | alice grove 109 ready
farah amber 14 closed
bruno fable 41 ready
dina cobalt 0 pending
eli amber 28 ready
alice harbor 105 ready
bruno cobalt 72 closed
hana birch 115 closed
| alice grove 109 ready
farah amber 14 closed
bruno fable 41 ready
dina cobalt 0 pending
eli amber 28 ready
alice harbor 105 ready
bruno cobalt 72 closed
hana birch 115 closed
| chen fable 103 failed
gus fable 3 ready
farah delta 8 failed
gus fable 61 ready
eli cobalt 79 failed
alice harbor 58 ready
alice amber 81 failed
eli birch 111 ready
hana cobalt 46 failed
| reviewed
gus fable 3 ready
reviewed
gus fable 61 ready
reviewed
alice harbor 58 ready
reviewed
eli birch 111 ready
reviewed
| change_line | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007320 | Append the line complete immediately after every line containing ready. | sed '/ready/a complete' | bruno delta 21 active
dina fable 79 ready
chen grove 9 ready
eli fable 26 active
bruno amber 51 ready
hana fable 45 pending
| bruno delta 21 active
dina fable 79 ready
complete
chen grove 9 ready
complete
eli fable 26 active
bruno amber 51 ready
complete
hana fable 45 pending
| farah cobalt 98 closed
gus delta 79 closed
bruno delta 99 pending
alice delta 92 ready
hana cobalt 99 pending
chen harbor 71 ready
hana fable 89 failed
eli birch 68 failed
chen grove 29 failed
| farah cobalt 98 closed
gus delta 79 closed
bruno delta 99 pending
alice delta 92 ready
complete
hana cobalt 99 pending
chen harbor 71 ready
complete
hana fable 89 failed
eli birch 68 failed
chen grove 29 failed
| append_after | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007318 | Delete the last line of the input and print all remaining lines. | sed '$d' | eli delta 80 failed
eli ember 86 ready
farah cobalt 87 closed
hana harbor 55 active
farah birch 85 failed
chen delta 13 pending
eli fable 43 failed
bruno ember 89 active
| eli delta 80 failed
eli ember 86 ready
farah cobalt 87 closed
hana harbor 55 active
farah birch 85 failed
chen delta 13 pending
eli fable 43 failed
| dina amber 14 failed
farah fable 33 failed
alice cobalt 96 pending
eli amber 112 failed
dina amber 55 ready
alice amber 40 ready
| dina amber 14 failed
farah fable 33 failed
alice cobalt 96 pending
eli amber 112 failed
dina amber 55 ready
| delete_last | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007317 | Print only the last line of the input. | sed -n '$p' | eli cobalt 67 active
gus delta 90 closed
hana grove 49 ready
eli harbor 30 active
hana amber 62 failed
farah ember 63 pending
| farah ember 63 pending
| alice cobalt 23 active
hana amber 118 pending
dina amber 82 active
farah ember 26 failed
bruno birch 117 failed
eli delta 29 failed
chen ember 5 closed
eli birch 96 ready
| eli birch 96 ready
| last_line | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007321 | Insert the line complete immediately before every line containing pending. | sed '/pending/i complete' | alice delta 52 failed
gus cobalt 64 pending
bruno grove 3 failed
alice cobalt 95 failed
hana cobalt 5 failed
farah cobalt 8 closed
hana fable 115 closed
dina grove 78 closed
dina fable 53 active
| alice delta 52 failed
complete
gus cobalt 64 pending
bruno grove 3 failed
alice cobalt 95 failed
hana cobalt 5 failed
farah cobalt 8 closed
hana fable 115 closed
dina grove 78 closed
dina fable 53 active
| farah delta 34 closed
dina delta 5 active
chen amber 49 closed
eli ember 111 pending
farah amber 66 closed
dina grove 56 closed
chen cobalt 107 closed
gus harbor 96 active
| farah delta 34 closed
dina delta 5 active
chen amber 49 closed
complete
eli ember 111 pending
farah amber 66 closed
dina grove 56 closed
chen cobalt 107 closed
gus harbor 96 active
| insert_before | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0007323 | Delete all empty lines while preserving every nonempty line. | sed '/^$/d' | chen cobalt 54 active
bruno harbor 95 failed
chen fable 49 active
gus grove 81 closed
dina delta 73 active
farah ember 92 ready
hana ember 117 failed
gus birch 10 failed
farah cobalt 44 pending
| chen cobalt 54 active
bruno harbor 95 failed
chen fable 49 active
gus grove 81 closed
dina delta 73 active
farah ember 92 ready
hana ember 117 failed
gus birch 10 failed
farah cobalt 44 pending
| farah delta 57 pending
hana cobalt 71 failed
eli amber 12 closed
alice ember 6 failed
eli harbor 43 active
farah fable 13 failed
gus grove 99 failed
bruno cobalt 115 closed
| farah delta 57 pending
hana cobalt 71 failed
eli amber 12 closed
alice ember 6 failed
eli harbor 43 active
farah fable 13 failed
gus grove 99 failed
bruno cobalt 115 closed
| delete_blank | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007327 | Convert every input line to uppercase. | sed 's/.*/\U&/' | bruno grove 78 pending
eli grove 31 active
alice birch 95 active
eli birch 2 pending
hana fable 113 ready
alice fable 5 active
eli birch 29 failed
chen grove 13 pending
| BRUNO GROVE 78 PENDING
ELI GROVE 31 ACTIVE
ALICE BIRCH 95 ACTIVE
ELI BIRCH 2 PENDING
HANA FABLE 113 READY
ALICE FABLE 5 ACTIVE
ELI BIRCH 29 FAILED
CHEN GROVE 13 PENDING
| gus grove 91 closed
farah birch 116 ready
dina birch 89 failed
bruno amber 13 failed
chen amber 89 active
gus delta 31 closed
hana fable 2 active
gus ember 86 failed
| GUS GROVE 91 CLOSED
FARAH BIRCH 116 READY
DINA BIRCH 89 FAILED
BRUNO AMBER 13 FAILED
CHEN AMBER 89 ACTIVE
GUS DELTA 31 CLOSED
HANA FABLE 2 ACTIVE
GUS EMBER 86 FAILED
| uppercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007331 | Add the prefix notice followed by a space to the start of every line. | sed 's/^/notice /' | alice fable 13 pending
farah harbor 52 pending
hana ember 60 ready
farah delta 85 pending
eli grove 22 active
chen delta 9 ready
| notice alice fable 13 pending
notice farah harbor 52 pending
notice hana ember 60 ready
notice farah delta 85 pending
notice eli grove 22 active
notice chen delta 9 ready
| farah fable 69 pending
bruno cobalt 32 pending
eli cobalt 46 pending
gus grove 87 closed
chen delta 92 active
dina amber 9 active
bruno cobalt 34 ready
eli birch 119 closed
gus birch 75 closed
| notice farah fable 69 pending
notice bruno cobalt 32 pending
notice eli cobalt 46 pending
notice gus grove 87 closed
notice chen delta 92 active
notice dina amber 9 active
notice bruno cobalt 34 ready
notice eli birch 119 closed
notice gus birch 75 closed
| add_prefix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007325 | Remove all trailing spaces and tabs from each line. | sed 's/[ \t]*$//' | alice harbor 21 pending
alice birch 9 active
alice ember 57 failed
farah birch 17 active
chen delta 28 pending
hana grove 9 pending
gus birch 39 pending
farah ember 3 active
| alice harbor 21 pending
alice birch 9 active
alice ember 57 failed
farah birch 17 active
chen delta 28 pending
hana grove 9 pending
gus birch 39 pending
farah ember 3 active
| farah amber 22 active
chen birch 117 active
alice cobalt 92 ready
bruno amber 79 closed
dina harbor 1 ready
eli birch 60 ready
gus delta 65 ready
eli delta 18 pending
| farah amber 22 active
chen birch 117 active
alice cobalt 92 ready
bruno amber 79 closed
dina harbor 1 ready
eli birch 60 ready
gus delta 65 ready
eli delta 18 pending
| strip_trailing | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007328 | Convert every input line to lowercase. | sed 's/.*/\L&/' | hana delta 21 failed
dina grove 33 active
alice amber 47 pending
farah harbor 34 failed
bruno grove 83 active
bruno birch 103 active
chen cobalt 47 active
dina grove 16 failed
| hana delta 21 failed
dina grove 33 active
alice amber 47 pending
farah harbor 34 failed
bruno grove 83 active
bruno birch 103 active
chen cobalt 47 active
dina grove 16 failed
| dina birch 38 failed
eli ember 44 ready
dina amber 69 pending
alice amber 80 pending
dina grove 120 pending
eli harbor 87 pending
dina grove 79 active
gus amber 42 failed
| dina birch 38 failed
eli ember 44 ready
dina amber 69 pending
alice amber 80 pending
dina grove 120 pending
eli harbor 87 pending
dina grove 79 active
gus amber 42 failed
| lowercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0007329 | Swap the first two whitespace-separated fields on every line. | sed 's/\([^ ]*\) \([^ ]*\)/\2 \1/' | eli amber 89 closed
hana cobalt 58 failed
dina fable 69 failed
dina harbor 18 pending
gus cobalt 101 pending
chen fable 64 active
farah fable 89 ready
eli amber 93 failed
alice harbor 108 active
| amber eli 89 closed
cobalt hana 58 failed
fable dina 69 failed
harbor dina 18 pending
cobalt gus 101 pending
fable chen 64 active
fable farah 89 ready
amber eli 93 failed
harbor alice 108 active
| hana delta 78 failed
farah delta 13 active
eli birch 90 active
eli delta 40 active
gus harbor 19 failed
hana birch 38 pending
farah cobalt 6 failed
| delta hana 78 failed
delta farah 13 active
birch eli 90 active
delta eli 40 active
harbor gus 19 failed
birch hana 38 pending
cobalt farah 6 failed
| swap_fields | 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.