Convert text to Unicode strikethrough. E.g. "Hello world" becomes "H̶e̶l̶l̶o̶ ̶w̶o̶r̶l̶d̶".
Works by inserting U+0336 (Combining Long Stroke Overlay) after every character.
- Rust (edition 2024)
wl-pasteandwl-copy(Wayland clipboard utilities)
cargo build --releaseclipstrike [OPTIONS] [INPUT]
| Form | Source |
|---|---|
| (no argument) | Clipboard (via wl-paste) |
- |
stdin (trailing newlines stripped) |
<text> |
Literal text argument |
| Form | Destination |
|---|---|
| (no flag) | Clipboard (via wl-copy) |
-o |
stdout |
-o - |
stdout |
-o <file> |
Write to file |
# Clipboard in, clipboard out
clipstrike
# Literal text to stdout
clipstrike -o "cross this out"
# Pipe from stdin to a file
echo "strikethrough me" | clipstrike - -o result.txtThis project is dedicated to the public domain under the CC0 1.0 Universal license. To the extent possible under law, the author has waived all copyright and related or neighboring rights to this work.