Aardvark Shell Utils 1.0
December 3 2008
Designed to aid the user when working with shell scripts.
BrothersoftEditor: The Aardvark Shell Utils is a collection of 3 (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.
Collection of simple, but useful, UN*X utilities for shell scripting and interactive shell use.
The Aardvark Shell Utils collection includes the three utilities below:
Realpath is an implementation of the realpath(3) function for returning the canonicalized absolute pathname of an input path.
This lets you generate an absolute pathname with all symlinks resolved and all '.' and '..' characters removed. Many commands do not work well with relative paths or paths containing symlinks. Realpath(1) will let you cresolve these absolute paths. Since it can be used in a sequence of piped commands, as well as with a command line argument, realpath(1) is very friendly to both shell script authors and interactive shell users.
Please see the included manpage in the man/ dir for more info.
You will need a system with a realpath(3) function. (This is pretty standard ANSI C stuff.)
It is possible that your realpath(3) call will not return an absolute path in some circumstances (reports of Solaris behaving like this have surfaced).
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 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: All command names are lowercase. Capitals are used above only for emphasis or English clarity.
Software TagsWallpaper Technics Turntable | Utils.h | Shell Toy | Acrobat Pdf Maker Ware | Printer Redirection Tool | Utils.dll | Mouse Pointer Avenger | Microsoft Works Word Processor | Utils.py | Shell | Aid Powered By Ip.board | Lg T509 Optimus T | Shell Security
Size : 73KB
- MacX HD Video Converter Pro 5.0.4
- Advanced Installer Professional 10.5.2 Build 52901
- ColorPlus Printer Drivers 13.72
- File Replication Monitor 18.104.22.168
- InboxRULES for Outlook 2.61
- Trend Micro Virus Pattern File 9.949.00
- maXbox 22.214.171.124
- Disk Savvy Ultimate x64 5.0.14
- Google Chrome Portable 25.0.1364.160
- Speed Dial Utility Ver. 1.3.0 for Windows XP x64