Remove 1992/adrian alt code + format README.md

The alt code is not needed as all it does is use gets() instead of
fgets() and it was decided it's best to not have this.
This commit is contained in:
Cody Boone Ferguson committed 2023-04-09 09:09:15 -07:00
1 parent 736b8bbe0d
commit 5fcc5c34ac
2 files changed
+8 -21

No files matched your search

+2 -2
View File
@@ -118,8 +118,8 @@ OBJ= ${PROG}.o
DATA=
TARGET= ${PROG}
#
ALT_OBJ= ${PROG}.alt.o
ALT_TARGET= ${PROG}.alt
ALT_OBJ=
ALT_TARGET=
#################
+6 -19
View File
@@ -1,10 +1,10 @@
# Most Educational:
Adrian Mariano
University of Washington
2729 72nd Ave SE
Mercer Island, WA 98040
USA
Adrian Mariano
University of Washington
2729 72nd Ave SE
Mercer Island, WA 98040
USA
## To build:
@@ -26,7 +26,6 @@ Thus the code now first trims off the last character of the buffer read to get
the same correct functionality but in a safe way. Thank you Cody for your
assistance!
For the original version [adrian.alt.c](adrian.alt.c) see the `Alternate code` section below.
## Try:
@@ -42,18 +41,6 @@ For the slow minded, try:
NOTE: if you do not specify an arg to the program it will segfault.
### Alternate code:
For the original version that uses `gets()` try:
```sh
make alt
```
Use `adrian.alt` as you would `adrian`.
## Judges' comments:
@@ -64,7 +51,7 @@ NOTE: Some compilers have had trouble optimizing this entry.
## Author's comments:
ADrian's GREP (adgrep)
### ADrian's GREP (adgrep)
For those confused by the complexity of full-blown egrep style regular
expressions, this program offers an alternative. It implements an