constructing strings from arithmetic
- From: heavytull <heavytull@xxxxxxxxxxx>
- Date: Thu, 17 May 2012 23:51:11 +0000 (UTC)
I'm searching for a program that can construct strings from arithmetic.
For example I need the following string: aaaa, the program should
generate it by telling it to print a string of n consecutive a, n being
equal to 4 for this example.
The goal is to add blank characters at the beginning of some lines in a
script by respect to depth of code (imagine nested loops for example).
I'm trying to see if awk can do that.
.
- Follow-Ups:
- Re: constructing strings from arithmetic
- From: Ed Morton
- Re: constructing strings from arithmetic
- From: Chris F.A. Johnson
- Re: constructing strings from arithmetic
- From: heavytull
- Re: constructing strings from arithmetic
- From: Janis Papanagnou
- Re: constructing strings from arithmetic
- From: Mirko K.
- Re: constructing strings from arithmetic
- From: Barry Margolin
- Re: constructing strings from arithmetic
- Prev by Date: Re: Help with an awk command
- Next by Date: Re: constructing strings from arithmetic
- Previous by thread: Help with an awk command
- Next by thread: Re: constructing strings from arithmetic
- Index(es):
Relevant Pages
|