vzex's recent timeline updates
vzex

vzex

V2EX member #56480, joined on 2014-02-21 12:17:06 +08:00
vzex's recent replies
ecb + ido-mode
Mar 7, 2014
Replied to a topic by webjin Linux 这个逻辑怎么用 bash 实现
grep -v "$ip" ip.txt > ip.txt 你这个txt变空的原因是,重定向,会把ip.txt清空,才执行grep
Mar 7, 2014
Replied to a topic by webjin Linux 这个逻辑怎么用 bash 实现
awk -F"." '{a[$4]="1"} END{for(i=1;i<=255;i++){if(a[i]!="1"){print "not used:192.168.0." i} else {print "used:192.168.0." i}} }' 1.txt
不需要ip.txt
tk做做小工具还可以,想加个皮肤,搞个复杂的控件都很折腾
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1242 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 17:05 · PVG 01:05 · LAX 10:05 · JFK 13:05
♥ Do have faith in what you're doing.