Is this possible?
NR doesn't seem to like the Var $SPLIT
I've seen examples like
NR % V1 ; V1=$SPLIT
but can't seem to get my head round it.
Mike
"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
Code:
SPLIT=40
awk '{
if (NR % ${SPLIT})
printf ("%s #", $0)
NR doesn't seem to like the Var $SPLIT
I've seen examples like
NR % V1 ; V1=$SPLIT
but can't seem to get my head round it.
Mike
"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."