Fix html and newline instead of space

This commit is contained in:
GenjiFujimoto 2023-05-09 21:04:14 +02:00
parent c2e3e63c98
commit 5041467b60

View file

@ -1,5 +1,4 @@
#!/bin/sh #!/bin/sh
SDCV_PAGER='less --quit-if-one-screen -RX' xclip -o | xargs sdcv -n --utf8-output -e | tail -n +5 | sed 's|<br>|\n|g' | sed 's|<[^>]*>||g' | xargs -d "\n" popup
xclip -o | xargs sdcv -n --utf8-output -e | tail -n +5 | sed 's| ||g' | xargs popup