Thursday, June 4, 2020
Show HN: Marcel – A Modern Shell https://ift.tt/3gViHSc
Show HN: Marcel – A Modern Shell Marcel is a shell. It is intended to be familiar to anyone who knows bash, but it emphasizes piping objects between commands, instead of strings. E.g., to explore the current directory recursively and find files changed in the past day: ls -r | select (file: now() - file.mtime < days(1)) Marcel is designed for interactive use. Python would be a fine scripting language if the integration with shell commands were better. So I made marcel's capabilities available as a module, marcel.api. The integration is extremely clean, (IMHO). To do the above example in Python: from marcel.api import * for file in ls(recursive=True) | select(lambda file: now() - file.mtime < days(1)): print(file) Check it out here: https://github.com/geophile/marcel. June 5, 2020 at 02:12AM
Subscribe to:
Post Comments (Atom)
Show HN: Littlebird – Screenreading is the missing link in AI https://ift.tt/3Q79Kr5
Show HN: Littlebird – Screenreading is the missing link in AI https://littlebird.ai/ March 23, 2026 at 11:09PM
-
Show HN: Stickerbox, a kid-safe, AI-powered voice to sticker printer Bob and Arun here, creators of Stickerbox. If AI were built for kids, w...
-
Show HN: Music player for big local collections with mpd support mpz is a C++/Qt music player focused on UX, with derectory tree and playlis...
-
Show HN: HCB Mobile – financial app built by 17 y/o, processing $6M/month Hey everyone! I just built a mobile app using Expo (React Native) ...
No comments:
Post a Comment