repo.or.cz
/
cmdllinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update repository
[cmdllinux.git]
/
bash_n_examples
/
bash
/
sed
/
regex.sh
blob
39167591d1c154e78cac676666ff3f0f3278ec7c
1
#replace to regex
2
# GREP=`echo "$PKG" | sed 's/[-_]/\[ _-\]\\\+/g'`
3
# GREP=`echo "$PKG" | sed 's/[-_]/\[ _-\]*/g'`