Choutreeman
V2EX  ›  问与答

Bash格式化输出一个ip地址应该用啥?

  •  
  •   Choutreeman · Aug 30, 2013 · 2831 views
    This topic created in 4830 days ago, the information mentioned may be changed or developed.
    2 replies  •  1970-01-01 08:00:00 +08:00
    megaforce
    megaforce
    Aug 30, 2013
    1
    用 printf 吗?
    Choutreeman
    Choutreeman
    OP
    Aug 30, 2013
    2
    @megaforce 也可以,我是要用awk写成一个json格式的,printf应该怎么写?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2230 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 10:54 · PVG 18:54 · LAX 02:54 · JFK 05:54
    ♥ Do have faith in what you're doing.