Why xargs can’t work with tail -f?
I want tail -f /var/log/syslog | grep it with pattern “arpwatch” and send every line to myself via jabber: xmpp [email protected] using xargs
I want tail -f /var/log/syslog | grep it with pattern “arpwatch” and send every line to myself via jabber: xmpp [email protected] using xargs
The -I, -L, and -n options are mutually-exclusive. Some implementations use the last one specified if more than one is given on a command line; other implementations treat combinations of the options in different ways.
Is it possible to use xargs to invoke a command so that the last argument of the command is fixed?
I’m trying to produce this behaviour:
I would like to run:
This is my code
I would like to change the format of the output xargs displays