mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
oneliner: combine two files into one
This oneliner combines two files of the same type into one. I named it after the Unix utility for discoverability. Thanks to @jonathandturner for the help on Discord!
This commit is contained in:
parent
c0829c518e
commit
6a664a2e12
1 changed files with 3 additions and 0 deletions
3
cool_oneliners/file_cat.nu
Normal file
3
cool_oneliners/file_cat.nu
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Combine two files into one
|
||||
# You can generate `a.json` with something like `range 1..5 | save a.json`
|
||||
echo (open a.json) (open b.json) | save c.json
|
Loading…
Add table
Add a link
Reference in a new issue