Can you please have a look if virtual/awk is sufficient or if gawk is needed.
txt2man uses interval expression, so it depends on sys/gawk. However $0 ~ /^ {1,4}/ in txt2man could rewritten into traditional regular expression as $0 ~ /^ ? ? ?/, otherwise everything seems posix-conform.
Sorry for slacking here. What are platforms on which we don't have gawk? pdfsandwich depends on the tesseract library which only works on mainstream platforms anyway...
(In reply to comment #2) > Sorry for slacking here. What are platforms on which we don't have gawk? > pdfsandwich depends on the tesseract library which only works on mainstream > platforms anyway... We might replace sys-apps/gawk in the system set by virtual/awk, so I am looking, which package really depend on gawk. I leave it to you guys to decide, feel free to close this bugs as WONTFIX or make the awk call posix conform as suggested in comment 2.
(In reply to comment #3) > (In reply to comment #2) > > Sorry for slacking here. What are platforms on which we don't have gawk? > > pdfsandwich depends on the tesseract library which only works on mainstream > > platforms anyway... > We might replace sys-apps/gawk in the system set by virtual/awk, so I am > looking, which package really depend on gawk. > > I leave it to you guys to decide, feel free to close this bugs as WONTFIX or > make the awk call posix conform as suggested in comment 2. After talking to Tobias we will stick with the explicit gawk dependency. Next time I touch the ebuild I'll replace it with a dependency on txt2man which would be more honest (and also pull in gawk). From the txt2man webpage: "Txt2man converts flat ASCII text into the man page format. This allows man pages to be authored without knowledge of nroff macros. It is a shell script that uses GNU awk, and it should run on any Unix-like system."