1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 22:57:46 +00:00

copy over to engine-q demo.nu

This commit is contained in:
Michael Angerman 2022-02-14 18:22:02 -08:00
parent 3b9f064f1a
commit 4f04b5bbb2
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,5 @@
# Nu_101 Scripts
### Definition
These scripts should be used to demonstrate to the beginner how nushell scripting works. Perhaps how it's different from Windows `batch` files and `bash` shell scripts. Also, to show off how nushell pipes commands in and out of one another.

5
engine-q/nu_101/demo.nu Normal file
View file

@ -0,0 +1,5 @@
def my-ls [x] {
ls $x | where size > 10kb
}
my-ls .