Files
fzf/src
Junegunn Choi 31fd207ba2 Add 'r' flag (raw) for unquoted output
By default, placeholder expressions are automatically quoted to ensure
they are safely passed as arguments to external programs.

The r flag ({r}, {r1}, etc.) disables this behavior, outputting the
evaluated value without quotes.

For example,

  echo 'foo   bar' | fzf --preview 'echo {} {r}'

The preview command becomes:

  echo 'foo   bar' foo   bar

Since `{r}` expands to unquoted "foo   bar", 'foo' and 'bar' are passed
as separate arguments.

**Use with caution** Unquoted output can lead to broken commands.

  echo "let's go" | fzf --preview 'echo {r}'

Close #4330
2025-03-30 19:49:05 +09:00
..
2025-03-16 01:57:20 +09:00
2021-02-28 18:28:21 +09:00
2023-07-16 17:14:22 +09:00
2016-08-19 02:39:32 +09:00
2024-01-01 15:38:35 +09:00
2025-02-02 02:23:47 +09:00
2024-09-29 19:33:42 +09:00
2024-09-29 19:33:42 +09:00
2024-11-03 20:12:47 +09:00
2025-02-25 10:12:19 +09:00
2022-03-29 21:23:45 +09:00
2022-03-29 21:23:45 +09:00
2024-08-29 16:41:52 +09:00
2024-08-29 16:41:52 +09:00