From c7acaa82cbc6cfaa5f1d2ae236b3128b5f412cb1 Mon Sep 17 00:00:00 2001 From: Dialga Date: Sun, 18 Dec 2022 13:50:35 +1300 Subject: [PATCH] Differentiate between shell and nushell example (#1427) --- README.md | 7 ++++--- README.中文.md | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5e1cdb8..8fdff68 100644 --- a/README.md +++ b/README.md @@ -1699,7 +1699,7 @@ saving the recipe body to a file and running it. This lets you write recipes in different languages: ```just -polyglot: python js perl sh ruby +polyglot: python js perl sh ruby nu python: #!/usr/bin/env python3 @@ -1720,8 +1720,8 @@ sh: nu: #!/usr/bin/env nu - let hello = 'Yo' - echo $"($hello) from a shell script!" + let hello = 'Hola' + echo $"($hello) from a nushell script!" ruby: #!/usr/bin/env ruby @@ -1735,6 +1735,7 @@ Greetings from JavaScript! Larry Wall says Hi! Yo from a shell script! Hello from ruby! +Hola from a nushell script! ``` On Unix-like operating systems, including Linux and MacOS, shebang recipes are diff --git a/README.中文.md b/README.中文.md index 2b36c26..d85bddf 100644 --- a/README.中文.md +++ b/README.中文.md @@ -1704,7 +1704,7 @@ sh: nu: #!/usr/bin/env nu let hello = 'Yo' - echo $"($hello) from a shell script!" + echo $"($hello) from a nushell script!" ruby: #!/usr/bin/env ruby