mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-02 07:07:46 +00:00
Merge pull request #144 from stormasm/nu101
copy over to engine-q demo.nu
This commit is contained in:
commit
5589e2558d
2 changed files with 10 additions and 0 deletions
5
engine-q/nu_101/README.md
Normal file
5
engine-q/nu_101/README.md
Normal 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
5
engine-q/nu_101/demo.nu
Normal file
|
@ -0,0 +1,5 @@
|
|||
def my-ls [x] {
|
||||
ls $x | where size > 10kb
|
||||
}
|
||||
|
||||
my-ls .
|
Loading…
Add table
Add a link
Reference in a new issue