Closed apt4user closed 1 year ago
Version: mawk 1.3.4 20200120 Hi, mawk can't handle the following expressions:
echo " (4 x space) testtest" | awk '/^[[:space:]]{4}/ {print}' => prints nothing
echo " (4 x space) testtest" | awk '/^[[:space:]]{4}/ {print}'
echo " (4 x space) testtest" | awk '/^[\t]{4}/ {print}' => prints nothing
echo " (4 x space) testtest" | awk '/^[\t]{4}/ {print}'
echo " (4 x space) testtest" | awk '/^[ \t]{4}/ {print}' => prints nothing
echo " (4 x space) testtest" | awk '/^[ \t]{4}/ {print}'
Greetings
This works for current versions of mawk.
Version: mawk 1.3.4 20200120 Hi, mawk can't handle the following expressions:
echo " (4 x space) testtest" | awk '/^[[:space:]]{4}/ {print}'
=> prints nothingecho " (4 x space) testtest" | awk '/^[\t]{4}/ {print}'
=> prints nothingecho " (4 x space) testtest" | awk '/^[ \t]{4}/ {print}'
=> prints nothingGreetings