Skip to content

man snail

Jean-Raphaël GAGLIONE edited this page Apr 7, 2017 · 6 revisions

NAME

snail - print a snail

SYNOPSIS

snail [-a|[%]FRAME] [POSITION] [WIDTH]

DESCRIPTION

     _____     | /
   .' __  `.   !/  
  / .'_ \   \ /  ;
  \ `._; ;--!' ,'  
 ._>.___/     /    
 `-.________,'     

This is Boris. Boris is useful for tests. Boris is 19 characters wide and 6 character high, and has 2 frames.

When no argument is given, Boris will wiggle on the spot when printed multiple times. It is very helpful to detect unexpected freezes.

OPTIONS

[%]FRAME : the frame to print, modulo 2 (default 0); if % is specified, the frame will change FRAME times per second (1 if any number specified)

-a, --auto : when specified instead of FRAME, the frame is set to the next one, regarding to the last print of the snail (default if no frame given)

POSITION : horizontal offset (default 0)

WIDTH : max length of a line (default is the terminal width)

EXAMPLES

mill snail

mill 'snail % $((($(tput cols)-19)/2))'

mill -b -p 0.2 '++ F 1 || ++ X -19 $(tput cols); snail $F $X'

mill -i -C 'track *.java' 'javac *.java; snail'
# the snail moves each time the files are compiled

Command manual

Clone this wiki locally