提取IP地址具有其內容如下的配置文件:我如何從一個url
db.path=/home/kpmg/test/dbfiles/dbone.db
db.connection.timeout=500000
server.url=http://a.b.c.d:8033/plain/httpds?
output.file.path=/home/kpmg/test/dbfiles/
log.file.path=/home/kpmg/test/dbfiles/
log.level=DEBUG
我需要從server.url
線只提取IP地址。我通過閱讀示例和文檔嘗試使用了幾個awk命令,但無法做到正確。與awk
感謝這個!有用!再次感謝! – Anirudh