| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| aardvarkshellutils-1.0-3-x86_64.hpkg | 2026-05-04 | 87.3 kB | |
| readme.md | 2026-05-04 | 1.3 kB | |
| Totals: 2 Items | 88.6 kB | 0 | |
Aardvark Shell Utilities
Two CLI file info utilities
The Aardvark Shell Utils is a collection of 2 (currently) utilities designed to aid the user when working with shell scripts, or from the shell command line. All three accept their input on the command line, or from standard input, and thus they can be piped (|) with other commands. All commands come with their own man page.
The Aardvark Shell Utils collection for Haiku includes the two utilities below:
- filebase
Filebase returns the base portion of a filename, that is the filename with its extension (e.g. .txt) removed. It works by returning everything preceeding the last period in the input string. The period itself is not returned.
- fileext
Fileext returns the extension portion of a filename (e.g. txt). It works by returning everything following the last period in the input string. The period itself is not returned.
NOTE: the third aardvark utility, realpath, is not included since it conflicts with a similar utility in the coreutils package.
Copyright: Laffey Computer Imaging
License: GNU GPL v2
URL: http://www.laffeycomputer.com/shellutils.html