4 ms·
Take a look at marcel: https://github.com/geophile/marcel https://github.com/geophile/marcel. It is a pipe-objects-instead-of-strings shell, implemented in Pyth
by geophile 6y ago
Take a look at marcel: https://github.com/geophile/marcel https://github.com/geophile/marcel. It is a pipe-objects-instead-of-strings shell, implemented in Python. But it is also an API allowing scripting from inside Python, e.g.
for file, size in ls('/home/jao') | map(lambda f: (f, f.size)):
print(f'{file.name}: {size}')