Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure Compatibility with BSD sha1sum
BSD and GNU implementations have slightly different behavior, the former implementation is used in macOS, FreeBSD and similar systems. While both implementations behave identically with the -c - argument when the file exists, they differ when the file does not exist. This commit adds an 'ls' command to address this difference, ensuring consistent behavior across platforms.
- Loading branch information