source: ccr2ccd-xslt/trunk/make/simple2.sh@ 1482

Last change on this file since 1482 was 1004, checked in by George Lilly, 14 years ago

final PQRI files

File size: 394 bytes
Line 
1#!/bin/bash
2#MyFile="PAT_100904_QRDA_V1_0_0-11-03-2010_20.xml"
3
4for MyFile in $(ls -1 PAT_*_QRDA_V1_0_0-11-03-2010_20.xml);
5do
6SBL=$(grep -n "structuredBody" "$MyFile" | awk -F: '{ print $1 }')
7echo "the structuredBody line is $SBL"
8echo "$(($SBL+1)) is the first line to delete"
9echo "$(($SBL+2)) is the second line to delete"
10echo "a is $a"
11echo "b is $b"
12#sed -in "$a","$b"d "$MyFile"
13done
Note: See TracBrowser for help on using the repository browser.