|
 |
hi,
"Bald Eagle" <cre### [at] netscape net> wrote:
> ...
> I have also (mostly) trained myself to type the opening AND closing parts first,
> and then fill in the space between.
very good practice/advice. fwiw, a suitable editor helps, for instance using
'vim' makes jumping between opening and closing brace/parenthesis/bracket a
single (shifted) key press.
> ...
> Maybe someone can suggest a command-line script to grep opening and closing
> parentheses and give a count.
not totally what you're after, you only get the line count of occurrence, but,
in practice, the opening/closing counts should be the same. (no time to write a
script, sorry :-))
$ grep -ce '[{]' myscene.pov
$ grep -ce '[}]' myscene.pov
> Might be able to paste it into a spreadsheet and get a count that way.
do you use 'sc(1)' ?
regards, jr.
Post a reply to this message
|
 |