aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-23Remove superfluous commentsHEADmasterJohn Ankarström
2021-07-12re.c: Use fgetsJohn Ankarström
2021-07-12name.c: Remove unused variableJohn Ankarström
2021-07-12re.c: Fix typoJohn Ankarström
2021-07-11name.c: Support file names beginning with dashJohn Ankarström
2021-07-11Read new file names from standard in firstJohn Ankarström
Theoretically, this might be more efficient.
2021-07-11name.c: Reword commentJohn Ankarström
2021-07-11re.1: Fix typoJohn Ankarström
2021-07-11Add space around =John 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-10name.c: Do not read more than MAXFILES linesJohn Ankarström
2021-07-10name.c: Remove superfluous strings from, toJohn Ankarström
2021-07-10Add re.1, name.1John Ankarström
2021-07-10re.c: Fix usage messageJohn Ankarström
2021-07-10name.c: Implement -x flagJohn 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 nameJohn Ankarström
2021-07-10Add reJohn Ankarström
2021-07-10Add MakefileJohn Ankarström