Hello Nilo,

in GMPL you could write:

printf {i in {1..80}} "%s", "=";

Best regards

Xypron


-------- Original-Nachricht --------
> Datum: Tue, 1 Nov 2011 13:38:16 -0200
> Betreff: [Help-glpk] Printing tables

> Hi,
> 
> In vim, normal mode, I can use 80i=<Esc> to easily output a table
> delimiter
> with 80 '=' chars.
> 
> But, I was wondering if there is a way to do that using printf semantics
> only. Something like printf "%80s", '='
> 
> Anyone ever tried that ?
> 
> Thank you.
> 
> -- 
> *Nilo Cesar Teixeira*
> [email protected]

-- 
Follow me at http://twitter.com/#!/xypron

Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to