In article
<8bedffc0-32a8-480e-9dd4->,
qquito <> wrote:
> Hello, Everyone:
>
> I use the X window a lot on a Mac OS X (Version 10.6.8).
>
> Very often, I knock the RETURN key a number of times to create a wide
> enough space to separate the earlier displayed stuff in the the
> window from the stuff that will display next. Although the command
> "clear" does clear the window, but it does not create any space
> between the old and new stuff.
>
> So the question: Can I create a simple alias that would be equivalent
> to knocking the RETURN key, say 10 or 20, times? The critical part of
> the question is how to express the RETURN key in an alias expression.
>
> Thank you for reading and replying!
>
> --R.
spaces () { for (( i=${1:-10}; i--; )) ; do printf "\n"; done }
"spaces N" will print N blank lines. "spaces" with no argument defaults
to N = 10.
--
Barry Margolin,
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***