Quoting Bijan Soleymani <[EMAIL PROTECTED]>:

> 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 ??
> 
> A possible not good way to do this in bash:
> for x in `seq 80`; do echo -n "*"; done ; echo
> 
> the last echo is to get the newline to print.
> 
> In perl you could do:
> perl -e 'for(1..80){print "*";}print "\n";'
> 
> Technically that is shorter than:
> echo
> "********************************************************************************"

Can you just explain how to use this for ? It seems far away the ones I know
(C,C++,basic,Java,php,etc.)
Regards.
Olivier - France


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to