Introduction
Introduction Statistics Contact Development Disclaimer Help
Add case for wolfram, so number and text formatting is better. - annna - Annna …
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 58c7a4fabdf92ec67015769b83c9a60da7506842
parent 31fa20291965158672be7d2590223de9169846eb
Author: Annna Robert-Houdin <[email protected]>
Date: Sun, 12 Apr 2020 18:37:30 +0200
Add case for wolfram, so number and text formatting is better.
Diffstat:
M annna-start-services | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/annna-start-services b/annna-start-services
@@ -193,13 +193,25 @@ then
| grep -v '^i ' \
| head -n -1 \
| tail -n +2 \
- | sed 's,i\(.*\)fake\texample.com.*,\1,;s,[ \t…
- | tr '\n' ' ' \
- | sed "s,^b',,;s,' $,," \
- | sed 's,\\n,\n,g;s,\\t,\t,g' \
+ | sed 's,i\(.*\)fake\texample.com.*,\1,;s,[ \t…
+
if [ -n "$dresult" ];
then
+ case "${dresult}" in
+ b*)
+ dresult="$(printf "%s\n" "${dresult}" \
+ | tr '\n' ' ' \
+ | sed "s,^b',,;s,' $,," \
+ | sed 's,^b",,;s," $,,' \
+ | sed 's,\\n,\n,g;s,\\t,\t,g')"
+ ;;
+ *)
+ dresult="$(printf "%s\n" "${dresult}" \
+ | tr -d '\n')"
+ ;;
+ esac
+
purl="$(printf "%s" "${dresult}" | /br/bin/bit…
else
purl="No matches found."
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.