What's Next

Friday, June 23, 2017

Several Tricks

1. Print .JSON file nicely by using python:
  
python -m json.tool my_json.json
 
2. Read how many words in a line:
 
echo "abc,def,ghi"  | tr ',' ' ' | wc  


Posted by Shuchu at 12:33 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Shuchu
View my complete profile

Blog Archive

  • ►  2024 (2)
    • ►  April (1)
    • ►  February (1)
  • ►  2020 (4)
    • ►  July (1)
    • ►  June (2)
    • ►  March (1)
  • ►  2019 (2)
    • ►  May (2)
  • ►  2018 (3)
    • ►  August (1)
    • ►  May (1)
    • ►  April (1)
  • ▼  2017 (3)
    • ►  August (2)
    • ▼  June (1)
      • Several Tricks
  • ►  2016 (1)
    • ►  January (1)
  • ►  2015 (4)
    • ►  February (3)
    • ►  January (1)
  • ►  2014 (18)
    • ►  December (1)
    • ►  August (4)
    • ►  July (2)
    • ►  June (1)
    • ►  April (4)
    • ►  March (2)
    • ►  February (1)
    • ►  January (3)
  • ►  2013 (12)
    • ►  December (1)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ►  June (2)
    • ►  May (1)
    • ►  April (4)
    • ►  February (1)
  • ►  2012 (18)
    • ►  December (1)
    • ►  November (3)
    • ►  October (2)
    • ►  September (1)
    • ►  August (1)
    • ►  July (5)
    • ►  June (4)
    • ►  May (1)
Simple theme. Powered by Blogger.