1#!/bin/sh23awk '/define[ ]*E/ && $3 ~ /[0-9]+/ && $3 > 0 {4 sub(/\#define[ ]*/, "")5 sub(/\/\*/, "")6 sub(/\*\//, "")7 print8}' /usr/include/sys/errno.h
A fork of https://git.simple-cc.org/scc/ for Qute
git clone https://git.8pit.net/scc.git
1#!/bin/sh23awk '/define[ ]*E/ && $3 ~ /[0-9]+/ && $3 > 0 {4 sub(/\#define[ ]*/, "")5 sub(/\/\*/, "")6 sub(/\*\//, "")7 print8}' /usr/include/sys/errno.h