![]() |
Lee Howard wrote: > Daren Russell wrote: >> It seems to generally be working, but I noticed that in >> "common-functions" it makes use of the 'wc' command with the option >> '-L'. The potential problem is this argument does not seem to be >> supported by the version of 'wc' in FreeBSD 7. I am unsure if this is >> causing any real problems with notifications - as we now don't get email >> notifications when a fax comes in. > > You can probably substitute all of the -L for an -m. > > The difference between -m and -L is that -L does not count the > end-of-line character(s) (line feed, and possibly carriage-return). > In practice this should not be noticeable (especially for english > -speaking users) since it will be consistent throughout all items on > the list. > > I seem to recall changing it to -L at a time when doing work for > internationalization. I'm not sure if -m handles wide characters or > not. I'm certain that -L does. However, in your case this will not > be an issue. > > Note, however, that common-functions will get overwritten on > reinstallations and upgrades. So you'll want to make note of your > changes and apply them after future upgrades. If you open up a bug > report on the Sourceforge website on this matter then I'll make > configure test for wc -L support before using it over wc -m. In that > bug report I would appreciate knowing how things look (i.e. faxrcvd > notification messages) after making the changes. > > Thanks, > > Lee. Thanks for replying Lee. It's sorted now anyway, I found that FreeBSD had a port of the Gnu commands including wc, so I installed them and had the system use the Gnu version of wc. Regards Daren ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*