matryer / xbar

Put the output from any script or program into your macOS Menu Bar (the BitBar reboot)
https://xbarapp.com
MIT License
17.45k stars 641 forks source link

The notation for escaping the pipe for non parameter string #913

Open Sixeight opened 5 months ago

Sixeight commented 5 months ago

Problem

I wanna escape | to ignore parsing pipe as separator of parameter.

We output following string to get error unknown parameter: Bar

Foo | Bar | color=red

It was discussed here in the past: https://github.com/matryer/xbar/issues/461

Proposed notation

How about the following notation

Foo \| Bar | color=red