diff --git a/engine-q/nu_101/README.md b/engine-q/nu_101/README.md new file mode 100644 index 0000000..cb27bca --- /dev/null +++ b/engine-q/nu_101/README.md @@ -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. diff --git a/engine-q/nu_101/demo.nu b/engine-q/nu_101/demo.nu new file mode 100644 index 0000000..257ccb6 --- /dev/null +++ b/engine-q/nu_101/demo.nu @@ -0,0 +1,5 @@ +def my-ls [x] { + ls $x | where size > 10kb +} + +my-ls .