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-0012772 | Append a space and reviewed to the end of every line. | sed 's/$/ reviewed/' | eli birch 14 ready
hana birch 112 active
eli cobalt 51 active
bruno birch 55 ready
chen delta 74 active
dina delta 31 closed
hana birch 93 pending
| eli birch 14 ready reviewed
hana birch 112 active reviewed
eli cobalt 51 active reviewed
bruno birch 55 ready reviewed
chen delta 74 active reviewed
dina delta 31 closed reviewed
hana birch 93 pending reviewed
| eli ember 43 ready
hana fable 113 active
eli fable 78 pending
chen grove 14 failed
alice fable 96 failed
hana amber 66 ready
farah grove 113 pending
| eli ember 43 ready reviewed
hana fable 113 active reviewed
eli fable 78 pending reviewed
chen grove 14 failed reviewed
alice fable 96 failed reviewed
hana amber 66 ready reviewed
farah grove 113 pending reviewed
| add_suffix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012771 | Add the prefix record followed by a space to the start of every line. | sed 's/^/record /' | farah birch 74 closed
bruno amber 70 pending
gus ember 39 closed
alice fable 54 failed
gus grove 27 active
chen fable 76 active
eli ember 106 failed
chen amber 23 ready
chen fable 1 failed
| record farah birch 74 closed
record bruno amber 70 pending
record gus ember 39 closed
record alice fable 54 failed
record gus grove 27 active
record chen fable 76 active
record eli ember 106 failed
record chen amber 23 ready
record chen fable 1 failed
| farah birch 59 active
alice birch 28 active
chen birch 32 pending
eli cobalt 1 ready
hana ember 65 pending
dina cobalt 61 pending
| record farah birch 59 active
record alice birch 28 active
record chen birch 32 pending
record eli cobalt 1 ready
record hana ember 65 pending
record dina cobalt 61 pending
| add_prefix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012765 | Remove all trailing spaces and tabs from each line. | sed 's/[ \t]*$//' | dina fable 110 active
chen delta 51 active
gus cobalt 52 failed
bruno amber 65 ready
farah birch 84 failed
alice fable 44 active
eli cobalt 0 ready
dina ember 64 pending
| dina fable 110 active
chen delta 51 active
gus cobalt 52 failed
bruno amber 65 ready
farah birch 84 failed
alice fable 44 active
eli cobalt 0 ready
dina ember 64 pending
| alice cobalt 74 closed
hana birch 92 pending
alice fable 31 closed
chen amber 2 active
farah birch 9 failed
hana cobalt 45 pending
| alice cobalt 74 closed
hana birch 92 pending
alice fable 31 closed
chen amber 2 active
farah birch 9 failed
hana cobalt 45 pending
| strip_trailing | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012767 | Convert every input line to uppercase. | sed 's/.*/\U&/' | gus harbor 28 ready
gus ember 105 closed
farah delta 50 failed
bruno birch 28 failed
gus birch 50 closed
farah birch 35 failed
gus harbor 48 failed
| GUS HARBOR 28 READY
GUS EMBER 105 CLOSED
FARAH DELTA 50 FAILED
BRUNO BIRCH 28 FAILED
GUS BIRCH 50 CLOSED
FARAH BIRCH 35 FAILED
GUS HARBOR 48 FAILED
| hana amber 89 pending
dina amber 101 active
eli amber 97 ready
gus delta 87 active
hana fable 20 failed
eli grove 61 pending
dina ember 28 ready
chen amber 20 failed
| HANA AMBER 89 PENDING
DINA AMBER 101 ACTIVE
ELI AMBER 97 READY
GUS DELTA 87 ACTIVE
HANA FABLE 20 FAILED
ELI GROVE 61 PENDING
DINA EMBER 28 READY
CHEN AMBER 20 FAILED
| uppercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012778 | 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-0012775 | Print only the first 4 characters of each line. | sed 's/^\(.\{4\}\).*/\1/' | eli delta 46 failed
dina cobalt 27 closed
alice grove 28 closed
hana birch 118 closed
bruno cobalt 66 closed
bruno ember 112 ready
alice birch 77 closed
| eli
dina
alic
hana
brun
brun
alic
| gus delta 94 ready
gus delta 88 pending
eli amber 76 ready
alice amber 24 ready
dina amber 117 closed
alice birch 54 ready
hana ember 110 ready
alice cobalt 43 failed
| gus
gus
eli
alic
dina
alic
hana
alic
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012774 | Delete all lines beginning with #. | sed '/^#/d' | gus grove 76 pending
# note
chen birch 81 ready
farah birch 97 active
hana amber 1 ready
dina fable 44 failed
farah delta 12 closed
| gus grove 76 pending
chen birch 81 ready
farah birch 97 active
hana amber 1 ready
dina fable 44 failed
farah delta 12 closed
| dina delta 112 ready
# note
gus harbor 10 failed
eli grove 54 pending
eli fable 0 failed
hana grove 7 pending
dina cobalt 52 active
| dina delta 112 ready
gus harbor 10 failed
eli grove 54 pending
eli fable 0 failed
hana grove 7 pending
dina cobalt 52 active
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012776 | Delete everything from the line containing ember through the line containing cobalt, inclusive. | sed /ember/,/cobalt/d | hana cobalt 70 active
bruno birch 19 closed
farah cobalt 33 pending
gus birch 6 active
alice grove 71 pending
alice fable 7 failed
gus cobalt 20 pending
alice cobalt 86 failed
| hana cobalt 70 active
bruno birch 19 closed
farah cobalt 33 pending
gus birch 6 active
alice grove 71 pending
alice fable 7 failed
gus cobalt 20 pending
alice cobalt 86 failed
| hana fable 42 closed
alice ember 120 ready
farah cobalt 105 active
farah grove 91 active
bruno amber 40 closed
chen ember 48 pending
| hana fable 42 closed
farah grove 91 active
bruno amber 40 closed
| delete_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012779 | Replace every sequence of digits with the letter N. | sed 's/[0-9][0-9]*/N/g' | chen grove 106 closed
bruno grove 42 active
dina cobalt 74 active
hana birch 114 closed
hana delta 62 failed
chen harbor 39 pending
chen delta 14 active
| chen grove N closed
bruno grove N active
dina cobalt N active
hana birch N closed
hana delta N failed
chen harbor N pending
chen delta N active
| alice fable 110 pending
hana cobalt 15 pending
chen delta 25 active
alice birch 105 failed
alice cobalt 105 active
hana birch 117 ready
| alice fable N pending
hana cobalt N pending
chen delta N active
alice birch N failed
alice cobalt N active
hana birch N ready
| digits_mask | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012777 | Print only the block from the line containing amber through the line containing grove, inclusive. | sed -n /amber/,/grove/p | dina harbor 67 closed
farah fable 51 failed
bruno fable 47 closed
chen birch 49 closed
alice harbor 33 failed
farah amber 36 failed
| farah amber 36 failed
| dina harbor 75 ready
bruno ember 100 failed
gus cobalt 88 failed
alice birch 42 failed
farah ember 118 closed
farah grove 37 failed
chen harbor 107 pending
| print_between | 2 | train | original-grammar | CC-BY-4.0 | |
sedweave-0012781 | Remove the first character from every line. | sed 's/^.//' | eli amber 21 failed
alice grove 112 ready
chen amber 35 pending
farah fable 91 pending
chen amber 68 closed
farah fable 111 active
dina amber 114 active
gus grove 5 failed
alice amber 49 closed
| li amber 21 failed
lice grove 112 ready
hen amber 35 pending
arah fable 91 pending
hen amber 68 closed
arah fable 111 active
ina amber 114 active
us grove 5 failed
lice amber 49 closed
| hana fable 66 active
bruno birch 66 pending
gus cobalt 97 closed
dina ember 39 active
eli ember 89 active
eli delta 23 ready
| ana fable 66 active
runo birch 66 pending
us cobalt 97 closed
ina ember 39 active
li ember 89 active
li delta 23 ready
| delete_first_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012782 | Remove the last character from every line. | sed 's/.$//' | chen birch 43 closed
bruno harbor 57 active
chen amber 47 ready
dina birch 56 pending
hana amber 37 active
alice fable 42 ready
gus grove 34 closed
eli fable 118 closed
| chen birch 43 close
bruno harbor 57 activ
chen amber 47 read
dina birch 56 pendin
hana amber 37 activ
alice fable 42 read
gus grove 34 close
eli fable 118 close
| bruno grove 35 failed
eli harbor 56 active
eli amber 74 pending
eli fable 29 active
alice ember 110 pending
hana grove 113 ready
hana grove 19 pending
alice amber 53 active
farah birch 2 pending
| bruno grove 35 faile
eli harbor 56 activ
eli amber 74 pendin
eli fable 29 activ
alice ember 110 pendin
hana grove 113 read
hana grove 19 pendin
alice amber 53 activ
farah birch 2 pendin
| delete_last_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012780 | Print each input line's number, without printing the line contents. | sed = | chen delta 14 failed
eli ember 75 closed
eli cobalt 8 closed
alice harbor 100 active
chen grove 103 pending
hana grove 81 failed
farah harbor 73 active
| 1
chen delta 14 failed
2
eli ember 75 closed
3
eli cobalt 8 closed
4
alice harbor 100 active
5
chen grove 103 pending
6
hana grove 81 failed
7
farah harbor 73 active
| bruno amber 66 failed
eli delta 52 ready
chen amber 120 ready
hana birch 77 failed
dina cobalt 34 pending
eli fable 115 pending
eli cobalt 89 active
farah ember 80 closed
| 1
bruno amber 66 failed
2
eli delta 52 ready
3
chen amber 120 ready
4
hana birch 77 failed
5
dina cobalt 34 pending
6
eli fable 115 pending
7
eli cobalt 89 active
8
farah ember 80 closed
| number_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012788 | Print lines 3 through 5, inclusive, and nothing else. | sed -n 3,5p | dina delta 118 ready
hana amber 115 ready
hana amber 6 active
chen harbor 34 pending
farah harbor 82 pending
bruno fable 20 ready
eli amber 40 pending
gus amber 79 closed
| hana amber 6 active
chen harbor 34 pending
farah harbor 82 pending
| dina cobalt 88 pending
alice grove 71 active
alice delta 88 ready
chen harbor 27 ready
bruno delta 33 failed
gus delta 65 active
bruno cobalt 111 pending
| alice delta 88 ready
chen harbor 27 ready
bruno delta 33 failed
| line_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012785 | Replace every occurrence of fable with cobalt throughout the input. | sed s/fable/cobalt/g | bruno fable 5 pending
farah delta 38 pending
bruno grove 46 failed
hana delta 58 closed
gus fable 23 ready
farah cobalt 0 pending
hana harbor 53 active
| bruno cobalt 5 pending
farah delta 38 pending
bruno grove 46 failed
hana delta 58 closed
gus cobalt 23 ready
farah cobalt 0 pending
hana harbor 53 active
| eli harbor 32 ready
eli fable 10 pending
chen cobalt 70 active
alice harbor 21 failed
gus harbor 78 active
eli harbor 85 ready
eli ember 44 closed
| eli harbor 32 ready
eli cobalt 10 pending
chen cobalt 70 active
alice harbor 21 failed
gus harbor 78 active
eli harbor 85 ready
eli ember 44 closed
| substitute_global | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012784 | Replace the first occurrence of birch with ember on each line. | sed s/birch/ember/ | eli ember 103 pending
eli grove 4 ready
dina amber 17 closed
alice cobalt 81 active
hana ember 22 failed
gus grove 75 failed
farah cobalt 61 pending
| eli ember 103 pending
eli grove 4 ready
dina amber 17 closed
alice cobalt 81 active
hana ember 22 failed
gus grove 75 failed
farah cobalt 61 pending
| eli cobalt 52 active
hana cobalt 60 ready
dina cobalt 71 pending
chen grove 10 closed
dina harbor 58 active
farah delta 67 failed
dina harbor 107 pending
chen amber 117 pending
| eli cobalt 52 active
hana cobalt 60 ready
dina cobalt 71 pending
chen grove 10 closed
dina harbor 58 active
farah delta 67 failed
dina harbor 107 pending
chen amber 117 pending
| substitute_first | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012787 | Print only lines containing closed; suppress all others. | sed -n /closed/p | hana ember 53 active
alice amber 109 failed
dina birch 81 ready
chen grove 35 pending
farah fable 18 pending
bruno birch 34 active
hana harbor 74 closed
| hana harbor 74 closed
| bruno grove 1 closed
farah birch 41 active
chen amber 23 failed
dina cobalt 60 failed
farah harbor 86 ready
farah birch 3 ready
| bruno grove 1 closed
| regex_print | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012786 | Delete every line containing failed. | sed /failed/d | gus birch 22 closed
hana delta 13 ready
eli birch 120 active
farah fable 83 pending
eli ember 59 pending
farah harbor 17 closed
dina harbor 41 failed
| gus birch 22 closed
hana delta 13 ready
eli birch 120 active
farah fable 83 pending
eli ember 59 pending
farah harbor 17 closed
| farah delta 95 closed
hana delta 98 failed
farah fable 102 closed
dina grove 65 failed
eli cobalt 91 active
eli birch 67 active
eli cobalt 23 active
farah amber 22 closed
alice birch 119 pending
| farah delta 95 closed
farah fable 102 closed
eli cobalt 91 active
eli birch 67 active
eli cobalt 23 active
farah amber 22 closed
alice birch 119 pending
| regex_delete | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012783 | Print only the second comma-separated field from each line. | sed 's/[^,]*,\([^,]*\).*/\1/' | bruno,grove,64,pending
hana,cobalt,39,failed
eli,ember,83,closed
eli,fable,78,closed
gus,amber,95,pending
chen,fable,30,pending
dina,grove,34,closed
hana,ember,120,failed
| grove
cobalt
ember
fable
amber
fable
grove
ember
| hana,birch,87,ready
dina,amber,22,closed
hana,cobalt,28,pending
gus,harbor,13,active
dina,harbor,117,ready
eli,cobalt,42,active
bruno,fable,44,pending
dina,fable,21,ready
| birch
amber
cobalt
harbor
harbor
cobalt
fable
fable
| extract_second_csv | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012789 | Delete lines 3 through 4, leaving all other lines unchanged. | sed 3,4d | alice cobalt 70 active
eli birch 66 closed
alice amber 46 ready
bruno delta 68 closed
chen cobalt 107 pending
bruno birch 107 ready
| alice cobalt 70 active
eli birch 66 closed
chen cobalt 107 pending
bruno birch 107 ready
| dina amber 84 pending
dina delta 67 ready
chen harbor 37 ready
hana grove 38 ready
eli ember 11 failed
farah grove 112 pending
hana grove 80 active
alice amber 59 failed
eli delta 109 failed
| dina amber 84 pending
dina delta 67 ready
eli ember 11 failed
farah grove 112 pending
hana grove 80 active
alice amber 59 failed
eli delta 109 failed
| delete_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012801 | Convert every input line to uppercase. | sed 's/.*/\U&/' | chen amber 29 closed
bruno harbor 49 pending
gus amber 80 failed
hana birch 8 pending
bruno birch 120 pending
hana ember 53 active
hana delta 57 failed
| CHEN AMBER 29 CLOSED
BRUNO HARBOR 49 PENDING
GUS AMBER 80 FAILED
HANA BIRCH 8 PENDING
BRUNO BIRCH 120 PENDING
HANA EMBER 53 ACTIVE
HANA DELTA 57 FAILED
| dina harbor 78 pending
alice birch 104 pending
eli cobalt 9 active
hana delta 16 active
chen birch 43 pending
dina cobalt 60 ready
alice harbor 86 closed
hana birch 32 closed
dina amber 58 ready
| DINA HARBOR 78 PENDING
ALICE BIRCH 104 PENDING
ELI COBALT 9 ACTIVE
HANA DELTA 16 ACTIVE
CHEN BIRCH 43 PENDING
DINA COBALT 60 READY
ALICE HARBOR 86 CLOSED
HANA BIRCH 32 CLOSED
DINA AMBER 58 READY
| uppercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012800 | Collapse every run of spaces or tabs to a single space. | sed 's/[ \t]+/ /g' | bruno delta 82 closed
dina ember 16 ready
alice delta 103 active
eli harbor 29 failed
farah fable 99 closed
bruno ember 111 active
eli cobalt 20 failed
chen delta 7 active
hana ember 119 active
| bruno delta 82 closed
dina ember 16 ready
alice delta 103 active
eli harbor 29 failed
farah fable 99 closed
bruno ember 111 active
eli cobalt 20 failed
chen delta 7 active
hana ember 119 active
| hana cobalt 2 ready
gus amber 45 active
dina harbor 19 pending
farah harbor 44 active
alice birch 97 closed
chen amber 47 ready
| hana cobalt 2 ready
gus amber 45 active
dina harbor 19 pending
farah harbor 44 active
alice birch 97 closed
chen amber 47 ready
| collapse_space | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012804 | Replace every comma with a tab character. | sed 's/,/\t/g' | chen,amber,77,active
chen,fable,37,active
bruno,grove,53,ready
chen,birch,16,closed
chen,cobalt,116,ready
farah,amber,111,pending
chen,ember,62,ready
| chen amber 77 active
chen fable 37 active
bruno grove 53 ready
chen birch 16 closed
chen cobalt 116 ready
farah amber 111 pending
chen ember 62 ready
| dina,amber,10,pending
farah,fable,10,active
alice,cobalt,86,ready
bruno,grove,14,failed
farah,harbor,114,closed
chen,birch,26,ready
dina,harbor,84,failed
alice,fable,113,ready
farah,harbor,96,active
| dina amber 10 pending
farah fable 10 active
alice cobalt 86 ready
bruno grove 14 failed
farah harbor 114 closed
chen birch 26 ready
dina harbor 84 failed
alice fable 113 ready
farah harbor 96 active
| comma_to_tab | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012802 | Convert every input line to lowercase. | sed 's/.*/\L&/' | eli harbor 100 active
gus delta 12 ready
alice grove 74 ready
eli amber 46 pending
hana fable 80 failed
gus fable 99 closed
farah harbor 16 active
farah amber 19 pending
| eli harbor 100 active
gus delta 12 ready
alice grove 74 ready
eli amber 46 pending
hana fable 80 failed
gus fable 99 closed
farah harbor 16 active
farah amber 19 pending
| farah amber 78 closed
alice amber 3 failed
eli ember 66 failed
gus ember 6 pending
bruno cobalt 1 closed
bruno harbor 49 active
dina ember 3 active
| farah amber 78 closed
alice amber 3 failed
eli ember 66 failed
gus ember 6 pending
bruno cobalt 1 closed
bruno harbor 49 active
dina ember 3 active
| lowercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012803 | Swap the first two whitespace-separated fields on every line. | sed 's/\([^ ]*\) \([^ ]*\)/\2 \1/' | dina birch 34 failed
bruno ember 40 ready
alice ember 83 closed
gus birch 53 active
farah harbor 65 ready
bruno cobalt 54 closed
eli cobalt 17 failed
dina fable 55 active
| birch dina 34 failed
ember bruno 40 ready
ember alice 83 closed
birch gus 53 active
harbor farah 65 ready
cobalt bruno 54 closed
cobalt eli 17 failed
fable dina 55 active
| bruno delta 89 ready
hana fable 43 active
bruno harbor 90 ready
alice cobalt 68 failed
alice delta 85 failed
alice birch 108 pending
| delta bruno 89 ready
fable hana 43 active
harbor bruno 90 ready
cobalt alice 68 failed
delta alice 85 failed
birch alice 108 pending
| swap_fields | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012805 | Add the prefix INFO followed by a space to the start of every line. | sed 's/^/INFO /' | dina delta 54 failed
hana ember 98 active
eli ember 27 pending
chen delta 42 pending
bruno cobalt 16 pending
alice delta 119 active
eli birch 85 closed
gus delta 95 failed
farah cobalt 41 failed
| INFO dina delta 54 failed
INFO hana ember 98 active
INFO eli ember 27 pending
INFO chen delta 42 pending
INFO bruno cobalt 16 pending
INFO alice delta 119 active
INFO eli birch 85 closed
INFO gus delta 95 failed
INFO farah cobalt 41 failed
| gus cobalt 59 pending
chen grove 9 active
gus amber 22 active
bruno fable 21 active
chen fable 38 ready
alice cobalt 101 closed
dina fable 61 pending
| INFO gus cobalt 59 pending
INFO chen grove 9 active
INFO gus amber 22 active
INFO bruno fable 21 active
INFO chen fable 38 ready
INFO alice cobalt 101 closed
INFO dina fable 61 pending
| add_prefix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012808 | Delete all lines beginning with #. | sed '/^#/d' | farah delta 64 ready
# note
bruno cobalt 89 active
gus birch 53 active
alice cobalt 103 pending
eli cobalt 28 ready
hana amber 106 closed
chen birch 92 active
chen ember 100 failed
eli birch 5 ready
| farah delta 64 ready
bruno cobalt 89 active
gus birch 53 active
alice cobalt 103 pending
eli cobalt 28 ready
hana amber 106 closed
chen birch 92 active
chen ember 100 failed
eli birch 5 ready
| chen grove 62 ready
# note
hana cobalt 21 pending
dina grove 54 ready
eli harbor 27 closed
bruno fable 110 closed
alice amber 24 pending
farah grove 21 closed
chen birch 49 pending
| chen grove 62 ready
hana cobalt 21 pending
dina grove 54 ready
eli harbor 27 closed
bruno fable 110 closed
alice amber 24 pending
farah grove 21 closed
chen birch 49 pending
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012807 | Comment out every input line by adding # and a space at the start. | sed 's/^/# /' | eli amber 37 failed
alice delta 50 ready
dina cobalt 24 pending
hana amber 84 ready
eli delta 40 failed
eli cobalt 94 failed
farah harbor 32 failed
dina fable 17 pending
| # eli amber 37 failed
# alice delta 50 ready
# dina cobalt 24 pending
# hana amber 84 ready
# eli delta 40 failed
# eli cobalt 94 failed
# farah harbor 32 failed
# dina fable 17 pending
| bruno grove 117 pending
hana grove 22 ready
chen grove 34 closed
eli harbor 102 closed
eli amber 14 pending
hana harbor 84 ready
| # bruno grove 117 pending
# hana grove 22 ready
# chen grove 34 closed
# eli harbor 102 closed
# eli amber 14 pending
# hana harbor 84 ready
| comment_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012810 | Delete everything from the line containing harbor through the line containing birch, inclusive. | sed /harbor/,/birch/d | chen delta 7 failed
farah fable 16 pending
alice ember 56 ready
chen fable 53 ready
dina grove 46 failed
farah delta 7 pending
gus cobalt 58 active
bruno cobalt 118 pending
chen delta 52 failed
| chen delta 7 failed
farah fable 16 pending
alice ember 56 ready
chen fable 53 ready
dina grove 46 failed
farah delta 7 pending
gus cobalt 58 active
bruno cobalt 118 pending
chen delta 52 failed
| bruno cobalt 67 active
eli fable 4 active
eli harbor 78 active
dina grove 66 failed
bruno birch 12 ready
eli birch 92 closed
chen cobalt 107 ready
chen ember 27 active
alice fable 70 failed
| bruno cobalt 67 active
eli fable 4 active
eli birch 92 closed
chen cobalt 107 ready
chen ember 27 active
alice fable 70 failed
| delete_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012812 | 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-0012806 | Append a space and complete to the end of every line. | sed 's/$/ complete/' | chen harbor 16 active
dina fable 29 failed
hana harbor 85 pending
hana grove 10 pending
chen harbor 46 pending
alice ember 55 ready
hana amber 70 active
farah cobalt 26 active
| chen harbor 16 active complete
dina fable 29 failed complete
hana harbor 85 pending complete
hana grove 10 pending complete
chen harbor 46 pending complete
alice ember 55 ready complete
hana amber 70 active complete
farah cobalt 26 active complete
| gus fable 98 pending
farah fable 18 ready
chen harbor 40 active
gus harbor 16 closed
alice ember 50 active
chen grove 41 active
eli ember 91 failed
alice grove 15 closed
| gus fable 98 pending complete
farah fable 18 ready complete
chen harbor 40 active complete
gus harbor 16 closed complete
alice ember 50 active complete
chen grove 41 active complete
eli ember 91 failed complete
alice grove 15 closed complete
| add_suffix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012809 | Print only the first 2 characters of each line. | sed 's/^\(.\{2\}\).*/\1/' | gus harbor 108 failed
farah harbor 17 pending
gus cobalt 47 pending
gus birch 9 ready
alice amber 114 ready
dina harbor 54 active
farah grove 20 failed
| gu
fa
gu
gu
al
di
fa
| alice birch 100 failed
bruno delta 52 pending
gus cobalt 108 active
alice fable 30 ready
dina harbor 55 closed
alice grove 17 active
alice harbor 41 active
bruno ember 62 ready
| al
br
gu
al
di
al
al
br
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012811 | Print only the block from the line containing fable through the line containing harbor, inclusive. | sed -n /fable/,/harbor/p | dina harbor 71 failed
alice harbor 51 failed
hana amber 84 ready
bruno birch 25 failed
gus fable 13 active
hana ember 31 closed
farah harbor 102 active
farah ember 50 closed
hana delta 74 active
| gus fable 13 active
hana ember 31 closed
farah harbor 102 active
| bruno birch 30 closed
alice cobalt 79 pending
chen fable 4 failed
alice amber 81 pending
eli amber 67 active
hana amber 32 active
| chen fable 4 failed
alice amber 81 pending
eli amber 67 active
hana amber 32 active
| print_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012815 | Remove the first character from every line. | sed 's/^.//' | dina cobalt 65 ready
bruno birch 75 closed
dina grove 115 ready
dina fable 59 active
bruno grove 28 active
alice harbor 115 failed
alice fable 74 active
| ina cobalt 65 ready
runo birch 75 closed
ina grove 115 ready
ina fable 59 active
runo grove 28 active
lice harbor 115 failed
lice fable 74 active
| hana grove 20 pending
alice amber 78 failed
gus birch 65 failed
dina ember 99 failed
bruno fable 86 active
eli grove 111 closed
| ana grove 20 pending
lice amber 78 failed
us birch 65 failed
ina ember 99 failed
runo fable 86 active
li grove 111 closed
| delete_first_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012816 | Remove the last character from every line. | sed 's/.$//' | bruno amber 33 ready
alice harbor 9 pending
chen ember 10 pending
chen grove 3 failed
farah ember 40 closed
dina cobalt 5 pending
hana ember 107 pending
bruno cobalt 66 closed
gus cobalt 16 active
| bruno amber 33 read
alice harbor 9 pendin
chen ember 10 pendin
chen grove 3 faile
farah ember 40 close
dina cobalt 5 pendin
hana ember 107 pendin
bruno cobalt 66 close
gus cobalt 16 activ
| bruno ember 97 active
eli delta 70 ready
alice grove 93 failed
hana birch 60 ready
alice grove 22 pending
farah amber 72 active
| bruno ember 97 activ
eli delta 70 read
alice grove 93 faile
hana birch 60 read
alice grove 22 pendin
farah amber 72 activ
| delete_last_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012814 | Print each input line's number, without printing the line contents. | sed = | eli amber 106 pending
bruno delta 94 failed
gus harbor 75 failed
hana delta 28 active
hana delta 23 closed
gus cobalt 75 active
| 1
eli amber 106 pending
2
bruno delta 94 failed
3
gus harbor 75 failed
4
hana delta 28 active
5
hana delta 23 closed
6
gus cobalt 75 active
| alice grove 116 pending
gus amber 113 ready
chen cobalt 38 closed
farah delta 41 ready
chen grove 18 failed
chen ember 84 failed
gus ember 108 failed
| 1
alice grove 116 pending
2
gus amber 113 ready
3
chen cobalt 38 closed
4
farah delta 41 ready
5
chen grove 18 failed
6
chen ember 84 failed
7
gus ember 108 failed
| number_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012818 | Replace the first occurrence of delta with cobalt on each line. | sed s/delta/cobalt/ | hana cobalt 20 active
hana fable 16 ready
chen birch 58 failed
gus fable 28 ready
hana amber 33 failed
gus fable 23 failed
hana fable 48 closed
dina harbor 16 active
dina ember 63 pending
| hana cobalt 20 active
hana fable 16 ready
chen birch 58 failed
gus fable 28 ready
hana amber 33 failed
gus fable 23 failed
hana fable 48 closed
dina harbor 16 active
dina ember 63 pending
| hana fable 33 closed
eli cobalt 35 ready
hana cobalt 35 closed
eli harbor 32 closed
eli fable 91 failed
alice delta 30 closed
bruno delta 93 pending
| hana fable 33 closed
eli cobalt 35 ready
hana cobalt 35 closed
eli harbor 32 closed
eli fable 91 failed
alice cobalt 30 closed
bruno cobalt 93 pending
| substitute_first | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012813 | Replace every sequence of digits with the letter N. | sed 's/[0-9][0-9]*/N/g' | hana grove 4 closed
alice grove 21 failed
hana fable 4 pending
hana fable 26 active
hana harbor 87 closed
chen amber 108 failed
hana cobalt 27 pending
| hana grove N closed
alice grove N failed
hana fable N pending
hana fable N active
hana harbor N closed
chen amber N failed
hana cobalt N pending
| farah grove 119 pending
chen cobalt 65 active
eli delta 48 failed
hana cobalt 54 ready
hana delta 54 active
gus fable 106 pending
alice harbor 62 ready
chen harbor 91 failed
dina amber 43 ready
| farah grove N pending
chen cobalt N active
eli delta N failed
hana cobalt N ready
hana delta N active
gus fable N pending
alice harbor N ready
chen harbor N failed
dina amber N ready
| digits_mask | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012817 | Print only the second comma-separated field from each line. | sed 's/[^,]*,\([^,]*\).*/\1/' | hana,delta,90,failed
farah,birch,56,closed
gus,delta,42,ready
dina,harbor,70,closed
hana,ember,74,active
eli,amber,87,active
gus,fable,90,pending
hana,harbor,115,active
| delta
birch
delta
harbor
ember
amber
fable
harbor
| alice,delta,9,closed
eli,delta,118,active
bruno,ember,48,ready
chen,fable,30,closed
dina,birch,93,pending
eli,amber,13,closed
| delta
delta
ember
fable
birch
amber
| extract_second_csv | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012822 | Print lines 4 through 7, inclusive, and nothing else. | sed -n 4,7p | chen delta 60 ready
chen fable 83 active
chen fable 92 failed
dina cobalt 56 ready
alice grove 101 pending
dina amber 28 active
bruno birch 10 pending
alice amber 79 active
| dina cobalt 56 ready
alice grove 101 pending
dina amber 28 active
bruno birch 10 pending
| eli fable 74 active
eli grove 43 pending
farah birch 32 ready
chen ember 52 closed
gus fable 7 ready
bruno cobalt 118 failed
alice delta 26 active
| chen ember 52 closed
gus fable 7 ready
bruno cobalt 118 failed
alice delta 26 active
| line_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012819 | Replace every occurrence of fable with cobalt throughout the input. | sed s/fable/cobalt/g | chen fable 21 closed
gus fable 75 ready
bruno harbor 87 pending
dina harbor 59 ready
dina birch 94 active
hana grove 99 pending
hana harbor 36 ready
hana cobalt 95 pending
bruno fable 10 active
| chen cobalt 21 closed
gus cobalt 75 ready
bruno harbor 87 pending
dina harbor 59 ready
dina birch 94 active
hana grove 99 pending
hana harbor 36 ready
hana cobalt 95 pending
bruno cobalt 10 active
| bruno delta 101 closed
hana harbor 103 pending
chen fable 97 ready
bruno fable 70 closed
hana cobalt 5 ready
gus grove 38 active
| bruno delta 101 closed
hana harbor 103 pending
chen cobalt 97 ready
bruno cobalt 70 closed
hana cobalt 5 ready
gus grove 38 active
| substitute_global | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012820 | Delete every line containing ready. | sed /ready/d | farah ember 115 failed
chen amber 109 active
dina birch 102 pending
farah ember 21 failed
eli amber 69 ready
gus cobalt 60 closed
hana ember 104 pending
alice amber 117 failed
chen fable 27 closed
| farah ember 115 failed
chen amber 109 active
dina birch 102 pending
farah ember 21 failed
gus cobalt 60 closed
hana ember 104 pending
alice amber 117 failed
chen fable 27 closed
| eli fable 37 pending
dina harbor 33 ready
chen cobalt 5 closed
farah grove 118 closed
alice fable 63 ready
dina cobalt 11 failed
| eli fable 37 pending
chen cobalt 5 closed
farah grove 118 closed
dina cobalt 11 failed
| regex_delete | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012823 | Delete lines 2 through 3, leaving all other lines unchanged. | sed 2,3d | eli grove 108 pending
eli delta 36 closed
hana cobalt 75 ready
alice amber 110 ready
chen grove 95 active
bruno harbor 61 closed
chen ember 15 closed
| eli grove 108 pending
alice amber 110 ready
chen grove 95 active
bruno harbor 61 closed
chen ember 15 closed
| hana amber 55 closed
bruno harbor 71 pending
hana birch 107 closed
chen grove 17 failed
gus ember 77 failed
bruno grove 44 ready
bruno amber 84 ready
bruno fable 27 active
| hana amber 55 closed
chen grove 17 failed
gus ember 77 failed
bruno grove 44 ready
bruno amber 84 ready
bruno fable 27 active
| delete_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012829 | Insert the line follow_up immediately before every line containing failed. | sed '/failed/i follow_up' | bruno ember 17 pending
bruno fable 63 pending
bruno birch 116 failed
chen harbor 70 failed
eli delta 26 pending
bruno ember 31 ready
farah harbor 57 ready
dina grove 68 failed
farah harbor 33 active
| bruno ember 17 pending
bruno fable 63 pending
follow_up
bruno birch 116 failed
follow_up
chen harbor 70 failed
eli delta 26 pending
bruno ember 31 ready
farah harbor 57 ready
follow_up
dina grove 68 failed
farah harbor 33 active
| chen harbor 107 ready
hana ember 28 failed
gus fable 50 active
eli birch 59 active
chen cobalt 32 failed
bruno delta 57 failed
alice fable 23 failed
| chen harbor 107 ready
follow_up
hana ember 28 failed
gus fable 50 active
eli birch 59 active
follow_up
chen cobalt 32 failed
follow_up
bruno delta 57 failed
follow_up
alice fable 23 failed
| insert_before | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012821 | Print only lines containing pending; suppress all others. | sed -n /pending/p | eli fable 90 ready
gus birch 87 active
bruno delta 52 closed
eli harbor 2 ready
gus ember 76 closed
hana amber 112 ready
gus grove 51 closed
hana delta 63 closed
chen grove 16 pending
| chen grove 16 pending
| gus grove 82 pending
dina birch 75 pending
farah amber 92 closed
bruno grove 34 closed
alice birch 86 pending
chen delta 82 pending
alice grove 37 pending
chen birch 4 ready
dina delta 111 closed
| gus grove 82 pending
dina birch 75 pending
alice birch 86 pending
chen delta 82 pending
alice grove 37 pending
| regex_print | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012824 | Print only the first 3 lines. | sed -n 1,3p | bruno amber 63 closed
farah ember 86 ready
gus cobalt 9 ready
chen ember 116 closed
farah ember 117 active
alice grove 45 active
eli delta 39 closed
gus ember 45 ready
dina fable 50 failed
| bruno amber 63 closed
farah ember 86 ready
gus cobalt 9 ready
| dina delta 24 active
hana fable 36 failed
chen delta 89 ready
chen fable 7 active
farah cobalt 44 active
hana cobalt 7 pending
bruno ember 94 active
farah harbor 29 ready
| dina delta 24 active
hana fable 36 failed
chen delta 89 ready
| first_n | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012827 | Print odd-numbered lines: lines 1, 3, 5, and so on. | sed -n '0~2p' | dina amber 119 ready
hana birch 84 ready
farah harbor 23 failed
farah amber 108 active
gus amber 55 ready
farah delta 79 active
dina harbor 76 failed
chen harbor 11 active
| hana birch 84 ready
farah amber 108 active
farah delta 79 active
chen harbor 11 active
| alice amber 42 active
gus birch 30 failed
dina ember 65 failed
bruno birch 21 ready
farah grove 53 pending
eli birch 33 pending
bruno birch 66 active
farah fable 31 closed
bruno grove 111 closed
| gus birch 30 failed
bruno birch 21 ready
eli birch 33 pending
farah fable 31 closed
| every_other | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012825 | Print only the last line of the input. | sed -n '$p' | hana grove 111 failed
bruno ember 64 pending
bruno grove 45 pending
gus harbor 20 pending
eli fable 65 closed
hana ember 35 closed
eli amber 19 ready
gus delta 92 closed
| gus delta 92 closed
| gus harbor 119 pending
chen ember 67 failed
dina harbor 43 active
hana fable 8 pending
dina grove 0 failed
hana delta 115 ready
hana fable 61 closed
hana amber 65 active
eli amber 52 active
| eli amber 52 active
| last_line | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012826 | Delete the last line of the input and print all remaining lines. | sed '$d' | dina harbor 76 failed
dina delta 44 failed
alice ember 21 closed
chen cobalt 42 pending
eli cobalt 106 active
bruno cobalt 58 closed
hana harbor 40 ready
chen grove 63 active
| dina harbor 76 failed
dina delta 44 failed
alice ember 21 closed
chen cobalt 42 pending
eli cobalt 106 active
bruno cobalt 58 closed
hana harbor 40 ready
| bruno grove 37 ready
farah harbor 107 failed
eli fable 67 failed
hana fable 11 active
dina grove 101 pending
farah amber 48 active
farah amber 44 pending
eli fable 20 closed
| bruno grove 37 ready
farah harbor 107 failed
eli fable 67 failed
hana fable 11 active
dina grove 101 pending
farah amber 48 active
farah amber 44 pending
| delete_last | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012833 | Remove all trailing spaces and tabs from each line. | sed 's/[ \t]*$//' | hana fable 20 pending
gus ember 41 active
hana harbor 46 closed
gus fable 21 closed
alice grove 9 ready
farah fable 15 pending
eli grove 90 failed
hana grove 88 active
hana fable 36 pending
| hana fable 20 pending
gus ember 41 active
hana harbor 46 closed
gus fable 21 closed
alice grove 9 ready
farah fable 15 pending
eli grove 90 failed
hana grove 88 active
hana fable 36 pending
| hana birch 5 ready
alice delta 5 failed
bruno cobalt 59 closed
gus ember 114 pending
farah birch 39 active
alice cobalt 71 closed
gus amber 68 ready
hana grove 102 pending
chen fable 48 failed
| hana birch 5 ready
alice delta 5 failed
bruno cobalt 59 closed
gus ember 114 pending
farah birch 39 active
alice cobalt 71 closed
gus amber 68 ready
hana grove 102 pending
chen fable 48 failed
| strip_trailing | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012830 | Replace every full line containing ready with the single line reviewed. | sed '/ready/c reviewed' | farah cobalt 13 pending
farah birch 96 pending
alice cobalt 31 ready
gus fable 54 ready
bruno ember 96 active
hana harbor 73 failed
gus harbor 83 ready
bruno ember 90 active
| farah cobalt 13 pending
farah birch 96 pending
reviewed
reviewed
bruno ember 96 active
hana harbor 73 failed
reviewed
bruno ember 90 active
| bruno fable 95 ready
farah ember 101 pending
bruno harbor 54 ready
bruno fable 16 pending
gus grove 35 active
hana fable 22 active
alice fable 77 pending
bruno delta 100 active
| reviewed
farah ember 101 pending
reviewed
bruno fable 16 pending
gus grove 35 active
hana fable 22 active
alice fable 77 pending
bruno delta 100 active
| change_line | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012828 | Append the line reviewed immediately after every line containing ready. | sed '/ready/a reviewed' | gus amber 52 failed
bruno fable 79 failed
alice birch 70 pending
farah harbor 72 active
gus delta 71 active
dina delta 27 ready
| gus amber 52 failed
bruno fable 79 failed
alice birch 70 pending
farah harbor 72 active
gus delta 71 active
dina delta 27 ready
reviewed
| chen harbor 66 ready
hana amber 81 failed
eli ember 102 failed
hana harbor 10 active
alice delta 18 active
hana delta 30 closed
| chen harbor 66 ready
reviewed
hana amber 81 failed
eli ember 102 failed
hana harbor 10 active
alice delta 18 active
hana delta 30 closed
| append_after | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012832 | Remove all leading spaces and tabs from each line. | sed 's/^[ \t]*//' | alice birch 105 closed
chen amber 89 failed
dina harbor 12 ready
hana grove 50 failed
farah amber 30 closed
hana harbor 53 failed
farah harbor 43 closed
hana harbor 19 active
| alice birch 105 closed
chen amber 89 failed
dina harbor 12 ready
hana grove 50 failed
farah amber 30 closed
hana harbor 53 failed
farah harbor 43 closed
hana harbor 19 active
| hana ember 75 ready
farah cobalt 45 ready
alice amber 54 closed
chen grove 63 ready
farah cobalt 14 closed
hana fable 108 active
farah delta 99 ready
| hana ember 75 ready
farah cobalt 45 ready
alice amber 54 closed
chen grove 63 ready
farah cobalt 14 closed
hana fable 108 active
farah delta 99 ready
| strip_leading | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012834 | Collapse every run of spaces or tabs to a single space. | sed 's/[ \t]+/ /g' | farah grove 109 closed
bruno delta 62 failed
hana birch 57 closed
bruno fable 29 ready
gus delta 115 ready
alice harbor 45 ready
| farah grove 109 closed
bruno delta 62 failed
hana birch 57 closed
bruno fable 29 ready
gus delta 115 ready
alice harbor 45 ready
| gus ember 113 pending
hana delta 16 pending
farah cobalt 5 active
chen harbor 46 failed
hana delta 118 active
chen amber 72 ready
eli harbor 72 active
chen fable 15 pending
| gus ember 113 pending
hana delta 16 pending
farah cobalt 5 active
chen harbor 46 failed
hana delta 118 active
chen amber 72 ready
eli harbor 72 active
chen fable 15 pending
| collapse_space | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012836 | Convert every input line to lowercase. | sed 's/.*/\L&/' | hana grove 22 ready
gus fable 87 active
farah amber 11 failed
hana cobalt 17 failed
alice grove 55 failed
bruno ember 11 failed
| hana grove 22 ready
gus fable 87 active
farah amber 11 failed
hana cobalt 17 failed
alice grove 55 failed
bruno ember 11 failed
| eli amber 25 closed
bruno harbor 91 active
chen birch 104 pending
alice harbor 10 failed
gus birch 79 failed
farah cobalt 54 closed
| eli amber 25 closed
bruno harbor 91 active
chen birch 104 pending
alice harbor 10 failed
gus birch 79 failed
farah cobalt 54 closed
| lowercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012835 | Convert every input line to uppercase. | sed 's/.*/\U&/' | hana fable 48 active
gus grove 2 closed
alice fable 98 ready
eli delta 110 ready
gus birch 2 pending
hana cobalt 20 pending
| HANA FABLE 48 ACTIVE
GUS GROVE 2 CLOSED
ALICE FABLE 98 READY
ELI DELTA 110 READY
GUS BIRCH 2 PENDING
HANA COBALT 20 PENDING
| chen amber 112 failed
farah birch 87 failed
dina delta 27 failed
farah fable 36 pending
alice fable 75 closed
gus delta 102 active
farah fable 82 failed
| CHEN AMBER 112 FAILED
FARAH BIRCH 87 FAILED
DINA DELTA 27 FAILED
FARAH FABLE 36 PENDING
ALICE FABLE 75 CLOSED
GUS DELTA 102 ACTIVE
FARAH FABLE 82 FAILED
| uppercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012831 | Delete all empty lines while preserving every nonempty line. | sed '/^$/d' | chen cobalt 66 failed
alice harbor 65 ready
hana fable 86 ready
chen ember 88 pending
gus grove 57 ready
chen cobalt 54 active
chen harbor 52 pending
farah grove 75 pending
| chen cobalt 66 failed
alice harbor 65 ready
hana fable 86 ready
chen ember 88 pending
gus grove 57 ready
chen cobalt 54 active
chen harbor 52 pending
farah grove 75 pending
| eli cobalt 89 pending
hana birch 117 closed
bruno cobalt 16 failed
gus amber 64 closed
gus amber 93 pending
bruno delta 60 pending
eli harbor 67 ready
bruno fable 95 closed
gus ember 28 closed
| eli cobalt 89 pending
hana birch 117 closed
bruno cobalt 16 failed
gus amber 64 closed
gus amber 93 pending
bruno delta 60 pending
eli harbor 67 ready
bruno fable 95 closed
gus ember 28 closed
| delete_blank | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012837 | Swap the first two whitespace-separated fields on every line. | sed 's/\([^ ]*\) \([^ ]*\)/\2 \1/' | alice cobalt 7 pending
dina fable 76 closed
dina ember 54 pending
chen amber 101 failed
chen amber 63 failed
farah ember 103 ready
dina amber 57 pending
chen birch 79 active
bruno delta 9 ready
| cobalt alice 7 pending
fable dina 76 closed
ember dina 54 pending
amber chen 101 failed
amber chen 63 failed
ember farah 103 ready
amber dina 57 pending
birch chen 79 active
delta bruno 9 ready
| dina amber 95 failed
dina cobalt 37 closed
farah amber 25 failed
gus cobalt 74 pending
bruno ember 8 ready
farah harbor 70 active
dina fable 55 ready
alice grove 24 closed
| amber dina 95 failed
cobalt dina 37 closed
amber farah 25 failed
cobalt gus 74 pending
ember bruno 8 ready
harbor farah 70 active
fable dina 55 ready
grove alice 24 closed
| swap_fields | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012841 | Comment out every input line by adding # and a space at the start. | sed 's/^/# /' | bruno birch 13 closed
gus grove 47 active
farah grove 6 pending
bruno cobalt 81 failed
bruno grove 101 pending
alice grove 45 failed
eli cobalt 119 pending
| # bruno birch 13 closed
# gus grove 47 active
# farah grove 6 pending
# bruno cobalt 81 failed
# bruno grove 101 pending
# alice grove 45 failed
# eli cobalt 119 pending
| dina ember 18 failed
farah cobalt 21 pending
gus fable 74 failed
eli cobalt 12 pending
chen ember 96 pending
farah fable 4 closed
bruno harbor 80 pending
gus amber 30 closed
| # dina ember 18 failed
# farah cobalt 21 pending
# gus fable 74 failed
# eli cobalt 12 pending
# chen ember 96 pending
# farah fable 4 closed
# bruno harbor 80 pending
# gus amber 30 closed
| comment_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012844 | Delete everything from the line containing birch through the line containing grove, inclusive. | sed /birch/,/grove/d | dina amber 79 ready
hana delta 10 ready
chen amber 113 active
chen ember 23 active
dina amber 95 active
alice birch 94 failed
gus ember 97 closed
hana amber 110 pending
| dina amber 79 ready
hana delta 10 ready
chen amber 113 active
chen ember 23 active
dina amber 95 active
| hana harbor 117 closed
dina amber 33 closed
chen harbor 3 active
hana fable 114 ready
gus ember 109 closed
gus cobalt 59 active
farah ember 50 failed
gus birch 56 pending
eli cobalt 116 closed
| hana harbor 117 closed
dina amber 33 closed
chen harbor 3 active
hana fable 114 ready
gus ember 109 closed
gus cobalt 59 active
farah ember 50 failed
| delete_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012843 | Print only the first 6 characters of each line. | sed 's/^\(.\{6\}\).*/\1/' | chen ember 86 ready
gus grove 39 failed
eli grove 78 ready
dina ember 82 pending
farah birch 26 ready
dina ember 51 pending
bruno harbor 109 ready
farah cobalt 106 pending
eli harbor 73 active
| chen e
gus gr
eli gr
dina e
farah
dina e
bruno
farah
eli ha
| gus delta 24 failed
alice cobalt 65 ready
gus cobalt 65 active
gus amber 1 ready
farah cobalt 48 pending
farah delta 36 active
eli amber 43 ready
bruno birch 112 active
| gus de
alice
gus co
gus am
farah
farah
eli am
bruno
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012842 | Delete all lines beginning with #. | sed '/^#/d' | bruno cobalt 93 closed
# note
chen grove 41 closed
gus fable 25 active
gus ember 69 active
eli amber 117 failed
dina amber 87 active
hana harbor 26 ready
chen fable 84 ready
| bruno cobalt 93 closed
chen grove 41 closed
gus fable 25 active
gus ember 69 active
eli amber 117 failed
dina amber 87 active
hana harbor 26 ready
chen fable 84 ready
| dina harbor 61 active
# note
chen cobalt 75 active
farah cobalt 11 active
alice amber 85 ready
chen harbor 24 active
hana birch 43 active
dina amber 117 pending
| dina harbor 61 active
chen cobalt 75 active
farah cobalt 11 active
alice amber 85 ready
chen harbor 24 active
hana birch 43 active
dina amber 117 pending
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012838 | Replace every comma with a tab character. | sed 's/,/\t/g' | alice,fable,91,pending
chen,delta,37,failed
alice,grove,61,closed
eli,cobalt,85,failed
bruno,ember,58,failed
dina,grove,20,closed
alice,ember,7,failed
eli,fable,109,active
dina,birch,73,closed
| alice fable 91 pending
chen delta 37 failed
alice grove 61 closed
eli cobalt 85 failed
bruno ember 58 failed
dina grove 20 closed
alice ember 7 failed
eli fable 109 active
dina birch 73 closed
| gus,delta,7,closed
hana,cobalt,96,closed
bruno,cobalt,98,pending
bruno,ember,17,pending
alice,amber,67,failed
bruno,cobalt,58,active
hana,fable,100,closed
| gus delta 7 closed
hana cobalt 96 closed
bruno cobalt 98 pending
bruno ember 17 pending
alice amber 67 failed
bruno cobalt 58 active
hana fable 100 closed
| comma_to_tab | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012840 | Append a space and reviewed to the end of every line. | sed 's/$/ reviewed/' | eli ember 76 pending
alice cobalt 21 closed
farah delta 76 failed
hana cobalt 11 active
eli ember 103 failed
farah fable 85 pending
eli harbor 97 failed
chen harbor 15 pending
chen birch 44 pending
| eli ember 76 pending reviewed
alice cobalt 21 closed reviewed
farah delta 76 failed reviewed
hana cobalt 11 active reviewed
eli ember 103 failed reviewed
farah fable 85 pending reviewed
eli harbor 97 failed reviewed
chen harbor 15 pending reviewed
chen birch 44 pending reviewed
| farah delta 70 closed
alice harbor 19 failed
alice cobalt 21 failed
bruno grove 96 closed
hana cobalt 98 ready
hana grove 0 ready
hana harbor 81 active
gus amber 23 ready
bruno harbor 45 failed
| farah delta 70 closed reviewed
alice harbor 19 failed reviewed
alice cobalt 21 failed reviewed
bruno grove 96 closed reviewed
hana cobalt 98 ready reviewed
hana grove 0 ready reviewed
hana harbor 81 active reviewed
gus amber 23 ready reviewed
bruno harbor 45 failed reviewed
| add_suffix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012839 | Add the prefix record followed by a space to the start of every line. | sed 's/^/record /' | alice fable 102 active
chen grove 76 failed
hana fable 92 failed
bruno fable 110 active
bruno birch 12 pending
farah amber 67 closed
eli birch 119 pending
| record alice fable 102 active
record chen grove 76 failed
record hana fable 92 failed
record bruno fable 110 active
record bruno birch 12 pending
record farah amber 67 closed
record eli birch 119 pending
| farah birch 47 failed
eli fable 112 ready
alice harbor 96 active
gus grove 64 ready
hana harbor 4 active
alice ember 71 pending
gus delta 11 active
alice birch 91 ready
hana amber 4 pending
| record farah birch 47 failed
record eli fable 112 ready
record alice harbor 96 active
record gus grove 64 ready
record hana harbor 4 active
record alice ember 71 pending
record gus delta 11 active
record alice birch 91 ready
record hana amber 4 pending
| add_prefix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012851 | Print only the second comma-separated field from each line. | sed 's/[^,]*,\([^,]*\).*/\1/' | eli,fable,103,closed
farah,ember,58,pending
chen,birch,22,active
hana,cobalt,40,failed
eli,delta,9,pending
bruno,harbor,37,failed
gus,cobalt,99,closed
eli,cobalt,17,active
hana,fable,93,pending
| fable
ember
birch
cobalt
delta
harbor
cobalt
cobalt
fable
| chen,birch,3,closed
farah,fable,28,pending
alice,delta,98,active
bruno,harbor,90,failed
farah,birch,92,pending
chen,grove,79,active
| birch
fable
delta
harbor
birch
grove
| extract_second_csv | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012852 | Replace the first occurrence of amber with delta on each line. | sed s/amber/delta/ | eli harbor 76 active
alice grove 73 failed
hana ember 17 pending
chen amber 11 failed
gus cobalt 74 closed
alice ember 27 pending
| eli harbor 76 active
alice grove 73 failed
hana ember 17 pending
chen delta 11 failed
gus cobalt 74 closed
alice ember 27 pending
| eli birch 106 active
gus fable 57 pending
eli ember 74 closed
eli fable 89 failed
farah grove 96 ready
farah amber 9 active
gus grove 77 failed
chen fable 46 ready
gus ember 67 pending
| eli birch 106 active
gus fable 57 pending
eli ember 74 closed
eli fable 89 failed
farah grove 96 ready
farah delta 9 active
gus grove 77 failed
chen fable 46 ready
gus ember 67 pending
| substitute_first | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012846 | 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-0012848 | Print each input line's number, without printing the line contents. | sed = | farah grove 5 ready
gus ember 51 closed
chen harbor 39 pending
hana delta 44 failed
farah fable 43 failed
alice delta 120 active
alice ember 46 active
farah fable 49 closed
| 1
farah grove 5 ready
2
gus ember 51 closed
3
chen harbor 39 pending
4
hana delta 44 failed
5
farah fable 43 failed
6
alice delta 120 active
7
alice ember 46 active
8
farah fable 49 closed
| eli fable 62 active
gus ember 61 closed
alice ember 58 closed
farah birch 114 pending
bruno fable 10 ready
alice harbor 29 active
| 1
eli fable 62 active
2
gus ember 61 closed
3
alice ember 58 closed
4
farah birch 114 pending
5
bruno fable 10 ready
6
alice harbor 29 active
| number_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012847 | Replace every sequence of digits with the letter N. | sed 's/[0-9][0-9]*/N/g' | alice amber 10 closed
dina grove 23 closed
bruno harbor 35 ready
chen harbor 110 failed
hana grove 28 closed
bruno cobalt 58 pending
alice harbor 68 pending
| alice amber N closed
dina grove N closed
bruno harbor N ready
chen harbor N failed
hana grove N closed
bruno cobalt N pending
alice harbor N pending
| dina cobalt 41 pending
alice amber 109 active
farah ember 89 ready
gus harbor 70 ready
bruno fable 96 active
bruno harbor 85 closed
alice birch 114 ready
bruno birch 20 failed
gus harbor 24 active
| dina cobalt N pending
alice amber N active
farah ember N ready
gus harbor N ready
bruno fable N active
bruno harbor N closed
alice birch N ready
bruno birch N failed
gus harbor N active
| digits_mask | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012845 | Print only the block from the line containing cobalt through the line containing harbor, inclusive. | sed -n /cobalt/,/harbor/p | hana fable 21 active
dina grove 43 active
hana delta 15 ready
alice grove 75 closed
chen fable 63 pending
eli cobalt 32 pending
farah birch 92 pending
| eli cobalt 32 pending
farah birch 92 pending
| dina grove 83 pending
eli harbor 65 ready
hana delta 96 active
dina ember 112 ready
farah grove 46 closed
alice birch 0 active
gus cobalt 3 ready
| gus cobalt 3 ready
| print_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012850 | Remove the last character from every line. | sed 's/.$//' | alice amber 57 active
chen harbor 0 closed
alice delta 16 ready
eli cobalt 16 pending
chen amber 72 closed
hana harbor 97 active
farah cobalt 106 pending
| alice amber 57 activ
chen harbor 0 close
alice delta 16 read
eli cobalt 16 pendin
chen amber 72 close
hana harbor 97 activ
farah cobalt 106 pendin
| eli ember 23 active
chen delta 108 closed
eli harbor 38 active
hana harbor 0 active
alice grove 97 active
farah amber 62 ready
dina ember 117 ready
farah birch 20 closed
| eli ember 23 activ
chen delta 108 close
eli harbor 38 activ
hana harbor 0 activ
alice grove 97 activ
farah amber 62 read
dina ember 117 read
farah birch 20 close
| delete_last_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012849 | Remove the first character from every line. | sed 's/^.//' | alice delta 22 failed
hana birch 89 closed
eli fable 35 active
hana delta 103 closed
eli harbor 119 pending
eli fable 91 active
dina grove 22 failed
| lice delta 22 failed
ana birch 89 closed
li fable 35 active
ana delta 103 closed
li harbor 119 pending
li fable 91 active
ina grove 22 failed
| hana harbor 54 closed
alice delta 76 failed
bruno cobalt 46 closed
alice amber 89 active
alice delta 57 failed
eli ember 108 ready
eli cobalt 99 failed
alice cobalt 35 active
| ana harbor 54 closed
lice delta 76 failed
runo cobalt 46 closed
lice amber 89 active
lice delta 57 failed
li ember 108 ready
li cobalt 99 failed
lice cobalt 35 active
| delete_first_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012856 | Print lines 4 through 7, inclusive, and nothing else. | sed -n 4,7p | chen birch 25 failed
dina grove 18 closed
farah amber 66 failed
gus birch 5 failed
chen delta 42 failed
bruno grove 48 closed
eli birch 86 pending
| gus birch 5 failed
chen delta 42 failed
bruno grove 48 closed
eli birch 86 pending
| alice cobalt 8 pending
farah fable 59 closed
gus fable 98 failed
gus fable 112 ready
gus grove 114 pending
gus harbor 33 active
dina birch 42 active
hana fable 49 pending
hana ember 114 active
| gus fable 112 ready
gus grove 114 pending
gus harbor 33 active
dina birch 42 active
| line_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012858 | Print only the first 2 lines. | sed -n 1,2p | alice birch 34 pending
alice cobalt 87 ready
farah ember 104 active
eli ember 46 failed
farah fable 116 pending
gus ember 16 pending
| alice birch 34 pending
alice cobalt 87 ready
| farah delta 58 pending
bruno harbor 93 ready
farah harbor 33 ready
hana cobalt 48 closed
hana cobalt 44 failed
eli birch 38 active
| farah delta 58 pending
bruno harbor 93 ready
| first_n | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012857 | Delete lines 4 through 6, leaving all other lines unchanged. | sed 4,6d | chen amber 39 active
alice ember 6 pending
alice delta 115 ready
gus cobalt 63 active
alice cobalt 75 active
alice amber 12 failed
| chen amber 39 active
alice ember 6 pending
alice delta 115 ready
| gus harbor 2 pending
dina delta 56 pending
eli grove 90 pending
eli delta 99 active
chen birch 41 active
chen harbor 64 failed
| gus harbor 2 pending
dina delta 56 pending
eli grove 90 pending
| delete_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012853 | Replace every occurrence of ember with harbor throughout the input. | sed s/ember/harbor/g | chen cobalt 38 pending
dina birch 79 closed
eli cobalt 99 pending
chen fable 118 failed
bruno ember 43 closed
alice fable 34 active
| chen cobalt 38 pending
dina birch 79 closed
eli cobalt 99 pending
chen fable 118 failed
bruno harbor 43 closed
alice fable 34 active
| bruno cobalt 92 ready
hana delta 109 closed
hana harbor 28 pending
farah cobalt 58 pending
farah cobalt 31 closed
gus fable 3 ready
gus cobalt 61 closed
hana cobalt 16 ready
chen fable 2 ready
| bruno cobalt 92 ready
hana delta 109 closed
hana harbor 28 pending
farah cobalt 58 pending
farah cobalt 31 closed
gus fable 3 ready
gus cobalt 61 closed
hana cobalt 16 ready
chen fable 2 ready
| substitute_global | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012863 | Insert the line complete immediately before every line containing active. | sed '/active/i complete' | eli harbor 56 closed
dina fable 16 ready
chen cobalt 11 pending
eli amber 97 closed
eli amber 50 failed
bruno fable 36 closed
chen harbor 119 failed
| eli harbor 56 closed
dina fable 16 ready
chen cobalt 11 pending
eli amber 97 closed
eli amber 50 failed
bruno fable 36 closed
chen harbor 119 failed
| gus amber 2 failed
gus harbor 35 active
bruno grove 67 ready
eli birch 2 active
bruno birch 22 closed
eli fable 68 active
gus amber 67 pending
| gus amber 2 failed
complete
gus harbor 35 active
bruno grove 67 ready
complete
eli birch 2 active
bruno birch 22 closed
complete
eli fable 68 active
gus amber 67 pending
| insert_before | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012854 | Delete every line containing pending. | sed /pending/d | eli birch 41 ready
dina ember 90 ready
dina ember 76 active
alice birch 49 failed
gus birch 23 closed
dina birch 40 active
chen delta 116 ready
hana grove 49 closed
| eli birch 41 ready
dina ember 90 ready
dina ember 76 active
alice birch 49 failed
gus birch 23 closed
dina birch 40 active
chen delta 116 ready
hana grove 49 closed
| gus harbor 88 active
gus ember 27 pending
chen delta 101 failed
gus birch 120 pending
hana amber 3 closed
alice harbor 59 ready
eli birch 11 pending
chen amber 17 failed
| gus harbor 88 active
chen delta 101 failed
hana amber 3 closed
alice harbor 59 ready
chen amber 17 failed
| regex_delete | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012860 | Delete the last line of the input and print all remaining lines. | sed '$d' | chen harbor 77 failed
eli cobalt 55 failed
chen birch 71 ready
bruno fable 71 closed
bruno cobalt 16 pending
dina harbor 0 pending
chen cobalt 53 closed
gus delta 19 pending
eli fable 80 closed
| chen harbor 77 failed
eli cobalt 55 failed
chen birch 71 ready
bruno fable 71 closed
bruno cobalt 16 pending
dina harbor 0 pending
chen cobalt 53 closed
gus delta 19 pending
| hana birch 75 closed
hana birch 74 closed
hana amber 106 active
eli birch 115 failed
gus delta 25 active
chen amber 112 pending
| hana birch 75 closed
hana birch 74 closed
hana amber 106 active
eli birch 115 failed
gus delta 25 active
| delete_last | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012859 | Print only the last line of the input. | sed -n '$p' | hana delta 15 pending
bruno delta 10 failed
gus birch 114 closed
alice ember 77 failed
gus harbor 107 ready
farah fable 39 failed
eli delta 97 pending
| eli delta 97 pending
| chen harbor 24 active
gus amber 56 closed
eli birch 3 active
chen grove 109 active
chen cobalt 88 active
eli amber 96 closed
hana grove 54 closed
alice delta 113 closed
| alice delta 113 closed
| last_line | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012865 | Delete all empty lines while preserving every nonempty line. | sed '/^$/d' | gus grove 74 pending
hana fable 103 closed
eli grove 53 active
eli amber 17 active
eli birch 39 failed
bruno grove 100 pending
bruno delta 61 failed
bruno harbor 96 ready
| gus grove 74 pending
hana fable 103 closed
eli grove 53 active
eli amber 17 active
eli birch 39 failed
bruno grove 100 pending
bruno delta 61 failed
bruno harbor 96 ready
| bruno grove 71 active
eli fable 50 pending
farah amber 16 active
gus amber 50 pending
eli harbor 109 failed
gus amber 23 ready
eli grove 45 ready
hana grove 101 closed
| bruno grove 71 active
eli fable 50 pending
farah amber 16 active
gus amber 50 pending
eli harbor 109 failed
gus amber 23 ready
eli grove 45 ready
hana grove 101 closed
| delete_blank | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012861 | Print odd-numbered lines: lines 1, 3, 5, and so on. | sed -n '0~2p' | bruno harbor 27 closed
eli cobalt 34 ready
farah delta 112 pending
hana fable 72 failed
eli birch 59 pending
alice delta 108 active
gus birch 86 ready
farah birch 68 failed
bruno fable 12 active
| eli cobalt 34 ready
hana fable 72 failed
alice delta 108 active
farah birch 68 failed
| alice birch 115 ready
dina amber 83 failed
chen cobalt 9 pending
dina grove 25 closed
eli delta 39 ready
hana grove 44 active
| dina amber 83 failed
dina grove 25 closed
hana grove 44 active
| every_other | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012855 | Print only lines containing pending; suppress all others. | sed -n /pending/p | dina ember 78 failed
gus harbor 4 failed
alice harbor 18 pending
chen cobalt 11 active
dina ember 46 ready
eli amber 63 pending
eli grove 67 ready
| alice harbor 18 pending
eli amber 63 pending
| hana birch 60 failed
dina fable 53 ready
eli ember 18 closed
dina ember 49 ready
eli delta 65 pending
hana birch 39 pending
alice fable 69 ready
| eli delta 65 pending
hana birch 39 pending
| regex_print | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012869 | Convert every input line to uppercase. | sed 's/.*/\U&/' | eli fable 2 ready
bruno delta 120 closed
chen grove 14 closed
dina birch 114 active
chen ember 21 ready
dina delta 12 pending
farah delta 86 ready
dina harbor 83 failed
| ELI FABLE 2 READY
BRUNO DELTA 120 CLOSED
CHEN GROVE 14 CLOSED
DINA BIRCH 114 ACTIVE
CHEN EMBER 21 READY
DINA DELTA 12 PENDING
FARAH DELTA 86 READY
DINA HARBOR 83 FAILED
| farah harbor 44 active
bruno ember 61 pending
dina amber 29 failed
dina cobalt 113 active
chen cobalt 83 failed
hana delta 112 pending
hana cobalt 17 pending
farah fable 116 failed
| FARAH HARBOR 44 ACTIVE
BRUNO EMBER 61 PENDING
DINA AMBER 29 FAILED
DINA COBALT 113 ACTIVE
CHEN COBALT 83 FAILED
HANA DELTA 112 PENDING
HANA COBALT 17 PENDING
FARAH FABLE 116 FAILED
| uppercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012867 | Remove all trailing spaces and tabs from each line. | sed 's/[ \t]*$//' | alice delta 14 failed
alice harbor 15 active
farah cobalt 56 closed
bruno harbor 46 pending
farah cobalt 62 active
dina amber 83 active
hana fable 83 ready
eli harbor 65 ready
| alice delta 14 failed
alice harbor 15 active
farah cobalt 56 closed
bruno harbor 46 pending
farah cobalt 62 active
dina amber 83 active
hana fable 83 ready
eli harbor 65 ready
| chen ember 81 active
gus amber 119 pending
eli harbor 30 active
farah birch 86 closed
farah amber 8 active
eli birch 93 pending
chen grove 78 failed
farah cobalt 1 active
| chen ember 81 active
gus amber 119 pending
eli harbor 30 active
farah birch 86 closed
farah amber 8 active
eli birch 93 pending
chen grove 78 failed
farah cobalt 1 active
| strip_trailing | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012866 | Remove all leading spaces and tabs from each line. | sed 's/^[ \t]*//' | gus amber 21 ready
bruno fable 84 active
alice birch 26 active
chen cobalt 93 ready
bruno amber 93 active
bruno amber 35 failed
gus harbor 79 failed
gus ember 119 ready
dina amber 43 active
| gus amber 21 ready
bruno fable 84 active
alice birch 26 active
chen cobalt 93 ready
bruno amber 93 active
bruno amber 35 failed
gus harbor 79 failed
gus ember 119 ready
dina amber 43 active
| chen harbor 13 closed
alice cobalt 81 pending
gus amber 1 pending
dina cobalt 0 failed
gus ember 76 ready
dina grove 51 active
farah harbor 34 active
farah birch 81 ready
| chen harbor 13 closed
alice cobalt 81 pending
gus amber 1 pending
dina cobalt 0 failed
gus ember 76 ready
dina grove 51 active
farah harbor 34 active
farah birch 81 ready
| strip_leading | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012864 | Replace every full line containing active with the single line reviewed. | sed '/active/c reviewed' | farah ember 73 pending
alice harbor 12 active
hana fable 72 failed
eli harbor 45 pending
dina harbor 33 failed
chen cobalt 53 closed
farah fable 78 ready
bruno birch 72 closed
| farah ember 73 pending
reviewed
hana fable 72 failed
eli harbor 45 pending
dina harbor 33 failed
chen cobalt 53 closed
farah fable 78 ready
bruno birch 72 closed
| hana harbor 10 active
bruno fable 68 closed
dina amber 20 active
dina grove 113 failed
hana ember 71 active
eli birch 33 failed
bruno grove 25 failed
chen birch 120 pending
alice cobalt 58 active
| reviewed
bruno fable 68 closed
reviewed
dina grove 113 failed
reviewed
eli birch 33 failed
bruno grove 25 failed
chen birch 120 pending
reviewed
| change_line | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012870 | Convert every input line to lowercase. | sed 's/.*/\L&/' | hana harbor 98 failed
eli amber 117 closed
chen ember 81 pending
alice delta 89 failed
hana cobalt 100 failed
alice fable 61 pending
| hana harbor 98 failed
eli amber 117 closed
chen ember 81 pending
alice delta 89 failed
hana cobalt 100 failed
alice fable 61 pending
| eli ember 87 active
chen ember 51 closed
chen amber 37 active
bruno grove 90 closed
farah harbor 70 pending
chen grove 67 pending
alice fable 77 failed
farah grove 17 active
hana amber 98 closed
| eli ember 87 active
chen ember 51 closed
chen amber 37 active
bruno grove 90 closed
farah harbor 70 pending
chen grove 67 pending
alice fable 77 failed
farah grove 17 active
hana amber 98 closed
| lowercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012868 | Collapse every run of spaces or tabs to a single space. | sed 's/[ \t]+/ /g' | eli cobalt 75 failed
alice delta 31 pending
farah delta 10 ready
bruno ember 71 ready
farah fable 72 closed
bruno harbor 60 ready
farah harbor 74 closed
| eli cobalt 75 failed
alice delta 31 pending
farah delta 10 ready
bruno ember 71 ready
farah fable 72 closed
bruno harbor 60 ready
farah harbor 74 closed
| hana grove 71 pending
dina amber 36 active
dina amber 117 ready
eli amber 2 active
bruno delta 53 active
alice delta 17 closed
farah ember 35 failed
| hana grove 71 pending
dina amber 36 active
dina amber 117 ready
eli amber 2 active
bruno delta 53 active
alice delta 17 closed
farah ember 35 failed
| collapse_space | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012871 | Swap the first two whitespace-separated fields on every line. | sed 's/\([^ ]*\) \([^ ]*\)/\2 \1/' | chen ember 109 active
farah birch 102 closed
bruno delta 17 closed
bruno ember 96 pending
alice cobalt 33 failed
gus grove 39 ready
dina birch 41 closed
hana delta 67 ready
| ember chen 109 active
birch farah 102 closed
delta bruno 17 closed
ember bruno 96 pending
cobalt alice 33 failed
grove gus 39 ready
birch dina 41 closed
delta hana 67 ready
| alice grove 35 ready
dina grove 62 failed
farah amber 57 pending
hana fable 58 failed
chen ember 113 pending
alice cobalt 27 active
| grove alice 35 ready
grove dina 62 failed
amber farah 57 pending
fable hana 58 failed
ember chen 113 pending
cobalt alice 27 active
| swap_fields | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012862 | Append the line complete immediately after every line containing closed. | sed '/closed/a complete' | eli cobalt 101 ready
gus birch 37 failed
hana birch 106 active
dina delta 36 failed
hana grove 94 pending
hana amber 13 closed
dina cobalt 102 ready
bruno grove 30 pending
| eli cobalt 101 ready
gus birch 37 failed
hana birch 106 active
dina delta 36 failed
hana grove 94 pending
hana amber 13 closed
complete
dina cobalt 102 ready
bruno grove 30 pending
| bruno ember 78 active
dina cobalt 83 closed
farah cobalt 10 failed
eli cobalt 47 pending
gus birch 36 active
dina grove 86 failed
hana birch 64 pending
dina delta 20 active
alice delta 110 failed
| bruno ember 78 active
dina cobalt 83 closed
complete
farah cobalt 10 failed
eli cobalt 47 pending
gus birch 36 active
dina grove 86 failed
hana birch 64 pending
dina delta 20 active
alice delta 110 failed
| append_after | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012881 | Replace every sequence of digits with the letter N. | sed 's/[0-9][0-9]*/N/g' | gus birch 20 ready
eli fable 117 ready
eli fable 107 closed
farah birch 25 closed
bruno harbor 50 pending
eli harbor 117 closed
eli delta 103 ready
| gus birch N ready
eli fable N ready
eli fable N closed
farah birch N closed
bruno harbor N pending
eli harbor N closed
eli delta N ready
| gus harbor 36 active
bruno delta 27 ready
alice cobalt 87 failed
bruno ember 100 active
farah harbor 56 closed
hana fable 18 ready
hana birch 69 active
| gus harbor N active
bruno delta N ready
alice cobalt N failed
bruno ember N active
farah harbor N closed
hana fable N ready
hana birch N active
| digits_mask | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012874 | Append a space and reviewed to the end of every line. | sed 's/$/ reviewed/' | chen ember 36 failed
hana delta 80 active
dina harbor 113 pending
gus amber 4 closed
eli cobalt 7 pending
bruno grove 12 active
farah ember 17 closed
eli cobalt 116 active
alice birch 108 ready
| chen ember 36 failed reviewed
hana delta 80 active reviewed
dina harbor 113 pending reviewed
gus amber 4 closed reviewed
eli cobalt 7 pending reviewed
bruno grove 12 active reviewed
farah ember 17 closed reviewed
eli cobalt 116 active reviewed
alice birch 108 ready reviewed
| eli birch 25 closed
hana harbor 73 ready
bruno birch 82 closed
alice cobalt 13 ready
bruno ember 61 active
eli grove 78 failed
| eli birch 25 closed reviewed
hana harbor 73 ready reviewed
bruno birch 82 closed reviewed
alice cobalt 13 ready reviewed
bruno ember 61 active reviewed
eli grove 78 failed reviewed
| add_suffix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012876 | Delete all lines beginning with #. | sed '/^#/d' | dina amber 58 closed
# note
chen grove 46 ready
gus birch 35 ready
alice birch 42 pending
chen ember 80 ready
bruno cobalt 53 closed
bruno delta 15 ready
| dina amber 58 closed
chen grove 46 ready
gus birch 35 ready
alice birch 42 pending
chen ember 80 ready
bruno cobalt 53 closed
bruno delta 15 ready
| gus fable 23 closed
# note
eli harbor 113 closed
farah grove 29 pending
dina birch 47 failed
gus harbor 6 ready
dina grove 100 pending
| gus fable 23 closed
eli harbor 113 closed
farah grove 29 pending
dina birch 47 failed
gus harbor 6 ready
dina grove 100 pending
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012872 | Replace every comma with a tab character. | sed 's/,/\t/g' | dina,cobalt,94,pending
chen,delta,102,active
hana,birch,35,ready
bruno,birch,102,active
dina,amber,112,pending
gus,fable,86,ready
| dina cobalt 94 pending
chen delta 102 active
hana birch 35 ready
bruno birch 102 active
dina amber 112 pending
gus fable 86 ready
| chen,amber,56,ready
chen,delta,90,ready
hana,harbor,106,pending
farah,birch,37,ready
dina,fable,1,closed
bruno,amber,4,active
farah,ember,45,pending
bruno,ember,2,active
| chen amber 56 ready
chen delta 90 ready
hana harbor 106 pending
farah birch 37 ready
dina fable 1 closed
bruno amber 4 active
farah ember 45 pending
bruno ember 2 active
| comma_to_tab | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012877 | Print only the first 2 characters of each line. | sed 's/^\(.\{2\}\).*/\1/' | farah delta 24 ready
bruno amber 11 active
eli harbor 30 closed
gus cobalt 66 ready
chen grove 104 active
bruno fable 117 ready
bruno harbor 57 failed
alice ember 78 pending
| fa
br
el
gu
ch
br
br
al
| hana grove 41 failed
farah birch 67 failed
bruno cobalt 102 active
alice harbor 12 closed
hana fable 83 ready
bruno birch 109 pending
| ha
fa
br
al
ha
br
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0012873 | Add the prefix INFO followed by a space to the start of every line. | sed 's/^/INFO /' | alice birch 110 ready
gus delta 19 ready
hana amber 67 closed
bruno delta 117 closed
farah grove 22 failed
bruno grove 74 pending
bruno birch 83 failed
gus grove 62 ready
eli ember 31 ready
| INFO alice birch 110 ready
INFO gus delta 19 ready
INFO hana amber 67 closed
INFO bruno delta 117 closed
INFO farah grove 22 failed
INFO bruno grove 74 pending
INFO bruno birch 83 failed
INFO gus grove 62 ready
INFO eli ember 31 ready
| farah birch 14 closed
chen amber 46 pending
hana ember 34 ready
hana grove 71 active
chen grove 76 ready
eli cobalt 40 closed
| INFO farah birch 14 closed
INFO chen amber 46 pending
INFO hana ember 34 ready
INFO hana grove 71 active
INFO chen grove 76 ready
INFO eli cobalt 40 closed
| add_prefix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012875 | Comment out every input line by adding # and a space at the start. | sed 's/^/# /' | chen cobalt 46 closed
farah harbor 120 active
alice cobalt 87 ready
eli cobalt 21 closed
dina fable 11 pending
dina birch 21 active
| # chen cobalt 46 closed
# farah harbor 120 active
# alice cobalt 87 ready
# eli cobalt 21 closed
# dina fable 11 pending
# dina birch 21 active
| dina delta 38 pending
alice delta 85 active
eli delta 58 ready
bruno amber 54 failed
dina amber 102 failed
dina harbor 20 active
| # dina delta 38 pending
# alice delta 85 active
# eli delta 58 ready
# bruno amber 54 failed
# dina amber 102 failed
# dina harbor 20 active
| comment_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0012878 | Delete everything from the line containing cobalt through the line containing birch, inclusive. | sed /cobalt/,/birch/d | eli delta 109 failed
alice harbor 40 failed
gus ember 40 pending
gus amber 86 pending
dina grove 36 active
dina harbor 55 closed
hana cobalt 84 failed
chen harbor 65 failed
bruno grove 113 closed
| eli delta 109 failed
alice harbor 40 failed
gus ember 40 pending
gus amber 86 pending
dina grove 36 active
dina harbor 55 closed
| bruno amber 89 failed
gus cobalt 27 closed
hana fable 68 pending
bruno cobalt 50 ready
hana cobalt 88 failed
bruno amber 106 failed
chen birch 118 ready
gus grove 105 active
| bruno amber 89 failed
gus grove 105 active
| delete_between | 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.