Turn Java 8 Streams into Unix like pipelines
This release added a few commands and fixed some bugs.
find
commandwhoami
commandweek
commandrm
commandpwd
should return the absolute path of working directoryPath
instead of String
for filesThis release adds a new possibility to use UnixStream components with the standard Stream API:
Predicates
classFunctions
classWith this refactoring, it is now possible to use UnixStream as a components library 100% compatible with the standard Java Stream API. Here is an example:
Stream.of("1,foo", "2,bar")
.filter(Predicates.grep("a"))
.map(Functions.cut(",", 2))
.forEach(System.out::println);
//prints:
//bar
"There are only two hard things in Computer Science: cache invalidation and naming things." Phil Karlton
io.github.benas.ustream
to io.github.benas.unixstream
io.github.benas.xstream
to io.github.benas.ustream