hi, da cypheus mehr als schrottisch l�uft brauche ich schnell eine alternative (WHFC ist zu langsam).
ich mache das jetzt �ber samba. Das WWS produziert im Dokument folgenden
Eintrag:
NMR:<faxnummer>
Jetzt muss ich das sambafax Script so ab�ndern das es diesen String
nimmt und nicht standard. Leider habe ich von AWK und co keinen
Schimmer. K�nnt ihr mir helfen?
# retrieve the faxnumber from the printfile
# the silly three x's are added because some awk strugle with an
immediate CR
# we use a PS to ascii pipe to strip (most of) the Postscript controls
FAXNUM=`${PS2ASCII} ${FAXFILE} | ${AWK} '{ IGNORECASE=1 } /FAX-Nr ?:
?[0-9-]*/ \
{ $0=$0 "xxx"; \
gsub(/-/,""); \
anfang=match($0,/ ?: ?/); \
anfang=anfang+match(substr($0,anfang),/[0-9]/)-1; \
ende=match(substr($0,anfang),/[^0-9]/)-1; \
printf ("%s",substr($0,anfang,ende)) \
}'
--
cu denny
Gnupg key can be found under pgp.mit.edu, key ID 0x73137598
signature.asc
Description: This is a digitally signed message part

