sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 995ceeeacc7782dacab26a7d7ad6c020518a5187
parent a1f149509655226c7a2124521b2129b31f0da9ff
Author: NRK <nrk@disroot.org>
Date:   Sun,  5 Sep 2021 09:04:53 +0600

markup syntax fix

Diffstat:
Mtools.suckless.org/dmenu/patches/separator/index.md | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools.suckless.org/dmenu/patches/separator/index.md b/tools.suckless.org/dmenu/patches/separator/index.md @@ -1,5 +1,5 @@ separator -=== +========= This patch adds `-d` and `-D` flags which separates the input into two halves. One half will be displayed into dmenu and the other half will be printed to stdout. @@ -8,9 +8,9 @@ The following example will split the input into two halves on the _first_ occurrence of ' ' (space). Meaning "alpha" will be displayed on dmenu, and "beta charlie" will be printed to stdout upon selection. -```sh +` echo "alpha beta charlie" | dmenu -d ' ' -``` +` `-D` is similar but it separates the input based on the _last_ occurrence instead.