On Friday 03 February 2006 02:51, John Vandenberg wrote:
> The attached patch fixes the problem.
> Sun awk does not like ~ syntax. Also, the commands
> need to be reordered otherwise /^$/ causes it to
> bail out too early.
I don't understand the reorder issue, and neither the $ in /^[a-z]+:[ $\t]/.
> > I would also like to change the way how parameters are currently passed
> > to awk in many places in one of the next steps, like this:
> >
> > awk '
> > - $0 == "'"$patch"'" { exit }
> > - { print }
> > - ' $DB
> > + $1 == patch { exit }
> > + { print }
> > + ' patch="${patch//\\/\\\\}" $DB
>
> What about passing parameters to awk on the command line; will that work ?
That's what it is, yes.
Thanks,
Andreas
_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev