routelist_output_filter.sh   [plain text]


#!/bin/sh
sed -e 's/^\(Process:.*\[\)[0-9][0-9]*/\1XXXX/'			\
    -e 's/^\(Load Address:.*\)[0-9a-f][0-9a-f]*/\10xXXXX/'	\
    -e '/^Version:.*/d'						\
    -e '/^Analysis Tool:.*/d'					\
    -e '/^----$/d'						\
    -e 's/^\(Parent Process:.*\[\)[0-9][0-9]*/\1XXXX/'		\
    -e 's/^\(Date\/Time: *\)[0-9].*/\1XXXX/'			\
    -e '/Process [0-9][0-9]*: [0-9][0-9]* nodes malloced/d'	\
    -e 's/^\(Process \)[0-9][0-9]*:\(.*\)/\1XXXX\2/' 		\
    -e 's/^\(Path: \)\(.*$\)/\1XXXX/'				\
    -e 's/^\(OS Version: \)\(.*$\)/\1XXXX/' 			\
    -e '/^Load Address:.*/d'					\
    -e '/^Launch Time:.*/d'					\
    -e '/^Parent Process:.*/d'					\
    -e '/^Analysis Tool Version:.*/d'				\
    -e '/^Physical footprint:.*/d'				\
    -e '/^Physical footprint (peak):.*/d'