9 lines
145 B
Bash
Executable File
9 lines
145 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eou pipefail
|
|
|
|
cat > /tmp/regex_tmp_hr
|
|
regex=$(rofi -dmenu -window-title 'regular expression')
|
|
|
|
</tmp/regex_tmp_hr sed "$regex"
|