summaryrefslogtreecommitdiffstats
path: root/bin/bre-escape
blob: ae961b0e62ecc605f5b58f42729e85854639a9d6 (plain)
1
2
3
4
5
#! /bin/sh
# bre-escape : lines string |> lines bre-escaped-string
set -euf

sed 's:[\.\[\\\*\^\$]:\\&:g'