#!/bin/bash set -eou pipefail cat > /tmp/regex_tmp_hr regex=$(rofi -dmenu -window-title 'regular expression')