General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Lawrence D’Oliveiro
Luke Smith
comments
Comments by "Lawrence D’Oliveiro" (@lawrencedoliveiro9104) on "Automating Everything in Linux with ENTR!" video.
Instead of echo «something» | «cmd» how about «cmd» <<EOD «something» EOD (should work with any POSIX-compliant shell), or «cmd» <<<«something» (bash-specific).
1
The key problem with this kind of tool is there is no Unix/POSIX standard for notification of filesystem events. Linux has its own inotify and fanotify systems, other OSes have different ones or none at all, forcing you to resort to periodic polling to notice changes.
1