FUKUCHI Kentaro's web pages / Works


Short-short programs

A "Short-short story" is a kind of literary form, and it is very short (100-1000 words) as the name describes. Usually it has a tip of humor, and sometimes it is really meaningful.

"Short-short programs" are softwares. They are very short, and useful for your daily life with computers, rarely.

The most of programs are for UNIX (or UNIX-like) environment.


bigecho

Note: "BIGECHO" is one of the largest karaoke shop chain in Japan.

bigecho displays a line of text on the standard output like echo command, but with large letters. A termio support is required.

[ GZ] bigecho.tar.gz (7694 byte)

People often asks me the difference from banner command, and the answer for the question is that bigecho derives from echo command. Because of that, bigecho does not accept the standard input. Besides, -n option cancels the last line feed from the output.

When you use xterm with "Unreadable" font, you can use this command instead of echo command to read the messages.

[bigecho on xterm with unreadable font] Results of bigecho `date`
and
bigecho $PATH
Cyan lines are command prompt.


tomorrow/yesterday

Yes, you have "date" command to know what is the date today. Then how about tomorrow?

Fortunately, GNU's date command can display any date what you want to know. I recommend you to create following aliases for your shell.

alias tomorrow='date -d1day'(sh)
alias tomorrow 'date -d1day'(csh)

And variations.

alias yesterday='date -d1day+ago'(sh)
alias yesterday 'date -d1day+ago'(csh)

alias dayafter='date -d2day'(sh)
alias dayafter 'date -d2day'(csh)

alias daybefore='date -d2day+ago'(sh)
alias daybefore 'date -d2day+ago'(csh)

Tips: GNU date command accepts following options.

date -dtomorrow
date -dyesterday


quit

quit displays animation of running cars like this:

                      ()___________________________________
                      ||  .  --  -+-         _       || || |
                      || -+- --\ `|' _|     __   |_  || || |
                      || -+-   / -+-  |^\    /   |         |
                      ||  \/  /  /|\ /|()~  /\/ ()\  () () |
                      ||-----------------------------------
___o _                ||                                ___'' ||  ____
  /    /              ||                                  |   ||     /
 /   _/               ||                                __|  / |/  /
 /\__ /  \          /\ _  / \          /\ _  / \          /\ _  / \
| | |     |      \ |  | |    |  /   \ |  | |    |  /   \ |  | |    |  /
 \|_|    /        \ \ |_|   /  /     \ \ |_|   /  /     \ \ |_|   /  /
  :       \       _____________      _____________      _____________
 D=^-/-    \      |           |      |           |      |           |
  /_  __   /[]====|           |======|           |======|           |
/~\ ~-\--/~\      +----/~\----+      +----/~\----+      +----/~\----+ o O
\_/      \_/           \_/                \_/                \_/

Note: the text on the banner is written in Japanese means "I'll never be back!!"

[ GZ] quit.tar.gz (3340 byte) (version 1.2 2002/5/5)

This program derives from Toyoda's "sl" command.

Now the development tree of quit is moved to github.com.

FUKUCHI Kentaro (E-mail address is here)