Scripts
SyddWare Logo Jeffrey R. (Sydd) Souza
The obligatory "digger" logoIm Aufbau - A bunch of free Unix shellscripts:

Legend


Coming SoonBasically, if you see the embossed ducky with an item (like at left) it means that item exists somewhere on my computer, I just have to fish it out and upload it to my page in a publicly usable form (i.e. I have to attach the disclaimer that saves my butt should you use one of my goodies to power your space vehicle & it runs out of gas half way to the moon).
My DuckyIf you see the full color ducky then it's a link to download the item (I hid the linkbox border around it, as it sullies my ducky).


Now Available!My Ducky[Added 10 Mar 1996] sed_change - This script allows you to write a sed(1) command file then execute it on a list of files instead of just one, replacing the files specified with the output from sed. Don't worry, it saves the origial file too, in case you don't want to keep the change. It provides the added protection of only running against files whose write permissions are set; it won't touch read-only files. (966 bytes gzipped)

Now Available!My Ducky[Added 10 Mar 1996] do_on_files - This script allows you to pipe a list of filenames (say, from ls) in and execute the same command on each. It's much the same as using find(1) with the -exec switch, but sometimes you already have the list at hand, or can much more easily specify it. (523 bytes gzipped)

Now Available!My Ducky[Added 10 Mar 1996] xvi & pause_vi - Simple script that brings up vi in an xterm. Handy for die hard vi fans who use X Window apps that let you specify an editor but only like ones that supply their own windows. (735 bytes gzipped tarfile)

Now Available!My Ducky[Added 10 Mar 1996] vt100todos - Used to strip out all those funky escape sequences, backspaces and any other odd unprintable you get in a typescript output file once you close it down. You'll recall script captures everything that goes to the screen, from the application and the keyboard, giving you a nice playback of everything that happened. (802 bytes gzipped)

Now Available!My Ducky[Added 10 Mar 1996] wspell - Uses the standard spell command right from the command line for one or more words without having to use echo or fill them into a file. (643 bytes gzipped)

Now Available!My Ducky[Added 11 Mar 1996] ctfc & ctfc_echo - ctfc takes stdin, redirects it to a file in /tmp, then performs the file oriented command provided on the command line on that file, deleting it afterward. It takes 1 parm, the name of the command you wish to operate upon. ctfc_echo does the same thing but echos stdin back out to stdout as well. As this is actually two scripts, it's in a gzipped tarfile. Very handy to provide filters in Sun's textedit Extras menu. I've provided a spell checker option to textedit using spell(1) in combination with this script. (691 bytes)

Now Available!My Ducky[Added 11 Mar 1996] what_headers - takes a list of filenames & generates a C table containing strings with the SCCS what(1) lines found in them. This can then be compiled and linked into an executable to serve as a permanent record of the versions of each include file used in the build of that executable. Support for this is imbedded in the mkmk utility. This is actually two scripts, so it's in a gzipped tarfile. (1.9K)

Coming Soon mkmk - An alternative to Imake: Where Imake is strong in providing makefiles for multiple platforms, mkmk allows you to configure self regenerating makefiles for a specific platform that are uniform across all executables in a given project. Allows developers less familiar with make to automagically create a makefile for their "piece-of-the-pie" that is uniform and fully conforms to established program guidelines. Facilities provided include automated dependency generators and alternative compiler support.

Coming Soon compile_include - One of the fundamental C binding (include file) rules I've enforced on large projects is content conventions: name.h contains define constants & simple macros; name_.h contains function prototypes; file_t.h contains typedefs & struct definitions; and file_g.h contains globals (wince - when absolutely necessary) with the magical diappearing extern trick. All of these files then HAD to be compilable on their own - this wouldn't catch all potential problems, but many. The problem was, C compilers sometimes don't like taking the .h extension as a source file, so I had to write a simple script to fake the compiler into compiling one or more include file standalone.

Coming Soon rlogin, sxhost, from_whence, display.c - A group of simple scripts (and an optional C routine for those rally odd systems) for auto determination of the hostname of the machine from which you have just rlogged in from, and setting the DISPLAY environment variable back to that host. These are very handy in an X Window environment, though they only work one hop at a time. And yes zillions of other people have probably written similar scripts.


... and many more little useful items from SyddWare.

To Contact SyddWare email info@syddware.com SyddWare MiniLogo

Jump to the Syte Map
SyteMap
SyddWare Logo DuckyPage © SyddWare, Jeffrey R. (Sydd) Souza *