diff --git a/参考答案 b/参考答案 new file mode 100644 index 0000000..63f208d --- /dev/null +++ b/参考答案 @@ -0,0 +1,4 @@ +第一题: +cat test.txt |sed -n 's/\([0-9]\+\)/,\1,/p' +第二题: +curl -s http://cip.cc|awk -F '/' '/URL/{print $4}' \ No newline at end of file