mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-11 01:10:31 +00:00
6 lines
100 B
Plaintext
6 lines
100 B
Plaintext
# regex into pattern
|
|
|
|
# convert stream in JSON
|
|
ls | rip '(.*)\.(.*)' '{"name": "$1", "ext": "$2"}'
|
|
|