east-prompt-splitline.pl

来自「This a good VPN source」· PL 代码 · 共 23 行

PL
23
字号
#!/usr/bin/perl@klips_out=();while(<>) {  s/^((east|west|sunrise|sunset|road|nic|north|south|pole|park|beet|carrot):\~\#)/\1\n/;  s/\n ((east|west|sunrise|sunset|road|nic|north|south|pole|park|beet|carrot):\~\#)/\n\1\n/g;  if(/^\s*klips_debug:/) {    push(@klips_out, $_);  } elsif(/^\<\d\>(klips_debug:.*)/) {    push(@klips_out, "$1\n");  } elsif(/^\<\d\>.*/) {    next;  } else {    print;  }}foreach $klips (@klips_out) {  print $klips;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?