SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
comms/smstools/patches/patch-scripts_sms2html
Normal file
21
comms/smstools/patches/patch-scripts_sms2html
Normal file
|
@ -0,0 +1,21 @@
|
|||
--- scripts/sms2html.orig Wed Mar 11 01:35:11 2009
|
||||
+++ scripts/sms2html Wed Mar 11 01:38:13 2009
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/sh
|
||||
|
||||
# This script converts a received sms file into a html file.
|
||||
|
||||
@@ -43,10 +43,10 @@ if [ "$ucs2" = "true" ]; then
|
||||
else
|
||||
# Combine two bytes to one 16bit character in html syntax
|
||||
if [ "$position" = "first" ]; then
|
||||
- echo -en "&#x$character"
|
||||
+ echo -n "&#x$character"
|
||||
position="second"
|
||||
else
|
||||
- echo -en "$character;"
|
||||
+ echo -n "$character;"
|
||||
position="first"
|
||||
fi
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue