Reply To: MLP to Batch

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf MLP to Batch Reply To: MLP to Batch

#57122
Gene Salay
Participant

Hi Greg,

Thanks for your response.   Sounds good so far, but there’s

x0d x1c x0d x0b before each MSH (except for the first)

So I need to replace that whole string with one xa I’m thinking.

Would this work?:

set text “x0d x1c x0d x0b”

regsub -all {$text} $file {x0a} newfile

… and then I can build the FHS,BHS,BTS,FTS and sandwich it.

BTW, you used /… is that what I should use instead of here?

Thanks!

Forum Statistics

Registered Users
5,116
Forums
28
Topics
9,292
Replies
34,432
Topic Tags
286
Empty Topic Tags
10