Input file looks like this:{key:value;ipaddress:scrubbed;id:scrubbed}{key1:value;ipaddress:scrubbed;id:scrubbed}{key2:value;ipaddress:scrubbed;id:scrubbed}{key3:value;ipaddress:scrubbed;id:scrubbed}scenario:i have to check whether ip address and id got scrubbed or not for all input lines in above fileexcepted output to be printed on console:ip address and id got scrubbed in all the lines of input file
searching for a pattern and printing the output on console
linux;text processing;awk