[clug] Bash questions...

Francis Markham fmarkham at gmail.com
Sat Apr 30 20:23:14 MDT 2011


Also, if you have "yes" installed you might want to try something like:

echo $(yes '-' | head -n20)
>
>
Haven't tested this as I don't have bash on my Windows box at the moment.

Cheers,

-Francis



On 1 May 2011 12:16, steve jenkin <sjenkin at canb.auug.org.au> wrote:

> Thanks.
>
> Francis Markham wrote on 1/05/11 12:13 PM:
> > In python this is as simple as you would expect:
> >
> >     >>> print "-" * 20
> >     --------------------
> >
> > Cheers,
> >
> > -Francis
>


More information about the linux mailing list