diff --git a/README.md b/README.md index 4970bc1..0f73c4b 100644 --- a/README.md +++ b/README.md @@ -8,18 +8,18 @@ If you use Letterheads Address database, uncomment the last line of that file an ## Usage `./fax.sh ` - With a german fax number `` + with a german fax number `` `./fax.sh -handle ` - Asks Letterhead's address database for 's fax number. + asks Letterhead's address database for 's fax number. -`$ ./fax.sh -help` - Print usage Message and exit +` ./fax.sh -help` + prints usage Message and exits sipgate doesn't accept pdf files larger than 30 pages or 10MB. ~~For now, `` has to be numbers-only, starting with `+49`. It is planned to parse different number formats.~~ Should be done. -Spaces in filename seem to make trouble at the moment - avoid them. +~~Spaces in filename seem to make trouble at the moment - avoid them.~~ Spaces in filenames are difficult. No guarantee, but should be handled now. `status.sh` shows ID, Date and Status of the last ten fax set from this device. diff --git a/fax.sh b/fax.sh index 7eed1f3..1ff997e 100755 --- a/fax.sh +++ b/fax.sh @@ -64,7 +64,7 @@ then exit 2 fi #Needs to be base64 encoded: -CONTENT=$(base64 $FILE -w 0) +CONTENT=$(base64 "$FILE" -w 0) if [ -z "$CONTENT" ]; then echo "Encoding failed"