Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
fuss:awk [2018/01/02 01:24]
office [Merge Lines by Two in File]
fuss:awk [2018/01/02 01:47] (current)
office [Convert Key-Value Map to JSON]
Line 102: Line 102:
 where keys and values are trimmed for spaces and quotes from the start and end. where keys and values are trimmed for spaces and quotes from the start and end.
  
-One example application would be creating a JSON object out of the status of an APC UPS:+[[iot/​openhab2/​templates/​apc_ups|One example application]] would be creating a JSON object out of the status of an APC UPS:
 <code bash> <code bash>
 apcaccess | awk -F: ' apcaccess | awk -F: '
Line 122: Line 122:
 ' '
 </​code>​ </​code>​
- 
  

fuss/awk.txt ยท Last modified: 2018/01/02 01:47 by office

Access website using Tor Access website using i2p


For the copyright, license, warranty and privacy terms for the usage of this website please see the license, privacy and plagiarism pages.