Hi,
Ich bin versucht zu ersetzen, mehrere ähnliche Wörter mit einem anderen Wort in
vi. Hier ist, was ich geschrieben habe für das Skript:
3dTcat-prefix SuperBrik_4WAY_HRF ../JULY10_2007A/results2TENT/stats.JULY10_2007A + tlrc ../JULY10_2007G/results2TENT/stats.JULY10_2007G + tlrc ../JULY10_2007I/results2TENT/stats.JULY10_2007I + tlrc ../JULY11_2007F/results2TENT/stats.JULY11_2007F + tlrc ../JULY11_2007J/results2TENT/stats.JULY11_2007J + tlrc ../JULY12_2007A/results2TENT/stats.JULY12_2007A + tlrc ../JULY12_2007B/results2TENT/stats.JULY12_2007B + tlrc ../JULY12_2007I/results2TENT/stats.JULY12_2007I + tlrc ../JULY12_2007J/results2TENT/stats.JULY12_2007J + tlrc ../JUNE13_2007A/results2TENT/stats.JUNE13_2007A + tlrc ../JUNE13_2007B/results2TENT/stats.JUNE13_2007B + tlrc ../JUNE13_2007C/results2TENT/stats.JUNE13_2007C + tlrc .. / JUNE13_2007E/results2TENT/stats.JUNE13_2007E + tlrc ../JUNE13_2007G/results2TENT/stats.JUNE13_2007G + tlrc ../JUNE13_2007I/results2TENT/stats.JUNE13_2007I + tlrc ../JUNE14_2007D/results2TENT/stats.JUNE14_2007D + tlrc ../JUNE14_2007H / results2TENT/stats.JUNE14_2007H + tlrc ../JUNE15_2007A/results2TENT/stats.JUNE15_2007A + tlrc
Was will ich tun, ist die Stelle des "stats.J * + tlrc" mit "displayBriks". Ich bin mit der Verwendung der: s / Befehl zum Suchen und Ersetzen von mehreren identischen Worten, bin aber nicht sicher, wie das geht, für einen regulären Ausdruck in
vi. Eine Idee, wo ich anfangen soll?
Danke,
Jahn -