我有这样的字符串:
Grades ABCDEF-123456
我想把这个字符串分成两部分,如下所示
Grades ABCDEF Grades 123456
我怎样才能在 bash 中做到这一点?
bash sed awk perl
awk ×1
bash ×1
perl ×1
sed ×1