跳至主要内容

curl: get counret full name by code

curl http://api.worldbank.org/v2/country/$country?format=json | grep -o '\"name\":\"[a-zA-Z, .]*\"' | awk -F: '{print $2}'|sed 's/\"/ /g'

评论

此博客中的热门博文

源码编译LLVM

  cmake -S llvm -B build -G "Unix Makefiles" -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind;compiler-rt;libc;openmp" -DCMAKE_BUILD_TYPE=Release   cd build/   make -j8