projects
/
grml-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
988a633
)
iimage: replace egrep usage with grep -E
author
Michael Prokop
<mika@grml.org>
Wed, 7 Sep 2022 11:56:57 +0000
(13:56 +0200)
committer
Michael Prokop
<mika@grml.org>
Wed, 7 Sep 2022 11:56:57 +0000
(13:56 +0200)
grep 3.8 deprecated support for egrep + fgrep, and now prints a warning on stderr:
| egrep: warning: egrep is obsolescent; using grep -E
| fgrep: warning: fgrep is obsolescent; using grep -F
usr_bin/iimage
patch
|
blob
|
history
diff --git
a/usr_bin/iimage
b/usr_bin/iimage
index
9b210d0
..
b2f81f7
100755
(executable)
--- a/
usr_bin/iimage
+++ b/
usr_bin/iimage
@@
-1004,7
+1004,7
@@
function update_description_names() {
find_all_images
for i in $ALL_IMAGES ; do
- if !
egrep
"$i=" ./description >/dev/null ; then
+ if !
grep -E
"$i=" ./description >/dev/null ; then
echo "$i=`description $i`" >> ./description
fi