aboutsummaryrefslogtreecommitdiff
path: root/re.c
AgeCommit message (Collapse)Author
2021-07-23Remove superfluous commentsHEADmasterJohn Ankarström
2021-07-12re.c: Use fgetsJohn Ankarström
2021-07-12re.c: Fix typoJohn Ankarström
2021-07-11Change coding styleJohn Ankarström
This is the coding style used in Plan 9. Eschewing the whitespace here has several large benefits: 1. Control constructs are much easier to type. 2. Long conditions are very naturally handled: if(bla && bla && bla || yada && yada && yada) Because "if(" and "|| " (or "&& ") are the same length, the two parts of the condition are aligned. 3. It becomes much less bothersome to convert a single-statement body to a multiple-statement body. It may seem minor, but the extra space is extra work.
2021-07-10re.c: Fix usage messageJohn Ankarström
2021-07-10re.c: Ensure no file name contains newlineJohn Ankarström
Otherwise, the operation is broken, as it depends on reading file names separated by newlines.
2021-07-10Add reJohn Ankarström