lucis

computers, graphics, movies, books, photography, life, universe and everything

12/16/2003

Solaris clear

Filed under: — ankit @ 2:41 pm

Here is the what the _Solaris_ clear command looks like:

#!/usr/bin/sh
#       Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
#         All Rights Reserved
#       THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
#       The copyright notice above does not evidence any
#       actual or intended publication of such source code.
#ident  "@(#)clear.sh   1.8     96/10/14 SMI"   /* SVr4.0 1.3   */
#       Copyright (c) 1987, 1988 Microsoft Corporation
#         All Rights Reserved
#       This Module contains Proprietary Information of Microsoft
#       Corporation and should be treated as Confidential.
# clear the screen with terminfo.
# if an argument is given, print the clear string for that tty type
/usr/bin/tput ${1:+-T$1} clear 2> /dev/null
exit

Is this a joke, or is this really from _Xenix_ (Microsoft’s unix implementation)?

Leave a Reply

Powered by WordPress