Skip to content

Commit

Permalink
Don't depracte backticks; just suggest shell as an alternative.
Browse files Browse the repository at this point in the history
  • Loading branch information
offby1 committed Oct 15, 2024
1 parent 3d4e308 commit ada00a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2034,8 +2034,6 @@ Use `just --groups --unsorted` to print groups in their justfile order.

### Command Evaluation Using Backticks

Backticks are an older feature that have largely been obsoleted by the `shell` function (see [External Commands](#external-commands).); we recommend that you use `shell` in new justfiles.

Backticks can be used to store the result of commands:

```just
Expand All @@ -2061,6 +2059,9 @@ See the [Strings](#strings) section for details on unindenting.
Backticks may not start with `#!`. This syntax is reserved for a future
upgrade.

More flexible and powerful command invocations can be acheived with the `shell` function (see [External Commands](#external-commands)) .


### Conditional Expressions

`if`/`else` expressions evaluate different branches depending on if two
Expand Down

0 comments on commit ada00a8

Please sign in to comment.