Choutreeman
V2EX  ›  问与答

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

  •  
  •   Choutreeman · Aug 30, 2013 · 2729 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   ·   4733 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 05:39 · PVG 13:39 · LAX 22:39 · JFK 01:39
    ♥ Do have faith in what you're doing.