The Visible Cat

Guy Harris guy at rlgvax.UUCP
Fri Mar 1 19:44:16 AEST 1985


> Let's get User Friendly (user friendly), I wanna get...
> This poor guy would like to type `type file...'. I realize this is
> `just a special case' but it's the most common usage for most users.

$ cd /usr/bin
$ ed type
a
vis "$@"	# or "cat -v "$@", if you have it
.
w
q
$ chmod +x type

Next question.  Or, if you have the C shell,

% alias type vis	# or "alias type cat -v"

or, if you have the S5R2 Bourne shell, the equivalent syntax for creating
a function.  Put it in /etc/profile, if you like.

	Guy Harris
	{seismo,ihnp4,allegra}!rlgvax!guy



More information about the Comp.unix.wizards mailing list