https://github.com/johnsonjh/rh
rh: rh is a find(1)-like utility, but with C syntax.
https://github.com/johnsonjh/rh
find rh
Last synced: 7 months ago
JSON representation
rh: rh is a find(1)-like utility, but with C syntax.
- Host: GitHub
- URL: https://github.com/johnsonjh/rh
- Owner: johnsonjh
- License: unlicense
- Created: 2021-05-16T18:41:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-05T23:32:17.000Z (over 4 years ago)
- Last Synced: 2025-02-28T12:47:06.422Z (7 months ago)
- Topics: find, rh
- Language: C
- Homepage: http://sources.vsta.org:7100/rh/index
- Size: 276 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rh
## Overview
- `rh` is a `find`-like utility with C syntax.
## Requirements
- An ANSI/ISO C compiler is required
## Building
- If `rhlex.c` is deleted then you must have `flex` (version 2.4.6 or higher) to
recreate it.- If `getdate.c`, `rhgram.c`, or `rhgram.h` are deleted then you must have
`perl-byacc` (version 1.8.3 or higher) to recreate the deleted file(s).## Bugs
- The pointer to the error in error messages may be wrong. (Actually, it is more
likely to be wrong than correct.)- Function parameters can not have the same names as functions.
```c
/* OK */
b ( c )
{
return ( c + 2 );
}/* will not compile; */
/* 'b' is a function */
a ( b )
{
return ( b + 2 );
}
```- The file system operator only works on SunOS 4.1.x
- No configure script
## History
- This version of `rh` derives from the
[Andy Valencia](http://sources.vsta.org:7100/rh/index) version, based on code
first posted by Ken Stauffer and published in the late 80's.- The code has been changed and mildly enhanced, but is substantially still
the same software.## Changes by Andy Valencia
- Support large files (on 32-bit)
- Handle embedded spaces in filenames
- Various portability issues
- Add block allocation size to file attrs accessible