ls -i dates back to 5th edition Unix and is more portable than the stat
command, though %% is a newer shellism, it works on any shell that
FreeBSD builds with.
Sponsored by: Netflix
Differential D43443
build: Use ls -i | cut rather than stat -f %i to extract inode imp on Jan 12 2024, 11:44 PM. Authored by Tags None Referenced Files
Subscribers
Details
ls -i dates back to 5th edition Unix and is more portable than the stat Sponsored by: Netflix
Diff Detail
Event TimelineComment Actions Both of these features are required by POSIX, %% also seems to be required: Does this mean the build no longer requires the stat command? |