replace $(cat ) with $(< )
remove $Id$ comment
add action inventory