scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

1#!/bin/sh
2
3awk '/define[ 	]*E/ && $3 ~ /[0-9]+/ && $3 > 0 {
4	sub(/\#define[ 	]*/, "")
5	sub(/\/\*/, "")
6	sub(/\*\//, "")
7	print
8}' /usr/include/sys/errno.h