about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-09-29 13:34:04 -0500
committerCase Duckworth2022-09-29 13:34:04 -0500
commit7525072618a6b0d4325c8599b2839dbac9215ab4 (patch)
tree57c0394404f7a3706837832df9030bc42ea470b6
parentAdd more logging (diff)
downloadvienna-7525072618a6b0d4325c8599b2839dbac9215ab4.tar.gz
vienna-7525072618a6b0d4325c8599b2839dbac9215ab4.zip
combine 2 commands into 1
-rwxr-xr-xvienna4
1 files changed, 1 insertions, 3 deletions
diff --git a/vienna b/vienna index 7c8f722..522f69e 100755 --- a/vienna +++ b/vienna
@@ -192,9 +192,7 @@ phtml() { # phtml < INPUT
192 # first line (an implementation detail). 192 # first line (an implementation detail).
193 sed -E \ 193 sed -E \
194 '/./{H;1h;$!d;}; x; 194 '/./{H;1h;$!d;}; x;
195 s#^[ \n\t]\+##; 195 s#^[ \n\t]+[^<].*#&#;
196 t ok; :ok;
197 s#^[^<].*#&#;
198 t par; b; 196 t par; b;
199 :par; 197 :par;
200 s#([^\\])&#\1\&amp;#g; s#\\&#\&#g; 198 s#([^\\])&#\1\&amp;#g; s#\\&#\&#g;