我正在尝试将ed
命令与正则表达式一起使用
参与者.txt
#Team:Volgnummer:Nationaliteit:Auto:Klasse
DECONINCK Nico - DECONNINCK Gregory:0:B/B:OPEL Kadett:1A
DECONINCK Harry - Verhelst Jos:1:B/B:OPEL Kadett:1A
DEBRUYNE Jurgen - DERIEMAEKER Jolien :2:B/B :LADA Samara :1A
ROMMELAERE Michel - DEVOS Ingrid :3:B/B :TOYOTA Corolla :1A
DIERCKX Guy - NIETVELT Werner :4:B/B :TOYOTA Corolla :1A
HAMIAUX Bjorn -:5:B/ :HONDA Civic :1A
VAN GRASDORFF David - BRAEM Theo :6:B/B :HONDA Civic :1A
如果我运行ed -s participants.txt
in bash shell,则为 ex 键入正则表达式^D.*A$
。我有?
我的表情有什么问题。