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-0031880 | Append a space and complete to the end of every line. | sed 's/$/ complete/' | eli grove 102 active
alice amber 93 active
bruno grove 94 active
gus cobalt 26 ready
gus grove 55 closed
farah amber 65 closed
| eli grove 102 active complete
alice amber 93 active complete
bruno grove 94 active complete
gus cobalt 26 ready complete
gus grove 55 closed complete
farah amber 65 closed complete
| dina ember 56 ready
gus ember 67 ready
chen birch 19 ready
gus birch 90 active
farah harbor 8 ready
dina fable 89 failed
eli birch 58 pending
| dina ember 56 ready complete
gus ember 67 ready complete
chen birch 19 ready complete
gus birch 90 active complete
farah harbor 8 ready complete
dina fable 89 failed complete
eli birch 58 pending complete
| add_suffix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031875 | Convert every input line to uppercase. | sed 's/.*/\U&/' | dina delta 50 failed
hana ember 84 ready
dina cobalt 18 failed
bruno ember 114 pending
hana harbor 84 ready
gus amber 74 ready
chen delta 36 ready
bruno amber 29 pending
farah birch 16 failed
| DINA DELTA 50 FAILED
HANA EMBER 84 READY
DINA COBALT 18 FAILED
BRUNO EMBER 114 PENDING
HANA HARBOR 84 READY
GUS AMBER 74 READY
CHEN DELTA 36 READY
BRUNO AMBER 29 PENDING
FARAH BIRCH 16 FAILED
| alice amber 20 active
eli grove 17 pending
gus fable 78 active
farah amber 104 failed
dina cobalt 57 pending
chen ember 11 active
hana delta 21 failed
| ALICE AMBER 20 ACTIVE
ELI GROVE 17 PENDING
GUS FABLE 78 ACTIVE
FARAH AMBER 104 FAILED
DINA COBALT 57 PENDING
CHEN EMBER 11 ACTIVE
HANA DELTA 21 FAILED
| uppercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031882 | Delete all lines beginning with #. | sed '/^#/d' | chen delta 5 closed
# note
farah grove 55 pending
bruno ember 59 ready
bruno fable 9 pending
farah birch 96 closed
bruno grove 115 pending
chen ember 93 pending
chen cobalt 48 closed
gus fable 55 closed
| chen delta 5 closed
farah grove 55 pending
bruno ember 59 ready
bruno fable 9 pending
farah birch 96 closed
bruno grove 115 pending
chen ember 93 pending
chen cobalt 48 closed
gus fable 55 closed
| alice grove 62 closed
# note
farah birch 100 active
bruno fable 103 closed
gus amber 101 ready
hana fable 76 active
gus cobalt 80 pending
chen delta 17 ready
| alice grove 62 closed
farah birch 100 active
bruno fable 103 closed
gus amber 101 ready
hana fable 76 active
gus cobalt 80 pending
chen delta 17 ready
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031887 | Replace every sequence of digits with the letter N. | sed 's/[0-9][0-9]*/N/g' | dina cobalt 32 failed
gus cobalt 115 active
farah ember 119 pending
gus delta 40 closed
farah grove 30 active
chen delta 85 ready
farah fable 57 active
chen ember 54 active
eli delta 34 pending
| dina cobalt N failed
gus cobalt N active
farah ember N pending
gus delta N closed
farah grove N active
chen delta N ready
farah fable N active
chen ember N active
eli delta N pending
| chen grove 36 ready
hana ember 82 ready
eli amber 64 pending
farah birch 77 closed
dina birch 4 ready
alice delta 108 ready
eli harbor 30 failed
| chen grove N ready
hana ember N ready
eli amber N pending
farah birch N closed
dina birch N ready
alice delta N ready
eli harbor N failed
| digits_mask | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031884 | Delete everything from the line containing amber through the line containing birch, inclusive. | sed /amber/,/birch/d | gus fable 53 ready
dina grove 71 ready
alice harbor 95 failed
farah ember 74 active
gus birch 104 ready
hana amber 98 pending
alice harbor 11 pending
dina fable 29 pending
alice birch 64 closed
| gus fable 53 ready
dina grove 71 ready
alice harbor 95 failed
farah ember 74 active
gus birch 104 ready
| hana delta 51 ready
bruno delta 10 ready
bruno ember 75 closed
eli grove 66 ready
bruno fable 117 active
dina amber 102 failed
chen grove 41 failed
bruno grove 81 closed
hana birch 7 ready
| hana delta 51 ready
bruno delta 10 ready
bruno ember 75 closed
eli grove 66 ready
bruno fable 117 active
| delete_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031885 | Print only the block from the line containing birch through the line containing cobalt, inclusive. | sed -n /birch/,/cobalt/p | eli birch 118 failed
chen fable 104 closed
eli ember 44 closed
alice birch 67 failed
hana delta 99 failed
bruno amber 69 closed
| eli birch 118 failed
chen fable 104 closed
eli ember 44 closed
alice birch 67 failed
hana delta 99 failed
bruno amber 69 closed
| bruno grove 16 pending
dina cobalt 109 pending
bruno ember 29 failed
alice birch 111 active
eli cobalt 29 failed
hana amber 17 ready
farah ember 51 pending
eli fable 101 active
chen fable 97 ready
| alice birch 111 active
eli cobalt 29 failed
| print_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031886 | 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-0031888 | Print each input line's number, without printing the line contents. | sed = | gus cobalt 37 ready
dina cobalt 76 pending
hana fable 75 pending
alice harbor 86 ready
gus harbor 104 failed
chen harbor 28 pending
dina cobalt 58 active
| 1
gus cobalt 37 ready
2
dina cobalt 76 pending
3
hana fable 75 pending
4
alice harbor 86 ready
5
gus harbor 104 failed
6
chen harbor 28 pending
7
dina cobalt 58 active
| dina delta 31 closed
hana ember 23 failed
eli grove 60 ready
alice harbor 90 failed
dina amber 115 ready
eli fable 15 pending
gus birch 68 failed
eli ember 93 pending
| 1
dina delta 31 closed
2
hana ember 23 failed
3
eli grove 60 ready
4
alice harbor 90 failed
5
dina amber 115 ready
6
eli fable 15 pending
7
gus birch 68 failed
8
eli ember 93 pending
| number_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031883 | Print only the first 4 characters of each line. | sed 's/^\(.\{4\}\).*/\1/' | hana delta 36 ready
dina delta 46 failed
gus fable 103 pending
eli delta 104 closed
chen amber 53 failed
alice birch 117 active
hana cobalt 55 closed
alice ember 71 failed
farah grove 100 closed
| hana
dina
gus
eli
chen
alic
hana
alic
fara
| gus cobalt 29 pending
gus grove 74 active
farah fable 14 active
dina grove 9 closed
hana fable 81 closed
alice amber 19 pending
farah amber 49 closed
| gus
gus
fara
dina
hana
alic
fara
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031889 | Remove the first character from every line. | sed 's/^.//' | alice harbor 30 ready
bruno grove 67 closed
chen ember 115 failed
farah birch 31 ready
gus delta 37 ready
hana ember 44 ready
| lice harbor 30 ready
runo grove 67 closed
hen ember 115 failed
arah birch 31 ready
us delta 37 ready
ana ember 44 ready
| alice cobalt 13 pending
eli amber 54 pending
alice cobalt 120 closed
alice fable 114 active
gus grove 117 failed
alice harbor 101 active
eli harbor 103 closed
bruno cobalt 66 pending
alice grove 30 failed
| lice cobalt 13 pending
li amber 54 pending
lice cobalt 120 closed
lice fable 114 active
us grove 117 failed
lice harbor 101 active
li harbor 103 closed
runo cobalt 66 pending
lice grove 30 failed
| delete_first_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031900 | Delete the last line of the input and print all remaining lines. | sed '$d' | bruno delta 3 failed
alice delta 86 pending
chen fable 120 failed
bruno harbor 11 active
eli birch 115 pending
bruno harbor 98 failed
| bruno delta 3 failed
alice delta 86 pending
chen fable 120 failed
bruno harbor 11 active
eli birch 115 pending
| alice grove 1 active
chen birch 58 ready
gus ember 112 failed
dina fable 79 active
hana cobalt 47 failed
eli cobalt 66 ready
| alice grove 1 active
chen birch 58 ready
gus ember 112 failed
dina fable 79 active
hana cobalt 47 failed
| delete_last | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031904 | Replace every full line containing pending with the single line follow_up. | sed '/pending/c follow_up' | eli harbor 71 pending
gus delta 74 pending
chen ember 37 ready
hana cobalt 14 ready
alice fable 51 ready
hana fable 1 closed
eli amber 66 active
| follow_up
follow_up
chen ember 37 ready
hana cobalt 14 ready
alice fable 51 ready
hana fable 1 closed
eli amber 66 active
| dina birch 53 active
dina birch 27 closed
bruno ember 61 failed
alice birch 55 ready
hana delta 23 active
eli delta 97 active
alice birch 59 pending
| dina birch 53 active
dina birch 27 closed
bruno ember 61 failed
alice birch 55 ready
hana delta 23 active
eli delta 97 active
follow_up
| change_line | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031903 | Insert the line complete immediately before every line containing pending. | sed '/pending/i complete' | alice fable 6 active
chen harbor 22 active
eli ember 27 failed
dina cobalt 94 pending
chen amber 12 closed
dina ember 119 active
| alice fable 6 active
chen harbor 22 active
eli ember 27 failed
complete
dina cobalt 94 pending
chen amber 12 closed
dina ember 119 active
| dina delta 23 failed
chen amber 90 closed
chen harbor 5 ready
hana cobalt 89 failed
bruno amber 67 ready
hana fable 108 closed
alice delta 71 closed
dina grove 67 pending
| dina delta 23 failed
chen amber 90 closed
chen harbor 5 ready
hana cobalt 89 failed
bruno amber 67 ready
hana fable 108 closed
alice delta 71 closed
complete
dina grove 67 pending
| insert_before | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031906 | Remove all leading spaces and tabs from each line. | sed 's/^[ \t]*//' | dina cobalt 21 failed
dina ember 30 pending
alice cobalt 111 active
chen grove 16 ready
hana grove 108 active
eli birch 92 pending
chen amber 71 active
chen cobalt 108 closed
bruno delta 107 ready
| dina cobalt 21 failed
dina ember 30 pending
alice cobalt 111 active
chen grove 16 ready
hana grove 108 active
eli birch 92 pending
chen amber 71 active
chen cobalt 108 closed
bruno delta 107 ready
| chen delta 82 failed
chen amber 20 ready
hana delta 25 closed
dina amber 98 failed
chen grove 46 ready
gus grove 23 ready
bruno delta 75 failed
hana cobalt 91 ready
alice fable 94 active
| chen delta 82 failed
chen amber 20 ready
hana delta 25 closed
dina amber 98 failed
chen grove 46 ready
gus grove 23 ready
bruno delta 75 failed
hana cobalt 91 ready
alice fable 94 active
| strip_leading | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031901 | Print odd-numbered lines: lines 1, 3, 5, and so on. | sed -n '0~2p' | gus amber 77 active
eli amber 0 closed
alice grove 66 pending
chen ember 38 failed
gus amber 81 active
farah delta 45 ready
alice amber 103 ready
| eli amber 0 closed
chen ember 38 failed
farah delta 45 ready
| gus ember 30 ready
bruno harbor 86 pending
farah grove 104 closed
chen cobalt 42 failed
alice grove 3 active
bruno fable 55 active
| bruno harbor 86 pending
chen cobalt 42 failed
bruno fable 55 active
| every_other | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031907 | Remove all trailing spaces and tabs from each line. | sed 's/[ \t]*$//' | gus fable 65 active
bruno harbor 105 active
chen grove 73 ready
alice grove 56 active
gus harbor 102 failed
farah harbor 35 ready
hana delta 18 active
alice fable 115 pending
farah cobalt 34 pending
| gus fable 65 active
bruno harbor 105 active
chen grove 73 ready
alice grove 56 active
gus harbor 102 failed
farah harbor 35 ready
hana delta 18 active
alice fable 115 pending
farah cobalt 34 pending
| bruno fable 15 closed
eli grove 71 active
dina grove 69 active
chen grove 33 closed
farah harbor 22 closed
chen cobalt 20 active
bruno birch 0 pending
bruno cobalt 109 active
gus delta 28 pending
| bruno fable 15 closed
eli grove 71 active
dina grove 69 active
chen grove 33 closed
farah harbor 22 closed
chen cobalt 20 active
bruno birch 0 pending
bruno cobalt 109 active
gus delta 28 pending
| strip_trailing | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031902 | Append the line complete immediately after every line containing pending. | sed '/pending/a complete' | hana fable 112 failed
hana ember 45 active
farah delta 111 pending
farah amber 51 ready
chen delta 23 ready
chen birch 14 active
alice amber 98 ready
| hana fable 112 failed
hana ember 45 active
farah delta 111 pending
complete
farah amber 51 ready
chen delta 23 ready
chen birch 14 active
alice amber 98 ready
| gus birch 16 active
gus delta 89 closed
dina ember 5 failed
dina fable 111 active
dina harbor 86 active
bruno birch 94 closed
eli birch 29 pending
chen birch 79 active
| gus birch 16 active
gus delta 89 closed
dina ember 5 failed
dina fable 111 active
dina harbor 86 active
bruno birch 94 closed
eli birch 29 pending
complete
chen birch 79 active
| append_after | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031908 | Collapse every run of spaces or tabs to a single space. | sed 's/[ \t]+/ /g' | alice harbor 100 pending
alice delta 5 active
gus grove 55 ready
hana grove 32 closed
alice ember 115 active
gus harbor 71 closed
| alice harbor 100 pending
alice delta 5 active
gus grove 55 ready
hana grove 32 closed
alice ember 115 active
gus harbor 71 closed
| eli cobalt 46 closed
farah delta 90 pending
farah delta 41 ready
bruno harbor 88 pending
bruno fable 45 closed
hana fable 10 closed
dina grove 119 ready
gus delta 49 failed
bruno birch 28 pending
| eli cobalt 46 closed
farah delta 90 pending
farah delta 41 ready
bruno harbor 88 pending
bruno fable 45 closed
hana fable 10 closed
dina grove 119 ready
gus delta 49 failed
bruno birch 28 pending
| collapse_space | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031913 | Add the prefix record followed by a space to the start of every line. | sed 's/^/record /' | farah fable 23 pending
bruno amber 50 failed
hana ember 61 closed
bruno amber 41 active
chen cobalt 106 active
bruno cobalt 96 active
bruno ember 55 pending
chen ember 6 active
| record farah fable 23 pending
record bruno amber 50 failed
record hana ember 61 closed
record bruno amber 41 active
record chen cobalt 106 active
record bruno cobalt 96 active
record bruno ember 55 pending
record chen ember 6 active
| gus cobalt 116 ready
bruno fable 100 ready
eli fable 69 failed
bruno birch 111 active
hana amber 92 closed
gus grove 115 failed
| record gus cobalt 116 ready
record bruno fable 100 ready
record eli fable 69 failed
record bruno birch 111 active
record hana amber 92 closed
record gus grove 115 failed
| add_prefix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031905 | Delete all empty lines while preserving every nonempty line. | sed '/^$/d' | farah cobalt 31 closed
farah cobalt 51 failed
eli ember 75 closed
gus fable 32 ready
gus birch 107 failed
hana harbor 100 pending
bruno delta 8 closed
| farah cobalt 31 closed
farah cobalt 51 failed
eli ember 75 closed
gus fable 32 ready
gus birch 107 failed
hana harbor 100 pending
bruno delta 8 closed
| chen ember 69 failed
eli cobalt 106 failed
farah fable 34 pending
chen birch 59 pending
bruno cobalt 41 active
farah fable 10 ready
bruno fable 42 failed
hana ember 83 ready
| chen ember 69 failed
eli cobalt 106 failed
farah fable 34 pending
chen birch 59 pending
bruno cobalt 41 active
farah fable 10 ready
bruno fable 42 failed
hana ember 83 ready
| delete_blank | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031914 | Append a space and done to the end of every line. | sed 's/$/ done/' | bruno grove 6 failed
farah cobalt 14 ready
chen amber 58 pending
chen birch 81 active
hana harbor 104 active
gus ember 96 failed
dina harbor 88 pending
farah cobalt 57 closed
| bruno grove 6 failed done
farah cobalt 14 ready done
chen amber 58 pending done
chen birch 81 active done
hana harbor 104 active done
gus ember 96 failed done
dina harbor 88 pending done
farah cobalt 57 closed done
| eli cobalt 99 failed
chen ember 45 closed
chen ember 74 pending
eli cobalt 63 active
gus amber 75 failed
alice grove 5 ready
chen delta 120 ready
dina grove 45 closed
| eli cobalt 99 failed done
chen ember 45 closed done
chen ember 74 pending done
eli cobalt 63 active done
gus amber 75 failed done
alice grove 5 ready done
chen delta 120 ready done
dina grove 45 closed done
| add_suffix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031912 | Replace every comma with a tab character. | sed 's/,/\t/g' | hana,delta,8,active
farah,amber,80,pending
alice,delta,68,closed
eli,harbor,54,closed
dina,birch,41,active
farah,ember,26,active
bruno,delta,71,closed
dina,harbor,0,ready
| hana delta 8 active
farah amber 80 pending
alice delta 68 closed
eli harbor 54 closed
dina birch 41 active
farah ember 26 active
bruno delta 71 closed
dina harbor 0 ready
| chen,ember,6,closed
gus,fable,27,pending
farah,amber,111,failed
hana,delta,101,active
alice,grove,55,pending
eli,birch,77,active
hana,harbor,74,ready
gus,ember,29,ready
| chen ember 6 closed
gus fable 27 pending
farah amber 111 failed
hana delta 101 active
alice grove 55 pending
eli birch 77 active
hana harbor 74 ready
gus ember 29 ready
| comma_to_tab | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031911 | Swap the first two whitespace-separated fields on every line. | sed 's/\([^ ]*\) \([^ ]*\)/\2 \1/' | hana harbor 25 active
chen ember 84 active
gus ember 102 closed
chen amber 37 active
gus delta 17 ready
chen birch 87 failed
| harbor hana 25 active
ember chen 84 active
ember gus 102 closed
amber chen 37 active
delta gus 17 ready
birch chen 87 failed
| chen birch 84 ready
hana delta 66 closed
gus grove 22 failed
eli amber 43 failed
eli delta 87 closed
farah ember 59 closed
alice delta 95 failed
alice ember 50 failed
| birch chen 84 ready
delta hana 66 closed
grove gus 22 failed
amber eli 43 failed
delta eli 87 closed
ember farah 59 closed
delta alice 95 failed
ember alice 50 failed
| swap_fields | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031910 | Convert every input line to lowercase. | sed 's/.*/\L&/' | bruno grove 34 pending
alice grove 67 closed
eli harbor 59 pending
gus delta 72 active
bruno amber 95 failed
chen cobalt 117 ready
chen harbor 76 ready
gus birch 35 closed
dina fable 14 pending
| bruno grove 34 pending
alice grove 67 closed
eli harbor 59 pending
gus delta 72 active
bruno amber 95 failed
chen cobalt 117 ready
chen harbor 76 ready
gus birch 35 closed
dina fable 14 pending
| dina ember 59 active
hana birch 105 pending
alice fable 83 closed
chen cobalt 74 closed
farah harbor 109 pending
dina amber 36 pending
bruno ember 1 closed
| dina ember 59 active
hana birch 105 pending
alice fable 83 closed
chen cobalt 74 closed
farah harbor 109 pending
dina amber 36 pending
bruno ember 1 closed
| lowercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031909 | Convert every input line to uppercase. | sed 's/.*/\U&/' | farah ember 64 active
alice amber 54 ready
hana grove 33 ready
hana grove 28 active
alice harbor 80 closed
chen birch 47 closed
farah delta 4 ready
| FARAH EMBER 64 ACTIVE
ALICE AMBER 54 READY
HANA GROVE 33 READY
HANA GROVE 28 ACTIVE
ALICE HARBOR 80 CLOSED
CHEN BIRCH 47 CLOSED
FARAH DELTA 4 READY
| dina delta 23 closed
hana grove 64 ready
chen harbor 105 failed
farah cobalt 75 ready
bruno harbor 106 pending
dina harbor 28 ready
| DINA DELTA 23 CLOSED
HANA GROVE 64 READY
CHEN HARBOR 105 FAILED
FARAH COBALT 75 READY
BRUNO HARBOR 106 PENDING
DINA HARBOR 28 READY
| uppercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031919 | Print only the block from the line containing harbor through the line containing cobalt, inclusive. | sed -n /harbor/,/cobalt/p | hana birch 52 closed
dina amber 2 active
bruno birch 33 failed
farah harbor 42 active
hana amber 45 pending
eli grove 73 failed
| farah harbor 42 active
hana amber 45 pending
eli grove 73 failed
| chen harbor 14 ready
chen fable 13 active
chen birch 52 failed
alice birch 104 active
gus delta 11 failed
hana birch 50 pending
gus delta 99 pending
| chen harbor 14 ready
chen fable 13 active
chen birch 52 failed
alice birch 104 active
gus delta 11 failed
hana birch 50 pending
gus delta 99 pending
| print_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031920 | 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-0031921 | Replace every sequence of digits with the letter N. | sed 's/[0-9][0-9]*/N/g' | alice harbor 119 ready
bruno delta 56 closed
eli grove 62 pending
chen harbor 16 pending
dina cobalt 102 ready
gus amber 18 active
hana delta 89 pending
| alice harbor N ready
bruno delta N closed
eli grove N pending
chen harbor N pending
dina cobalt N ready
gus amber N active
hana delta N pending
| hana birch 37 closed
alice fable 31 pending
chen birch 77 active
hana harbor 83 failed
hana grove 59 active
hana amber 8 failed
bruno birch 45 pending
farah harbor 97 closed
dina amber 84 closed
| hana birch N closed
alice fable N pending
chen birch N active
hana harbor N failed
hana grove N active
hana amber N failed
bruno birch N pending
farah harbor N closed
dina amber N closed
| digits_mask | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031922 | Print each input line's number, without printing the line contents. | sed = | alice ember 46 active
eli harbor 110 closed
hana grove 44 active
hana amber 78 pending
hana birch 18 failed
chen amber 110 ready
bruno grove 3 ready
hana fable 106 closed
| 1
alice ember 46 active
2
eli harbor 110 closed
3
hana grove 44 active
4
hana amber 78 pending
5
hana birch 18 failed
6
chen amber 110 ready
7
bruno grove 3 ready
8
hana fable 106 closed
| alice delta 89 closed
chen harbor 83 ready
dina fable 120 pending
alice fable 92 active
farah birch 10 ready
gus fable 39 active
eli fable 93 closed
eli harbor 54 pending
| 1
alice delta 89 closed
2
chen harbor 83 ready
3
dina fable 120 pending
4
alice fable 92 active
5
farah birch 10 ready
6
gus fable 39 active
7
eli fable 93 closed
8
eli harbor 54 pending
| number_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031915 | Comment out every input line by adding # and a space at the start. | sed 's/^/# /' | eli delta 116 ready
bruno birch 76 pending
gus grove 67 closed
hana delta 15 pending
hana delta 66 ready
farah ember 48 failed
alice grove 91 pending
| # eli delta 116 ready
# bruno birch 76 pending
# gus grove 67 closed
# hana delta 15 pending
# hana delta 66 ready
# farah ember 48 failed
# alice grove 91 pending
| gus delta 116 failed
dina cobalt 43 closed
dina harbor 103 pending
farah birch 91 closed
eli amber 73 ready
hana fable 42 failed
| # gus delta 116 failed
# dina cobalt 43 closed
# dina harbor 103 pending
# farah birch 91 closed
# eli amber 73 ready
# hana fable 42 failed
| comment_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031917 | Print only the first 3 characters of each line. | sed 's/^\(.\{3\}\).*/\1/' | hana amber 52 pending
dina cobalt 55 closed
dina grove 51 closed
alice amber 39 closed
gus fable 24 ready
hana grove 18 pending
chen ember 21 active
dina grove 112 pending
hana fable 60 pending
| han
din
din
ali
gus
han
che
din
han
| chen delta 48 failed
chen ember 13 ready
eli amber 7 active
alice cobalt 118 failed
bruno birch 18 pending
farah cobalt 54 failed
gus grove 35 pending
hana harbor 100 failed
| che
che
eli
ali
bru
far
gus
han
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031918 | Delete everything from the line containing harbor through the line containing amber, inclusive. | sed /harbor/,/amber/d | bruno fable 114 active
eli amber 23 pending
eli delta 4 ready
bruno ember 102 pending
gus ember 97 failed
hana amber 105 ready
eli delta 9 ready
| bruno fable 114 active
eli amber 23 pending
eli delta 4 ready
bruno ember 102 pending
gus ember 97 failed
hana amber 105 ready
eli delta 9 ready
| farah fable 26 failed
bruno harbor 10 closed
farah cobalt 93 failed
chen ember 41 closed
gus ember 1 closed
dina harbor 88 failed
gus fable 116 pending
| farah fable 26 failed
| delete_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031916 | Delete all lines beginning with #. | sed '/^#/d' | bruno birch 103 failed
# note
eli delta 55 failed
farah ember 64 active
farah birch 105 pending
bruno ember 51 ready
bruno fable 40 pending
| bruno birch 103 failed
eli delta 55 failed
farah ember 64 active
farah birch 105 pending
bruno ember 51 ready
bruno fable 40 pending
| hana fable 116 ready
# note
hana fable 115 ready
dina ember 80 failed
eli harbor 75 pending
farah ember 86 failed
gus ember 84 closed
| hana fable 116 ready
hana fable 115 ready
dina ember 80 failed
eli harbor 75 pending
farah ember 86 failed
gus ember 84 closed
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031924 | Remove the last character from every line. | sed 's/.$//' | eli harbor 39 active
gus cobalt 92 closed
farah grove 10 active
bruno ember 76 failed
hana amber 112 pending
chen ember 72 closed
bruno harbor 104 active
| eli harbor 39 activ
gus cobalt 92 close
farah grove 10 activ
bruno ember 76 faile
hana amber 112 pendin
chen ember 72 close
bruno harbor 104 activ
| eli harbor 105 pending
gus grove 89 pending
bruno fable 103 ready
dina grove 22 ready
hana grove 96 ready
hana fable 116 ready
| eli harbor 105 pendin
gus grove 89 pendin
bruno fable 103 read
dina grove 22 read
hana grove 96 read
hana fable 116 read
| delete_last_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031927 | Replace every occurrence of cobalt with birch throughout the input. | sed s/cobalt/birch/g | dina fable 43 pending
eli birch 50 active
chen ember 51 pending
eli cobalt 104 active
alice cobalt 80 failed
eli harbor 33 closed
hana cobalt 33 ready
hana grove 31 closed
| dina fable 43 pending
eli birch 50 active
chen ember 51 pending
eli birch 104 active
alice birch 80 failed
eli harbor 33 closed
hana birch 33 ready
hana grove 31 closed
| bruno grove 89 ready
bruno grove 41 ready
farah birch 36 closed
eli delta 33 ready
chen grove 97 active
gus grove 5 active
farah harbor 20 active
| bruno grove 89 ready
bruno grove 41 ready
farah birch 36 closed
eli delta 33 ready
chen grove 97 active
gus grove 5 active
farah harbor 20 active
| substitute_global | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031923 | Remove the first character from every line. | sed 's/^.//' | hana fable 4 pending
gus harbor 94 pending
chen grove 57 closed
farah birch 17 ready
dina cobalt 76 failed
chen harbor 65 failed
| ana fable 4 pending
us harbor 94 pending
hen grove 57 closed
arah birch 17 ready
ina cobalt 76 failed
hen harbor 65 failed
| alice ember 92 pending
gus amber 28 closed
hana grove 60 failed
bruno ember 71 active
chen ember 105 failed
eli cobalt 85 ready
| lice ember 92 pending
us amber 28 closed
ana grove 60 failed
runo ember 71 active
hen ember 105 failed
li cobalt 85 ready
| delete_first_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031930 | Print lines 3 through 5, inclusive, and nothing else. | sed -n 3,5p | chen amber 95 ready
eli ember 2 ready
chen birch 8 closed
chen ember 75 failed
hana cobalt 9 ready
hana delta 6 pending
chen harbor 57 active
gus amber 47 active
| chen birch 8 closed
chen ember 75 failed
hana cobalt 9 ready
| dina fable 104 pending
gus harbor 108 active
chen fable 49 ready
alice harbor 97 active
bruno amber 87 pending
dina amber 65 failed
bruno birch 26 active
eli cobalt 9 pending
eli delta 71 pending
| chen fable 49 ready
alice harbor 97 active
bruno amber 87 pending
| line_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031926 | Replace the first occurrence of cobalt with delta on each line. | sed s/cobalt/delta/ | chen harbor 82 active
dina birch 105 closed
eli cobalt 98 active
alice amber 67 pending
bruno ember 85 failed
chen grove 3 active
hana delta 45 pending
farah delta 49 closed
| chen harbor 82 active
dina birch 105 closed
eli delta 98 active
alice amber 67 pending
bruno ember 85 failed
chen grove 3 active
hana delta 45 pending
farah delta 49 closed
| bruno harbor 10 pending
eli fable 117 failed
bruno harbor 5 failed
alice ember 97 failed
dina harbor 17 closed
bruno delta 24 pending
| bruno harbor 10 pending
eli fable 117 failed
bruno harbor 5 failed
alice ember 97 failed
dina harbor 17 closed
bruno delta 24 pending
| substitute_first | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031928 | Delete every line containing ready. | sed /ready/d | eli ember 70 failed
bruno birch 96 active
gus birch 6 pending
bruno harbor 48 pending
dina grove 58 failed
bruno cobalt 1 active
dina birch 47 active
dina ember 34 ready
eli cobalt 33 pending
| eli ember 70 failed
bruno birch 96 active
gus birch 6 pending
bruno harbor 48 pending
dina grove 58 failed
bruno cobalt 1 active
dina birch 47 active
eli cobalt 33 pending
| bruno ember 60 active
hana delta 45 pending
dina amber 105 pending
alice fable 9 closed
alice fable 30 ready
dina delta 85 active
| bruno ember 60 active
hana delta 45 pending
dina amber 105 pending
alice fable 9 closed
dina delta 85 active
| regex_delete | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031925 | Print only the second comma-separated field from each line. | sed 's/[^,]*,\([^,]*\).*/\1/' | gus,birch,116,failed
eli,ember,17,pending
dina,cobalt,45,failed
alice,delta,85,closed
hana,harbor,25,pending
bruno,grove,64,closed
dina,amber,52,ready
alice,delta,44,ready
hana,ember,52,pending
| birch
ember
cobalt
delta
harbor
grove
amber
delta
ember
| hana,cobalt,50,failed
dina,delta,97,ready
bruno,harbor,95,ready
hana,cobalt,84,pending
farah,amber,1,closed
chen,ember,57,active
hana,fable,108,failed
hana,harbor,77,active
| cobalt
delta
harbor
cobalt
amber
ember
fable
harbor
| extract_second_csv | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031931 | Delete lines 4 through 5, leaving all other lines unchanged. | sed 4,5d | eli ember 115 pending
alice delta 52 failed
eli ember 60 failed
bruno grove 44 failed
dina birch 57 failed
chen amber 53 pending
| eli ember 115 pending
alice delta 52 failed
eli ember 60 failed
chen amber 53 pending
| alice grove 63 pending
gus fable 117 closed
gus grove 119 pending
eli harbor 50 active
hana delta 44 pending
alice delta 79 pending
hana harbor 38 ready
| alice grove 63 pending
gus fable 117 closed
gus grove 119 pending
alice delta 79 pending
hana harbor 38 ready
| delete_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031932 | Print only the first 3 lines. | sed -n 1,3p | alice amber 70 pending
chen fable 78 pending
gus birch 88 active
dina cobalt 33 failed
dina birch 69 pending
farah birch 91 pending
| alice amber 70 pending
chen fable 78 pending
gus birch 88 active
| dina cobalt 1 pending
eli amber 105 ready
eli delta 83 failed
dina ember 55 active
gus cobalt 107 active
bruno fable 86 pending
dina cobalt 22 failed
alice cobalt 113 ready
| dina cobalt 1 pending
eli amber 105 ready
eli delta 83 failed
| first_n | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031938 | Replace every full line containing ready with the single line reviewed. | sed '/ready/c reviewed' | farah cobalt 97 failed
alice fable 41 failed
bruno delta 72 closed
chen delta 106 ready
farah fable 61 pending
hana delta 60 active
dina ember 78 closed
| farah cobalt 97 failed
alice fable 41 failed
bruno delta 72 closed
reviewed
farah fable 61 pending
hana delta 60 active
dina ember 78 closed
| chen birch 112 closed
farah fable 72 ready
chen fable 16 closed
hana delta 53 ready
dina grove 6 closed
alice fable 33 pending
hana grove 28 closed
| chen birch 112 closed
reviewed
chen fable 16 closed
reviewed
dina grove 6 closed
alice fable 33 pending
hana grove 28 closed
| change_line | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031936 | Append the line complete immediately after every line containing ready. | sed '/ready/a complete' | hana delta 112 active
gus delta 73 failed
chen birch 59 failed
gus amber 10 pending
bruno harbor 58 ready
bruno harbor 54 ready
| hana delta 112 active
gus delta 73 failed
chen birch 59 failed
gus amber 10 pending
bruno harbor 58 ready
complete
bruno harbor 54 ready
complete
| farah grove 41 closed
gus delta 99 pending
farah amber 118 ready
farah fable 56 closed
dina fable 86 closed
eli cobalt 11 ready
| farah grove 41 closed
gus delta 99 pending
farah amber 118 ready
complete
farah fable 56 closed
dina fable 86 closed
eli cobalt 11 ready
complete
| append_after | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031935 | Print odd-numbered lines: lines 1, 3, 5, and so on. | sed -n '0~2p' | chen ember 77 active
farah delta 8 pending
farah delta 33 ready
hana ember 73 closed
eli birch 33 ready
dina delta 55 closed
| farah delta 8 pending
hana ember 73 closed
dina delta 55 closed
| bruno grove 22 ready
dina ember 106 closed
gus fable 70 failed
dina grove 19 failed
dina ember 80 active
hana ember 97 active
chen birch 34 ready
| dina ember 106 closed
dina grove 19 failed
hana ember 97 active
| every_other | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031929 | Print only lines containing ready; suppress all others. | sed -n /ready/p | chen harbor 42 closed
alice amber 37 ready
chen delta 22 ready
dina ember 49 active
eli delta 100 ready
eli ember 78 active
farah ember 33 closed
gus fable 108 active
hana harbor 92 pending
| alice amber 37 ready
chen delta 22 ready
eli delta 100 ready
| chen grove 117 failed
eli birch 44 ready
hana grove 46 ready
bruno amber 114 failed
alice delta 107 closed
eli fable 67 failed
farah fable 116 active
eli ember 118 closed
| eli birch 44 ready
hana grove 46 ready
| regex_print | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031937 | Insert the line follow_up immediately before every line containing pending. | sed '/pending/i follow_up' | gus cobalt 85 closed
hana cobalt 77 closed
farah birch 2 active
eli ember 64 closed
bruno ember 61 pending
chen birch 88 active
eli fable 60 active
farah ember 73 ready
chen delta 22 pending
| gus cobalt 85 closed
hana cobalt 77 closed
farah birch 2 active
eli ember 64 closed
follow_up
bruno ember 61 pending
chen birch 88 active
eli fable 60 active
farah ember 73 ready
follow_up
chen delta 22 pending
| farah delta 113 failed
alice harbor 22 pending
chen birch 39 active
alice delta 16 closed
eli birch 77 active
hana fable 56 active
farah grove 50 ready
| farah delta 113 failed
follow_up
alice harbor 22 pending
chen birch 39 active
alice delta 16 closed
eli birch 77 active
hana fable 56 active
farah grove 50 ready
| insert_before | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031941 | Remove all trailing spaces and tabs from each line. | sed 's/[ \t]*$//' | eli fable 11 active
chen grove 36 active
bruno cobalt 85 closed
alice fable 102 active
eli delta 95 failed
eli amber 66 active
| eli fable 11 active
chen grove 36 active
bruno cobalt 85 closed
alice fable 102 active
eli delta 95 failed
eli amber 66 active
| hana grove 1 closed
bruno fable 55 active
alice birch 93 closed
dina amber 80 closed
farah cobalt 110 pending
alice delta 64 pending
chen cobalt 1 failed
chen amber 27 active
| hana grove 1 closed
bruno fable 55 active
alice birch 93 closed
dina amber 80 closed
farah cobalt 110 pending
alice delta 64 pending
chen cobalt 1 failed
chen amber 27 active
| strip_trailing | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031939 | Delete all empty lines while preserving every nonempty line. | sed '/^$/d' | farah harbor 32 failed
eli birch 38 closed
bruno delta 82 failed
alice birch 82 active
bruno harbor 80 failed
dina birch 47 failed
gus amber 40 pending
gus birch 75 active
hana delta 49 ready
| farah harbor 32 failed
eli birch 38 closed
bruno delta 82 failed
alice birch 82 active
bruno harbor 80 failed
dina birch 47 failed
gus amber 40 pending
gus birch 75 active
hana delta 49 ready
| gus birch 115 active
bruno grove 56 active
dina fable 94 active
alice grove 32 pending
eli grove 103 ready
alice harbor 97 active
dina amber 100 active
chen birch 110 failed
| gus birch 115 active
bruno grove 56 active
dina fable 94 active
alice grove 32 pending
eli grove 103 ready
alice harbor 97 active
dina amber 100 active
chen birch 110 failed
| delete_blank | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031940 | Remove all leading spaces and tabs from each line. | sed 's/^[ \t]*//' | dina harbor 24 active
farah cobalt 49 pending
gus birch 53 closed
chen fable 119 active
chen ember 60 pending
eli delta 67 pending
eli amber 59 active
| dina harbor 24 active
farah cobalt 49 pending
gus birch 53 closed
chen fable 119 active
chen ember 60 pending
eli delta 67 pending
eli amber 59 active
| bruno grove 82 ready
chen grove 17 failed
farah harbor 95 failed
dina harbor 70 pending
farah harbor 118 active
dina delta 80 active
| bruno grove 82 ready
chen grove 17 failed
farah harbor 95 failed
dina harbor 70 pending
farah harbor 118 active
dina delta 80 active
| strip_leading | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031934 | Delete the last line of the input and print all remaining lines. | sed '$d' | farah grove 49 pending
hana fable 70 ready
alice delta 104 failed
bruno harbor 73 active
dina amber 16 failed
gus amber 36 failed
| farah grove 49 pending
hana fable 70 ready
alice delta 104 failed
bruno harbor 73 active
dina amber 16 failed
| eli ember 59 active
bruno delta 93 failed
bruno fable 2 active
bruno amber 37 ready
eli delta 117 active
bruno harbor 39 failed
| eli ember 59 active
bruno delta 93 failed
bruno fable 2 active
bruno amber 37 ready
eli delta 117 active
| delete_last | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031933 | Print only the last line of the input. | sed -n '$p' | gus harbor 85 failed
dina cobalt 104 active
hana amber 104 failed
gus delta 20 ready
dina cobalt 80 pending
farah fable 84 pending
alice amber 55 pending
chen fable 92 ready
| chen fable 92 ready
| chen delta 72 closed
gus grove 68 closed
eli delta 1 active
dina fable 81 ready
chen grove 19 active
hana cobalt 69 pending
gus cobalt 25 pending
| gus cobalt 25 pending
| last_line | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031948 | Append a space and complete to the end of every line. | sed 's/$/ complete/' | hana cobalt 103 ready
chen delta 52 active
alice ember 33 closed
hana ember 11 closed
eli birch 84 active
gus amber 62 active
eli fable 15 failed
chen ember 90 pending
| hana cobalt 103 ready complete
chen delta 52 active complete
alice ember 33 closed complete
hana ember 11 closed complete
eli birch 84 active complete
gus amber 62 active complete
eli fable 15 failed complete
chen ember 90 pending complete
| bruno harbor 102 failed
alice grove 85 closed
hana birch 70 ready
hana delta 41 active
dina ember 95 ready
hana amber 61 ready
| bruno harbor 102 failed complete
alice grove 85 closed complete
hana birch 70 ready complete
hana delta 41 active complete
dina ember 95 ready complete
hana amber 61 ready complete
| add_suffix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031942 | Collapse every run of spaces or tabs to a single space. | sed 's/[ \t]+/ /g' | eli harbor 100 pending
gus ember 31 pending
chen amber 12 pending
farah ember 40 active
chen fable 87 ready
eli delta 88 ready
dina grove 11 pending
hana delta 85 pending
alice harbor 17 active
| eli harbor 100 pending
gus ember 31 pending
chen amber 12 pending
farah ember 40 active
chen fable 87 ready
eli delta 88 ready
dina grove 11 pending
hana delta 85 pending
alice harbor 17 active
| gus harbor 38 failed
dina amber 19 ready
alice ember 65 ready
farah fable 67 failed
hana amber 111 closed
hana cobalt 1 closed
dina amber 104 failed
hana delta 57 pending
gus harbor 83 failed
| gus harbor 38 failed
dina amber 19 ready
alice ember 65 ready
farah fable 67 failed
hana amber 111 closed
hana cobalt 1 closed
dina amber 104 failed
hana delta 57 pending
gus harbor 83 failed
| collapse_space | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031945 | Swap the first two whitespace-separated fields on every line. | sed 's/\([^ ]*\) \([^ ]*\)/\2 \1/' | farah birch 79 active
gus grove 55 active
eli birch 114 active
eli fable 103 ready
gus delta 117 active
chen harbor 12 pending
bruno amber 0 failed
bruno cobalt 13 failed
| birch farah 79 active
grove gus 55 active
birch eli 114 active
fable eli 103 ready
delta gus 117 active
harbor chen 12 pending
amber bruno 0 failed
cobalt bruno 13 failed
| gus ember 70 pending
hana birch 64 active
chen harbor 33 ready
chen cobalt 109 failed
eli ember 86 pending
alice harbor 119 pending
gus grove 15 ready
eli birch 119 pending
| ember gus 70 pending
birch hana 64 active
harbor chen 33 ready
cobalt chen 109 failed
ember eli 86 pending
harbor alice 119 pending
grove gus 15 ready
birch eli 119 pending
| swap_fields | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031946 | Replace every comma with a tab character. | sed 's/,/\t/g' | dina,amber,115,closed
chen,cobalt,2,pending
chen,birch,107,failed
gus,grove,54,closed
alice,birch,114,ready
gus,birch,60,failed
| dina amber 115 closed
chen cobalt 2 pending
chen birch 107 failed
gus grove 54 closed
alice birch 114 ready
gus birch 60 failed
| dina,fable,101,pending
gus,delta,54,ready
bruno,birch,33,failed
eli,grove,8,ready
eli,ember,55,closed
hana,cobalt,29,active
dina,birch,96,failed
hana,cobalt,103,failed
dina,harbor,8,ready
| dina fable 101 pending
gus delta 54 ready
bruno birch 33 failed
eli grove 8 ready
eli ember 55 closed
hana cobalt 29 active
dina birch 96 failed
hana cobalt 103 failed
dina harbor 8 ready
| comma_to_tab | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031943 | Convert every input line to uppercase. | sed 's/.*/\U&/' | farah cobalt 36 failed
eli grove 73 failed
hana harbor 92 ready
bruno amber 17 active
alice harbor 85 ready
eli birch 74 failed
| FARAH COBALT 36 FAILED
ELI GROVE 73 FAILED
HANA HARBOR 92 READY
BRUNO AMBER 17 ACTIVE
ALICE HARBOR 85 READY
ELI BIRCH 74 FAILED
| dina grove 114 failed
eli delta 119 ready
chen delta 1 pending
chen birch 56 ready
chen ember 104 active
bruno grove 60 active
eli birch 91 ready
gus cobalt 19 closed
bruno amber 4 ready
| DINA GROVE 114 FAILED
ELI DELTA 119 READY
CHEN DELTA 1 PENDING
CHEN BIRCH 56 READY
CHEN EMBER 104 ACTIVE
BRUNO GROVE 60 ACTIVE
ELI BIRCH 91 READY
GUS COBALT 19 CLOSED
BRUNO AMBER 4 READY
| uppercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031944 | Convert every input line to lowercase. | sed 's/.*/\L&/' | hana delta 100 ready
farah fable 66 closed
eli birch 56 ready
alice amber 95 active
farah cobalt 58 closed
gus ember 105 pending
| hana delta 100 ready
farah fable 66 closed
eli birch 56 ready
alice amber 95 active
farah cobalt 58 closed
gus ember 105 pending
| bruno amber 99 failed
hana fable 58 ready
bruno harbor 59 ready
farah harbor 18 pending
gus cobalt 27 active
bruno birch 59 ready
| bruno amber 99 failed
hana fable 58 ready
bruno harbor 59 ready
farah harbor 18 pending
gus cobalt 27 active
bruno birch 59 ready
| lowercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031947 | Add the prefix record followed by a space to the start of every line. | sed 's/^/record /' | dina harbor 99 ready
chen amber 88 pending
gus cobalt 103 failed
eli harbor 120 pending
dina birch 14 closed
gus birch 72 ready
| record dina harbor 99 ready
record chen amber 88 pending
record gus cobalt 103 failed
record eli harbor 120 pending
record dina birch 14 closed
record gus birch 72 ready
| hana ember 61 pending
eli ember 84 pending
bruno ember 30 active
hana fable 113 active
gus ember 115 pending
hana birch 66 failed
hana grove 40 closed
farah ember 80 failed
farah amber 120 active
| record hana ember 61 pending
record eli ember 84 pending
record bruno ember 30 active
record hana fable 113 active
record gus ember 115 pending
record hana birch 66 failed
record hana grove 40 closed
record farah ember 80 failed
record farah amber 120 active
| add_prefix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031949 | Comment out every input line by adding # and a space at the start. | sed 's/^/# /' | eli ember 84 active
dina amber 18 failed
chen delta 29 closed
farah grove 72 ready
chen cobalt 5 closed
dina amber 13 pending
| # eli ember 84 active
# dina amber 18 failed
# chen delta 29 closed
# farah grove 72 ready
# chen cobalt 5 closed
# dina amber 13 pending
| gus harbor 119 active
gus birch 45 pending
eli amber 38 active
eli cobalt 88 closed
farah cobalt 99 active
eli birch 72 closed
| # gus harbor 119 active
# gus birch 45 pending
# eli amber 38 active
# eli cobalt 88 closed
# farah cobalt 99 active
# eli birch 72 closed
| comment_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031950 | Delete all lines beginning with #. | sed '/^#/d' | alice cobalt 48 failed
# note
bruno harbor 21 active
gus birch 109 ready
chen harbor 37 closed
gus harbor 55 active
chen ember 79 pending
eli ember 91 failed
hana ember 7 ready
| alice cobalt 48 failed
bruno harbor 21 active
gus birch 109 ready
chen harbor 37 closed
gus harbor 55 active
chen ember 79 pending
eli ember 91 failed
hana ember 7 ready
| hana ember 32 active
# note
hana delta 105 ready
eli harbor 65 failed
bruno harbor 39 closed
farah delta 88 closed
alice fable 10 failed
farah cobalt 81 ready
alice harbor 101 failed
hana delta 45 active
| hana ember 32 active
hana delta 105 ready
eli harbor 65 failed
bruno harbor 39 closed
farah delta 88 closed
alice fable 10 failed
farah cobalt 81 ready
alice harbor 101 failed
hana delta 45 active
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031952 | Delete everything from the line containing fable through the line containing amber, inclusive. | sed /fable/,/amber/d | dina harbor 20 failed
alice ember 84 closed
farah ember 84 closed
eli harbor 57 ready
chen harbor 89 failed
hana amber 9 ready
alice amber 60 ready
hana amber 51 closed
| dina harbor 20 failed
alice ember 84 closed
farah ember 84 closed
eli harbor 57 ready
chen harbor 89 failed
hana amber 9 ready
alice amber 60 ready
hana amber 51 closed
| bruno ember 50 pending
gus birch 43 pending
dina harbor 90 failed
chen grove 69 closed
alice delta 85 pending
chen grove 24 failed
alice harbor 3 active
gus ember 55 ready
hana amber 67 failed
| bruno ember 50 pending
gus birch 43 pending
dina harbor 90 failed
chen grove 69 closed
alice delta 85 pending
chen grove 24 failed
alice harbor 3 active
gus ember 55 ready
hana amber 67 failed
| delete_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031954 | 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-0031956 | Print each input line's number, without printing the line contents. | sed = | chen cobalt 112 active
chen grove 45 active
dina harbor 63 active
farah birch 52 active
eli harbor 50 ready
alice harbor 111 closed
| 1
chen cobalt 112 active
2
chen grove 45 active
3
dina harbor 63 active
4
farah birch 52 active
5
eli harbor 50 ready
6
alice harbor 111 closed
| hana birch 5 ready
bruno grove 32 active
alice ember 86 ready
hana grove 81 pending
farah birch 56 ready
farah grove 87 pending
bruno birch 28 closed
| 1
hana birch 5 ready
2
bruno grove 32 active
3
alice ember 86 ready
4
hana grove 81 pending
5
farah birch 56 ready
6
farah grove 87 pending
7
bruno birch 28 closed
| number_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031955 | Replace every sequence of digits with the letter N. | sed 's/[0-9][0-9]*/N/g' | chen grove 75 ready
hana harbor 81 pending
dina amber 71 pending
chen delta 113 closed
chen amber 105 pending
hana amber 108 failed
eli birch 113 pending
alice amber 0 pending
eli delta 104 active
| chen grove N ready
hana harbor N pending
dina amber N pending
chen delta N closed
chen amber N pending
hana amber N failed
eli birch N pending
alice amber N pending
eli delta N active
| bruno grove 68 active
gus birch 50 active
chen fable 42 active
alice ember 35 closed
dina fable 105 active
dina harbor 98 ready
alice amber 52 failed
dina ember 13 failed
gus fable 17 failed
| bruno grove N active
gus birch N active
chen fable N active
alice ember N closed
dina fable N active
dina harbor N ready
alice amber N failed
dina ember N failed
gus fable N failed
| digits_mask | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031951 | Print only the first 6 characters of each line. | sed 's/^\(.\{6\}\).*/\1/' | hana birch 21 failed
chen amber 115 pending
eli cobalt 109 active
bruno grove 57 failed
bruno harbor 99 closed
gus fable 51 ready
bruno grove 56 failed
dina delta 12 pending
alice amber 102 ready
| hana b
chen a
eli co
bruno
bruno
gus fa
bruno
dina d
alice
| alice harbor 15 ready
bruno grove 75 pending
eli cobalt 110 closed
chen grove 94 active
chen grove 15 ready
hana ember 97 closed
dina birch 81 ready
eli amber 94 failed
| alice
bruno
eli co
chen g
chen g
hana e
dina b
eli am
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031957 | Remove the first character from every line. | sed 's/^.//' | hana harbor 23 active
gus birch 18 ready
farah fable 9 failed
alice ember 15 ready
bruno amber 60 ready
chen amber 94 ready
dina amber 54 closed
gus grove 113 closed
eli ember 51 ready
| ana harbor 23 active
us birch 18 ready
arah fable 9 failed
lice ember 15 ready
runo amber 60 ready
hen amber 94 ready
ina amber 54 closed
us grove 113 closed
li ember 51 ready
| hana delta 43 active
gus birch 120 failed
chen cobalt 97 active
bruno delta 41 closed
dina grove 93 pending
bruno ember 96 closed
chen delta 91 ready
farah birch 49 closed
dina ember 10 pending
| ana delta 43 active
us birch 120 failed
hen cobalt 97 active
runo delta 41 closed
ina grove 93 pending
runo ember 96 closed
hen delta 91 ready
arah birch 49 closed
ina ember 10 pending
| delete_first_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031960 | Replace the first occurrence of birch with cobalt on each line. | sed s/birch/cobalt/ | chen cobalt 65 pending
alice amber 90 pending
chen amber 92 closed
eli delta 72 pending
bruno birch 93 active
gus cobalt 12 pending
| chen cobalt 65 pending
alice amber 90 pending
chen amber 92 closed
eli delta 72 pending
bruno cobalt 93 active
gus cobalt 12 pending
| chen delta 66 closed
alice delta 115 failed
dina fable 0 ready
hana fable 99 closed
gus birch 16 failed
alice fable 71 pending
eli delta 42 active
chen fable 115 active
| chen delta 66 closed
alice delta 115 failed
dina fable 0 ready
hana fable 99 closed
gus cobalt 16 failed
alice fable 71 pending
eli delta 42 active
chen fable 115 active
| substitute_first | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031958 | Remove the last character from every line. | sed 's/.$//' | farah delta 0 closed
hana birch 55 ready
gus grove 103 active
gus fable 51 ready
gus grove 118 closed
hana delta 6 ready
| farah delta 0 close
hana birch 55 read
gus grove 103 activ
gus fable 51 read
gus grove 118 close
hana delta 6 read
| chen birch 21 active
bruno birch 29 failed
chen birch 94 failed
alice birch 52 ready
dina fable 14 ready
hana amber 88 ready
bruno grove 93 closed
hana grove 11 closed
dina grove 102 failed
| chen birch 21 activ
bruno birch 29 faile
chen birch 94 faile
alice birch 52 read
dina fable 14 read
hana amber 88 read
bruno grove 93 close
hana grove 11 close
dina grove 102 faile
| delete_last_char | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031959 | Print only the second comma-separated field from each line. | sed 's/[^,]*,\([^,]*\).*/\1/' | chen,cobalt,56,pending
eli,birch,53,ready
farah,cobalt,100,ready
hana,delta,7,failed
dina,delta,78,ready
gus,fable,37,failed
dina,amber,37,ready
chen,fable,19,ready
| cobalt
birch
cobalt
delta
delta
fable
amber
fable
| hana,grove,100,active
hana,birch,75,pending
bruno,ember,55,failed
eli,delta,21,closed
chen,fable,62,ready
hana,harbor,17,ready
chen,delta,94,failed
| grove
birch
ember
delta
fable
harbor
delta
| extract_second_csv | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031964 | Print lines 3 through 6, inclusive, and nothing else. | sed -n 3,6p | chen harbor 24 ready
hana cobalt 30 failed
chen delta 37 active
bruno amber 66 failed
alice amber 118 failed
alice cobalt 63 failed
| chen delta 37 active
bruno amber 66 failed
alice amber 118 failed
alice cobalt 63 failed
| eli cobalt 68 pending
hana delta 21 failed
bruno grove 119 failed
bruno grove 95 closed
chen amber 38 failed
dina cobalt 20 active
alice fable 104 closed
hana grove 74 active
hana grove 39 pending
| bruno grove 119 failed
bruno grove 95 closed
chen amber 38 failed
dina cobalt 20 active
| line_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031965 | Delete lines 3 through 5, leaving all other lines unchanged. | sed 3,5d | gus fable 82 failed
dina amber 48 closed
chen grove 17 pending
dina fable 11 ready
dina amber 26 active
bruno delta 41 failed
| gus fable 82 failed
dina amber 48 closed
bruno delta 41 failed
| farah harbor 55 failed
dina amber 112 active
alice delta 92 active
gus birch 44 closed
chen harbor 79 active
chen fable 23 pending
gus cobalt 30 failed
dina cobalt 55 failed
farah delta 3 pending
| farah harbor 55 failed
dina amber 112 active
chen fable 23 pending
gus cobalt 30 failed
dina cobalt 55 failed
farah delta 3 pending
| delete_range | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031967 | Print only the last line of the input. | sed -n '$p' | dina fable 41 failed
eli harbor 79 pending
dina delta 82 closed
gus amber 118 active
farah amber 37 closed
chen harbor 92 ready
chen grove 60 pending
hana delta 99 active
| hana delta 99 active
| dina delta 5 pending
alice grove 119 ready
hana amber 19 active
alice cobalt 100 failed
hana harbor 29 closed
gus delta 57 active
alice amber 39 active
| alice amber 39 active
| last_line | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031963 | Print only lines containing pending; suppress all others. | sed -n /pending/p | bruno harbor 42 failed
farah fable 5 failed
bruno fable 51 ready
alice grove 22 ready
bruno birch 106 pending
farah grove 111 ready
eli cobalt 27 failed
| bruno birch 106 pending
| gus delta 86 closed
dina fable 62 ready
dina fable 28 ready
chen delta 106 active
chen fable 64 active
alice harbor 104 closed
eli fable 47 closed
| regex_print | 1 | train | original-grammar | CC-BY-4.0 | |
sedweave-0031962 | Delete every line containing active. | sed /active/d | dina grove 54 failed
chen amber 113 ready
gus ember 104 failed
hana cobalt 31 failed
hana harbor 27 pending
chen cobalt 80 ready
| dina grove 54 failed
chen amber 113 ready
gus ember 104 failed
hana cobalt 31 failed
hana harbor 27 pending
chen cobalt 80 ready
| alice grove 91 pending
dina birch 29 ready
bruno ember 20 pending
eli birch 13 ready
bruno birch 48 active
eli birch 15 pending
| alice grove 91 pending
dina birch 29 ready
bruno ember 20 pending
eli birch 13 ready
eli birch 15 pending
| regex_delete | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031961 | Replace every occurrence of amber with harbor throughout the input. | sed s/amber/harbor/g | bruno amber 8 failed
gus amber 118 closed
bruno cobalt 70 pending
hana cobalt 51 closed
eli birch 59 failed
alice fable 90 pending
| bruno harbor 8 failed
gus harbor 118 closed
bruno cobalt 70 pending
hana cobalt 51 closed
eli birch 59 failed
alice fable 90 pending
| alice birch 99 active
hana delta 81 closed
farah delta 19 closed
bruno amber 107 failed
bruno amber 37 ready
farah birch 46 closed
alice harbor 13 ready
chen delta 79 closed
gus ember 5 ready
| alice birch 99 active
hana delta 81 closed
farah delta 19 closed
bruno harbor 107 failed
bruno harbor 37 ready
farah birch 46 closed
alice harbor 13 ready
chen delta 79 closed
gus ember 5 ready
| substitute_global | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031969 | Print odd-numbered lines: lines 1, 3, 5, and so on. | sed -n '0~2p' | chen cobalt 27 pending
chen ember 1 failed
alice fable 47 active
hana amber 1 active
eli ember 47 active
chen delta 0 closed
farah grove 97 active
| chen ember 1 failed
hana amber 1 active
chen delta 0 closed
| gus ember 46 ready
gus amber 19 failed
dina ember 13 ready
gus harbor 103 closed
hana harbor 3 ready
dina ember 18 closed
dina grove 94 closed
| gus amber 19 failed
gus harbor 103 closed
dina ember 18 closed
| every_other | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031970 | Append the line follow_up immediately after every line containing ready. | sed '/ready/a follow_up' | chen fable 56 closed
farah grove 22 ready
chen birch 16 ready
gus ember 59 pending
farah ember 64 closed
bruno cobalt 118 ready
hana cobalt 21 ready
hana harbor 107 ready
| chen fable 56 closed
farah grove 22 ready
follow_up
chen birch 16 ready
follow_up
gus ember 59 pending
farah ember 64 closed
bruno cobalt 118 ready
follow_up
hana cobalt 21 ready
follow_up
hana harbor 107 ready
follow_up
| eli grove 60 pending
farah ember 30 ready
hana grove 55 pending
chen fable 110 closed
hana cobalt 71 pending
chen grove 99 active
dina fable 3 closed
chen fable 56 failed
bruno birch 33 active
| eli grove 60 pending
farah ember 30 ready
follow_up
hana grove 55 pending
chen fable 110 closed
hana cobalt 71 pending
chen grove 99 active
dina fable 3 closed
chen fable 56 failed
bruno birch 33 active
| append_after | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031971 | Insert the line reviewed immediately before every line containing pending. | sed '/pending/i reviewed' | farah harbor 104 active
alice delta 33 active
alice grove 79 pending
bruno delta 9 pending
gus cobalt 74 active
dina birch 24 pending
alice cobalt 6 closed
chen birch 42 active
eli grove 86 pending
| farah harbor 104 active
alice delta 33 active
reviewed
alice grove 79 pending
reviewed
bruno delta 9 pending
gus cobalt 74 active
reviewed
dina birch 24 pending
alice cobalt 6 closed
chen birch 42 active
reviewed
eli grove 86 pending
| farah amber 92 active
dina grove 55 failed
bruno cobalt 99 pending
chen grove 104 closed
bruno cobalt 5 pending
chen birch 51 closed
dina grove 107 ready
alice amber 93 active
| farah amber 92 active
dina grove 55 failed
reviewed
bruno cobalt 99 pending
chen grove 104 closed
reviewed
bruno cobalt 5 pending
chen birch 51 closed
dina grove 107 ready
alice amber 93 active
| insert_before | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031966 | Print only the first 2 lines. | sed -n 1,2p | hana harbor 10 ready
dina delta 44 ready
alice ember 50 closed
chen cobalt 44 failed
hana harbor 0 pending
alice delta 92 closed
bruno harbor 66 closed
| hana harbor 10 ready
dina delta 44 ready
| eli birch 78 active
eli grove 92 pending
farah ember 104 active
bruno delta 58 pending
gus harbor 60 pending
dina delta 14 ready
farah delta 57 ready
farah grove 50 active
| eli birch 78 active
eli grove 92 pending
| first_n | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031968 | Delete the last line of the input and print all remaining lines. | sed '$d' | hana harbor 26 failed
farah cobalt 105 active
bruno ember 87 ready
dina delta 15 ready
hana ember 11 closed
dina harbor 18 closed
gus grove 120 failed
bruno delta 44 failed
bruno grove 53 closed
| hana harbor 26 failed
farah cobalt 105 active
bruno ember 87 ready
dina delta 15 ready
hana ember 11 closed
dina harbor 18 closed
gus grove 120 failed
bruno delta 44 failed
| hana harbor 101 active
gus amber 6 closed
bruno amber 25 active
eli birch 68 ready
hana harbor 0 pending
bruno delta 105 ready
eli fable 45 pending
| hana harbor 101 active
gus amber 6 closed
bruno amber 25 active
eli birch 68 ready
hana harbor 0 pending
bruno delta 105 ready
| delete_last | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031975 | Remove all trailing spaces and tabs from each line. | sed 's/[ \t]*$//' | alice ember 59 active
eli grove 33 active
hana cobalt 31 failed
chen ember 16 closed
chen ember 86 closed
hana amber 29 failed
| alice ember 59 active
eli grove 33 active
hana cobalt 31 failed
chen ember 16 closed
chen ember 86 closed
hana amber 29 failed
| hana grove 23 ready
hana harbor 14 failed
alice cobalt 46 closed
chen grove 107 pending
dina delta 45 pending
eli grove 108 pending
farah fable 75 closed
eli delta 30 ready
chen amber 72 ready
| hana grove 23 ready
hana harbor 14 failed
alice cobalt 46 closed
chen grove 107 pending
dina delta 45 pending
eli grove 108 pending
farah fable 75 closed
eli delta 30 ready
chen amber 72 ready
| strip_trailing | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031972 | Replace every full line containing active with the single line complete. | sed '/active/c complete' | farah birch 80 pending
eli ember 37 pending
hana birch 107 pending
eli birch 66 active
farah birch 59 pending
eli harbor 4 active
farah harbor 111 ready
farah ember 37 closed
| farah birch 80 pending
eli ember 37 pending
hana birch 107 pending
complete
farah birch 59 pending
complete
farah harbor 111 ready
farah ember 37 closed
| dina fable 75 closed
dina delta 14 pending
dina delta 20 pending
chen fable 74 ready
gus delta 112 closed
chen harbor 6 closed
gus fable 46 pending
dina fable 0 ready
| dina fable 75 closed
dina delta 14 pending
dina delta 20 pending
chen fable 74 ready
gus delta 112 closed
chen harbor 6 closed
gus fable 46 pending
dina fable 0 ready
| change_line | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031953 | Print only the block from the line containing fable through the line containing harbor, inclusive. | sed -n /fable/,/harbor/p | gus harbor 5 failed
gus amber 67 ready
bruno delta 119 failed
alice cobalt 22 pending
hana grove 98 ready
farah harbor 105 ready
chen harbor 56 active
gus fable 66 pending
| gus fable 66 pending
| gus grove 92 ready
eli harbor 93 closed
dina fable 90 closed
alice ember 106 ready
alice fable 87 failed
alice amber 93 pending
chen birch 89 closed
alice amber 112 closed
| dina fable 90 closed
alice ember 106 ready
alice fable 87 failed
alice amber 93 pending
chen birch 89 closed
alice amber 112 closed
| print_between | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031973 | Delete all empty lines while preserving every nonempty line. | sed '/^$/d' | gus birch 4 pending
bruno delta 38 closed
gus birch 48 closed
farah amber 49 ready
bruno delta 101 pending
farah fable 26 active
bruno harbor 76 active
dina harbor 12 ready
bruno harbor 58 failed
| gus birch 4 pending
bruno delta 38 closed
gus birch 48 closed
farah amber 49 ready
bruno delta 101 pending
farah fable 26 active
bruno harbor 76 active
dina harbor 12 ready
bruno harbor 58 failed
| farah amber 36 failed
gus birch 113 active
farah harbor 103 active
alice delta 28 pending
dina birch 30 failed
hana delta 51 pending
bruno amber 99 pending
| farah amber 36 failed
gus birch 113 active
farah harbor 103 active
alice delta 28 pending
dina birch 30 failed
hana delta 51 pending
bruno amber 99 pending
| delete_blank | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031983 | Comment out every input line by adding # and a space at the start. | sed 's/^/# /' | gus amber 30 active
eli birch 120 closed
gus fable 102 failed
bruno birch 18 active
eli ember 72 pending
bruno harbor 96 pending
hana cobalt 120 ready
| # gus amber 30 active
# eli birch 120 closed
# gus fable 102 failed
# bruno birch 18 active
# eli ember 72 pending
# bruno harbor 96 pending
# hana cobalt 120 ready
| chen birch 31 closed
hana harbor 41 ready
gus delta 71 ready
eli grove 93 pending
dina delta 107 active
bruno fable 57 pending
farah grove 95 failed
| # chen birch 31 closed
# hana harbor 41 ready
# gus delta 71 ready
# eli grove 93 pending
# dina delta 107 active
# bruno fable 57 pending
# farah grove 95 failed
| comment_lines | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031974 | Remove all leading spaces and tabs from each line. | sed 's/^[ \t]*//' | bruno fable 72 pending
farah amber 111 ready
alice fable 107 failed
eli birch 1 pending
alice cobalt 65 closed
eli ember 52 closed
| bruno fable 72 pending
farah amber 111 ready
alice fable 107 failed
eli birch 1 pending
alice cobalt 65 closed
eli ember 52 closed
| eli ember 27 active
chen birch 50 pending
farah ember 94 closed
alice harbor 78 pending
bruno ember 108 pending
hana grove 57 pending
dina grove 65 active
| eli ember 27 active
chen birch 50 pending
farah ember 94 closed
alice harbor 78 pending
bruno ember 108 pending
hana grove 57 pending
dina grove 65 active
| strip_leading | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031977 | Convert every input line to uppercase. | sed 's/.*/\U&/' | eli fable 58 ready
farah cobalt 87 active
hana delta 116 pending
hana ember 13 pending
gus harbor 25 pending
alice harbor 39 pending
dina delta 59 pending
| ELI FABLE 58 READY
FARAH COBALT 87 ACTIVE
HANA DELTA 116 PENDING
HANA EMBER 13 PENDING
GUS HARBOR 25 PENDING
ALICE HARBOR 39 PENDING
DINA DELTA 59 PENDING
| eli fable 102 closed
eli grove 19 ready
gus birch 107 pending
alice ember 95 pending
dina birch 93 closed
farah ember 50 ready
alice delta 118 active
farah amber 7 closed
eli fable 9 active
| ELI FABLE 102 CLOSED
ELI GROVE 19 READY
GUS BIRCH 107 PENDING
ALICE EMBER 95 PENDING
DINA BIRCH 93 CLOSED
FARAH EMBER 50 READY
ALICE DELTA 118 ACTIVE
FARAH AMBER 7 CLOSED
ELI FABLE 9 ACTIVE
| uppercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031982 | Append a space and complete to the end of every line. | sed 's/$/ complete/' | eli harbor 35 ready
hana harbor 111 pending
gus harbor 71 active
farah cobalt 52 active
hana grove 57 ready
dina cobalt 46 ready
| eli harbor 35 ready complete
hana harbor 111 pending complete
gus harbor 71 active complete
farah cobalt 52 active complete
hana grove 57 ready complete
dina cobalt 46 ready complete
| bruno grove 83 failed
farah grove 108 closed
dina amber 54 ready
gus birch 28 pending
chen delta 46 active
bruno fable 117 active
dina amber 120 closed
alice amber 93 pending
| bruno grove 83 failed complete
farah grove 108 closed complete
dina amber 54 ready complete
gus birch 28 pending complete
chen delta 46 active complete
bruno fable 117 active complete
dina amber 120 closed complete
alice amber 93 pending complete
| add_suffix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031981 | Add the prefix INFO followed by a space to the start of every line. | sed 's/^/INFO /' | eli grove 12 pending
gus birch 80 active
bruno birch 62 active
alice grove 94 active
eli ember 45 ready
hana grove 75 closed
bruno amber 98 active
hana delta 31 ready
| INFO eli grove 12 pending
INFO gus birch 80 active
INFO bruno birch 62 active
INFO alice grove 94 active
INFO eli ember 45 ready
INFO hana grove 75 closed
INFO bruno amber 98 active
INFO hana delta 31 ready
| dina amber 35 active
dina cobalt 120 ready
chen ember 72 failed
alice ember 73 active
gus delta 89 active
chen ember 14 active
dina birch 6 failed
dina ember 15 closed
dina ember 108 ready
| INFO dina amber 35 active
INFO dina cobalt 120 ready
INFO chen ember 72 failed
INFO alice ember 73 active
INFO gus delta 89 active
INFO chen ember 14 active
INFO dina birch 6 failed
INFO dina ember 15 closed
INFO dina ember 108 ready
| add_prefix | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031979 | Swap the first two whitespace-separated fields on every line. | sed 's/\([^ ]*\) \([^ ]*\)/\2 \1/' | chen ember 32 ready
bruno grove 56 failed
farah amber 109 pending
chen harbor 48 closed
farah harbor 26 failed
chen ember 35 ready
farah fable 75 closed
eli cobalt 109 failed
| ember chen 32 ready
grove bruno 56 failed
amber farah 109 pending
harbor chen 48 closed
harbor farah 26 failed
ember chen 35 ready
fable farah 75 closed
cobalt eli 109 failed
| chen cobalt 104 pending
alice delta 42 pending
alice delta 29 closed
farah cobalt 54 closed
hana delta 5 ready
eli fable 61 closed
alice birch 56 active
eli ember 54 failed
alice cobalt 53 pending
| cobalt chen 104 pending
delta alice 42 pending
delta alice 29 closed
cobalt farah 54 closed
delta hana 5 ready
fable eli 61 closed
birch alice 56 active
ember eli 54 failed
cobalt alice 53 pending
| swap_fields | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031984 | Delete all lines beginning with #. | sed '/^#/d' | eli cobalt 62 failed
# note
bruno ember 13 failed
alice harbor 20 failed
hana grove 49 failed
chen ember 84 active
gus delta 20 failed
alice delta 75 ready
eli ember 107 closed
eli amber 41 pending
| eli cobalt 62 failed
bruno ember 13 failed
alice harbor 20 failed
hana grove 49 failed
chen ember 84 active
gus delta 20 failed
alice delta 75 ready
eli ember 107 closed
eli amber 41 pending
| farah delta 118 active
# note
bruno cobalt 0 active
bruno amber 31 pending
gus delta 5 ready
farah ember 40 ready
alice ember 104 failed
gus amber 42 failed
dina cobalt 73 pending
chen cobalt 115 active
| farah delta 118 active
bruno cobalt 0 active
bruno amber 31 pending
gus delta 5 ready
farah ember 40 ready
alice ember 104 failed
gus amber 42 failed
dina cobalt 73 pending
chen cobalt 115 active
| delete_comments | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031978 | Convert every input line to lowercase. | sed 's/.*/\L&/' | bruno cobalt 8 pending
eli ember 32 failed
chen grove 52 closed
hana fable 68 ready
alice harbor 111 closed
hana delta 71 closed
hana birch 37 pending
farah harbor 104 ready
| bruno cobalt 8 pending
eli ember 32 failed
chen grove 52 closed
hana fable 68 ready
alice harbor 111 closed
hana delta 71 closed
hana birch 37 pending
farah harbor 104 ready
| farah delta 18 ready
chen fable 117 pending
gus fable 107 ready
alice delta 89 failed
bruno grove 43 closed
hana delta 81 active
| farah delta 18 ready
chen fable 117 pending
gus fable 107 ready
alice delta 89 failed
bruno grove 43 closed
hana delta 81 active
| lowercase | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031976 | Collapse every run of spaces or tabs to a single space. | sed 's/[ \t]+/ /g' | dina grove 50 ready
dina delta 46 ready
eli amber 62 closed
alice ember 38 closed
farah delta 118 active
hana fable 49 active
dina grove 97 active
| dina grove 50 ready
dina delta 46 ready
eli amber 62 closed
alice ember 38 closed
farah delta 118 active
hana fable 49 active
dina grove 97 active
| dina harbor 64 pending
alice grove 48 closed
dina harbor 13 active
bruno delta 118 pending
alice harbor 105 closed
farah amber 109 active
| dina harbor 64 pending
alice grove 48 closed
dina harbor 13 active
bruno delta 118 pending
alice harbor 105 closed
farah amber 109 active
| collapse_space | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031985 | Print only the first 2 characters of each line. | sed 's/^\(.\{2\}\).*/\1/' | farah ember 2 ready
chen cobalt 75 active
alice cobalt 55 active
dina grove 78 ready
chen cobalt 95 active
hana grove 72 failed
gus grove 21 pending
farah fable 8 pending
| fa
ch
al
di
ch
ha
gu
fa
| farah grove 87 failed
alice harbor 67 closed
bruno grove 45 ready
chen delta 63 ready
chen amber 97 failed
gus delta 69 closed
dina delta 85 ready
chen grove 44 closed
hana harbor 22 failed
| fa
al
br
ch
ch
gu
di
ch
ha
| first_chars | 2 | train | original-grammar | CC-BY-4.0 |
sedweave-0031986 | Delete everything from the line containing grove through the line containing cobalt, inclusive. | sed /grove/,/cobalt/d | gus delta 113 failed
alice ember 112 failed
farah ember 102 closed
bruno delta 12 failed
bruno amber 99 pending
dina grove 75 pending
hana fable 103 failed
bruno delta 112 closed
hana amber 60 active
| gus delta 113 failed
alice ember 112 failed
farah ember 102 closed
bruno delta 12 failed
bruno amber 99 pending
| gus grove 36 closed
chen harbor 65 active
chen grove 115 ready
gus amber 34 failed
alice harbor 23 failed
hana grove 33 closed
gus cobalt 76 failed
| delete_between | 2 | train | original-grammar | CC-BY-4.0 | |
sedweave-0031980 | Replace every comma with a tab character. | sed 's/,/\t/g' | eli,fable,33,active
gus,fable,100,failed
eli,cobalt,117,active
bruno,birch,106,failed
hana,ember,3,ready
hana,birch,94,closed
| eli fable 33 active
gus fable 100 failed
eli cobalt 117 active
bruno birch 106 failed
hana ember 3 ready
hana birch 94 closed
| farah,birch,83,pending
eli,ember,16,pending
gus,fable,61,failed
dina,harbor,116,active
dina,ember,25,active
chen,cobalt,103,active
dina,harbor,77,closed
eli,harbor,74,failed
alice,ember,15,closed
| farah birch 83 pending
eli ember 16 pending
gus fable 61 failed
dina harbor 116 active
dina ember 25 active
chen cobalt 103 active
dina harbor 77 closed
eli harbor 74 failed
alice ember 15 closed
| comma_to_tab | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031989 | Replace every sequence of digits with the letter N. | sed 's/[0-9][0-9]*/N/g' | gus fable 67 active
gus ember 75 closed
hana fable 102 pending
hana delta 1 active
eli cobalt 115 failed
bruno ember 15 active
dina ember 27 active
gus grove 47 ready
| gus fable N active
gus ember N closed
hana fable N pending
hana delta N active
eli cobalt N failed
bruno ember N active
dina ember N active
gus grove N ready
| farah fable 47 active
hana fable 21 closed
alice delta 23 active
chen birch 51 active
bruno amber 0 active
alice delta 65 active
dina cobalt 110 active
bruno birch 35 failed
chen fable 18 active
| farah fable N active
hana fable N closed
alice delta N active
chen birch N active
bruno amber N active
alice delta N active
dina cobalt N active
bruno birch N failed
chen fable N active
| digits_mask | 1 | train | original-grammar | CC-BY-4.0 |
sedweave-0031987 | Print only the block from the line containing fable through the line containing amber, inclusive. | sed -n /fable/,/amber/p | farah delta 2 pending
chen cobalt 17 ready
bruno fable 73 active
alice amber 79 failed
alice delta 1 ready
alice grove 56 ready
gus ember 102 failed
hana delta 88 failed
bruno ember 30 pending
| bruno fable 73 active
alice amber 79 failed
| farah ember 80 ready
eli delta 57 failed
dina delta 58 pending
gus harbor 12 active
gus cobalt 19 active
gus cobalt 49 ready
chen birch 63 failed
alice delta 33 failed
| print_between | 2 | train | original-grammar | CC-BY-4.0 | |
sedweave-0031988 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.