When typing such a command:
find . -type f -iname "*part*"
I get, slowly, file names appearing, as soon as they're found -- one at a time.
Adding a sed
expression behind it...
find . -type f -iname "*part*" | sed "s#^\./##"
… delays the display up to the end of the find
command, then processing everything at once.
How to avoid that? How to flush to sed
?
PS- Alternatively, how to remove the ./
prefix from every line, without delaying the display?