• ikeberlein's avatar
    Make redis-cli grep friendly in pubsub mode (#9013) · 77d44bb7
    ikeberlein authored
    redis-cli is grep friendly for all commands but SUBSCRIBE/PSUBSCRIBE.
    it is unable to process output from these commands line by line piped
    to another program because of output buffering. to overcome this
    situation I propose to flush stdout each time when it is written with
    reply from these commands the same way it is already done for all other
    commands.
    77d44bb7
redis-cli.c 311 KB