summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xprint/etc/init.d/xprint.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xprint/etc/init.d/xprint.cpp b/Xprint/etc/init.d/xprint.cpp
index 40ab6fbae..56fae1d2b 100644
--- a/Xprint/etc/init.d/xprint.cpp
+++ b/Xprint/etc/init.d/xprint.cpp
@@ -248,7 +248,7 @@ get_fontlist_from_xfs_config()
tok="${val#*=}"
done
done
- ) | tr "," "[\n]" | fontpath2fontlist
+ ) | tr "," "\n" | fontpath2fontlist
}
get_fontlist_from_all_xfs_configs()
@@ -832,7 +832,7 @@ do_get_xpserverlist()
echo ${display}
fi
)
- done | tr "[\n]" " "
+ done | tr "\n" " "
)
# Only produce output if we have some entries...
[ "${xpserverlist}" != "" ] && echo "${xpserverlist}"