Skip to content

Commit

Permalink
Merge pull request #613 from mtekman/master
Browse files Browse the repository at this point in the history
Small fix to replace egrep with grep -E and silence warning messages
  • Loading branch information
nservant authored Jan 26, 2024
2 parents 34e89b6 + 3999766 commit 7427dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/hic.inc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ abspath() {

filter_config()
{
sed -e 's/#.*//' | egrep '^[ \t]*[a-zA-Z_][a-zA-Z0-9_]*[ \t]*:?=' | sed -e 's/[ \t]*:=[ \t]*/ :=/' -e 's/[ \t][^:]*=[ \t]*/ =/' -e 's/\([^ \t]*\)=/\1 =/' -e 's/ *$//g' | sort -u -k 1b,1
sed -e 's/#.*//' | grep -E '^[ \t]*[a-zA-Z_][a-zA-Z0-9_]*[ \t]*:?=' | sed -e 's/[ \t]*:=[ \t]*/ :=/' -e 's/[ \t][^:]*=[ \t]*/ =/' -e 's/\([^ \t]*\)=/\1 =/' -e 's/ *$//g' | sort -u -k 1b,1
}

read_config()
Expand Down

0 comments on commit 7427dc7

Please sign in to comment.