Choutreeman
V2EX  ›  问与答

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

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