📄 intersection.pl
字号:
#!/usr/bin/perl# Bonus script to print the intersection of two word lists to standard output# (c) Gareth Moore 2002open(IN, "60k_wlist");while (<IN>){ $list{$_} = "1"; }close(IN);open(IN, "5k_unk.wlist");while (<IN>){ if ($list{$_} eq "1") {print;}}close(IN);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -