[Pkg-clamav-devel] Bug#547743: clamav-unofficial-sigs bashism
bill at inetmsg.com
Mon Sep 28 19:43:05 UTC 2009
> I received a bug about clamav-unofficial-sigs containing a bashism:
> Apparently printf should be used instead of echo -e:
I'll look into this and see if all "echo" commands I use will map over
cleanly to "printf". I would like to note that out of the many thousands
of people currently using the script, I have not received a single
complaint of my usage of "echo" in the script. But with that said, I am
not opposed to making the change if it does not adversely affect overall
> I do wonder why you use \r though, won't that produce a Windows line
> ending sequence? I'd appreciate it if you could fix this in the next
There is nothing broken here, as far as I know. The use of \r here simply
tells the script to continuously update the output on the same line
(running total) as it is generating the signature database. Or are you
saying that this does not work correctly on Debian systems?
> BTW, I note that there is now a sourceforge project, which site is the
> canonical location for clamav-unofficial-sigs now?
You can use either site, I maintain them both and update both every time I
release an update.
More information about the Pkg-clamav-devel