Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-12 | name.c: Remove unused variable | John Ankarström | |
2021-07-12 | re.c: Fix typo | John Ankarström | |
2021-07-11 | name.c: Support file names beginning with dash | John Ankarström | |
2021-07-11 | Read new file names from standard in first | John Ankarström | |
Theoretically, this might be more efficient. | |||
2021-07-11 | name.c: Reword comment | John Ankarström | |
2021-07-11 | re.1: Fix typo | John Ankarström | |
2021-07-11 | Add space around = | John Ankarström | |
2021-07-11 | Change coding style | John 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-10 | name.c: Do not read more than MAXFILES lines | John Ankarström | |
2021-07-10 | name.c: Remove superfluous strings from, to | John Ankarström | |
2021-07-10 | Add re.1, name.1 | John Ankarström | |
2021-07-10 | re.c: Fix usage message | John Ankarström | |
2021-07-10 | name.c: Implement -x flag | John Ankarström | |
2021-07-10 | re.c: Ensure no file name contains newline | John Ankarström | |
Otherwise, the operation is broken, as it depends on reading file names separated by newlines. | |||
2021-07-10 | Add name | John Ankarström | |
2021-07-10 | Add re | John Ankarström | |
2021-07-10 | Add Makefile | John Ankarström | |