Skip to content

Commit

Permalink
Use POSIXly correct "grep -E"
Browse files Browse the repository at this point in the history
I would like to rant here about how it is not solving any problem to
remove "egrep" and the trend of making frequently used UNIX commands
harder to type is a serious problem, but that sounds kind of like
something a crazy person might say after a harrangue about their
diminished quality of life without Ma Bell's rotary phones, so I shall
desist and keep some outward semblance of sanity.
  • Loading branch information
hackerb9 committed May 10, 2024
1 parent fe801f6 commit d07572c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vv
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ inittermkey() {

# To be valid, we must enable terminal application mode key sequences.
if tput smkx; then
for k in $(infocmp -L1 | egrep 'key_|cursor_'); do
for k in $(infocmp -L1 | grep -E 'key_|cursor_'); do
a=""; x=""
# Example "k: key_down=\EOB,"
a=${k#*key_}
Expand Down

0 comments on commit d07572c

Please sign in to comment.