SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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