source: issm/trunk/scripts/errlog_process.sh@ 2010

Last change on this file since 2010 was 2010, checked in by Eric.Larour, 16 years ago

post processing of errlog

  • Property svn:executable set to *
File size: 205 bytes
Line 
1#!/bin/bash
2
3#first get rank we want to keep.
4rank=`cat $1 | awk 'NR==1' | sed 's/==/ /'g | awk '{printf("%s\n",$1);}'`
5
6#now only keep lines with this rank
7cat $1 | grep "==$rank==" > $1.bak
8mv $1.bak $1
Note: See TracBrowser for help on using the repository browser.