Choutreeman
V2EX  ›  问与答

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

  •  
  •   Choutreeman · Aug 30, 2013 · 2730 views
    This topic created in 4737 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   ·   Solana   ·   2746 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 15:26 · PVG 23:26 · LAX 08:26 · JFK 11:26
    ♥ Do have faith in what you're doing.