We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b1f826 commit a833daaCopy full SHA for a833daa
tipp.ps1
@@ -22,7 +22,7 @@ if (-not ($in | Test-Path)) {
22
exit 1
23
}
24
25
-$lines = Get-Content $in | Select-String -pattern '^\"' -notmatch | Where {$_.ToString().Trim().Length -gt 0}
+$lines = Get-Content $in | Select-String -pattern '^\"[^→]*$' -notmatch | Where {$_.ToString().Trim().Length -gt 0}
26
27
if ($out) {
28
foreach ($line in $lines) {
tipp.sh
@@ -20,7 +20,7 @@ if [ ! -f $1 ]; then
20
fi
21
if [ $2 ]; then
- sed '/^\"/d' $1 | sed '/^[[:space:]]*$/d' - > $2
+ sed '/^\"[^→]*$/d' $1 | sed '/^ *$/d' - > $2
else
- sed '/^\"/d' $1 | sed '/^[[:space:]]*$/d' -
+ sed '/^\"[^→]*$/d' $1 | sed '/^ *$/d' -
0 commit comments