Skip to content

Instantly share code, notes, and snippets.

@timball
Created October 30, 2013 21:57
Show Gist options
  • Save timball/7241045 to your computer and use it in GitHub Desktop.
Save timball/7241045 to your computer and use it in GitHub Desktop.
purposefully make things stairstepped ...
#!/bin/bash
while true
do
for i in $(seq 0 $(tput cols))
do
for j in $(seq 0 $i)
do
echo -n " "
done
echo $1
done
done
@timball
Copy link
Author

timball commented Oct 30, 2013

!/bin/bash

this reads stdin

read line
while true
do
for i in $(seq 0 $(tput cols))
do
for j in $(seq 0 $i)
do
echo -n " "
done
echo $line
sleep 1
done
done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment