From 7525072618a6b0d4325c8599b2839dbac9215ab4 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 29 Sep 2022 13:34:04 -0500 Subject: combine 2 commands into 1 --- vienna | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vienna b/vienna index 7c8f722..522f69e 100755 --- a/vienna +++ b/vienna @@ -192,9 +192,7 @@ phtml() { # phtml < INPUT # first line (an implementation detail). sed -E \ '/./{H;1h;$!d;}; x; - s#^[ \n\t]\+##; - t ok; :ok; - s#^[^<].*#&#; + s#^[ \n\t]+[^<].*#&#; t par; b; :par; s#([^\\])&#\1\&#g; s#\\&#\&#g; -- cgit 1.4.1-21-gabe81