Skip to content

UnoSD/BashLinq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BashLinq

.NET Core bridge to use LINQ from the command line

Example usages:

Run a terminal and go the the binary folder

Add aliases:

alias map='./BashLinq.exe select'
alias select='./BashLinq.exe select'
alias filter='./BashLinq.exe where'
alias where='./BashLinq.exe where'
alias groupby='./BashLinq.exe groupby'

Try some C# LINQ to map/filter other command's output

ls | where 'i => i.ToLower().Contains("a")'

ls | groupby 'i => i.Length'

#18
#    BashLinq.deps.json
#12
#    BashLinq.dll
#    BashLinq.pdb
#31
#    BashLinq.runtimeconfig.dev.json
#27
#    BashLinq.runtimeconfig.json

ls | select "ToUpper()" | where '!StartsWith("Bash")'

About

.NET Core bridge to use LINQ from the command line

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy