Artifact 0612d65c2d19e9d36b47aa9b2d403fab80c0ebfe55c3c1ca1bb72cb9f8587be4:
- Executable file mttroot/mtt/bin/trans/mtt_vectorise — part of check-in [968668b6d5] at 2000-08-30 10:24:03 on branch origin/master — Initial revision (user: gawthrop@users.sourceforge.net, size: 214) [annotate] [blame] [check-ins using]
#!/bin/sh # Vectorises the matrix output of reduce ie converts [n,1] to [n] # Copyright (C) 2000 by Peter J. Gawthrop mv $1 $1_junk sed 's/mtt_matrix\[\([0-9]*\),1\]/mtt_matrix[\1]/'< $1_junk > $1 rm -f $1_junk