[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: print command



On Fri, Oct 31, 2003 at 02:50:17PM -0500, Vivek Kumar wrote:
| Hi,
| 
| Is there any other command to print any character say "*" 80 times..
| 
| like echo "******************************"
| (In bsh  or ksh)
| 
| Is there any short command ??

Since this hasn't been shown yet,

    python -c 'print "*"*80'

If you wanted to, you could create a program that simply outputs
repeating text, and then invoke that from your shell script.
Naturally if you go to the effort of making a program it should be
about as flexible as 'cut' or something :-).

-D

-- 
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.
        Albert Einstein
 
www: http://dman13.dyndns.org/~dman/            jabber: dman@dman13.dyndns.org

Attachment: pgpBSjLq328qV.pgp
Description: PGP signature


Reply to: