Giter VIP home page Giter VIP logo

vim's Introduction

vim

cat ID_card.table | awk -F"," '{print $4 $6,$9}'

awk 'NR==FNR{a[$3]=$0;next}NR>FNR{if($3 in a)print $0"\n"a[$1]}' number.txt table.txt

awk 'NR==FNR{a[$3]=$3;next}NR>FNR{if($3 in a)print $2" "$1 a[$1]}' number.txt table.txt

awk 'NR==FNR{a[$3]=$3;next}NR>FNR{if($3 in a)print $2{-F"." '{print $1}'}a[$1]}' number.txt table.txt

awk 'NR==FNR{a[$3]=$3;next}NR>FNR{if($3 in a)print $2| awk -F"," '{print $1}'" "$1 a[$1]}' number.txt table.txt

cat name_train_list.txt | awk '{print $1"\t"$2}' > name_train_list.txt.1

awk 'NR==FNR {a[$1]=$2; next} a[$1]' data.txt ID_third90.txt | head

cat ocr_name_data.txt |awk -F "_" '{print $NF}' |awk -F "." '{print $1}' awk 'NR==FNR{a[NR]=$0;nr=NR;}NR>FNR{print a[NR-nr]"\t"$0}' ocr_name_data.txt ocr_name_data.txt2 >ttt.txt

ssh [email protected]

ls -l |grep "^-"|wc -l ls -lR|grep "^d"|wc -l

Vim 删除不包含指定字符串的行:

:g/xxx/d,删除包含xxx的行

:v/xxx/d,删除不含xxx的行

:%s/xxx//gn,统计xxx个数,n表示只报告匹配的个数而不进行实际的替换。

:g/吖/d 剔除字符库没有的字:蝈、逯、囡,谌,吖,咩,哚,啵,蝌,蚪,烊, 霈,庹,洵,唰,嫒,芤

docker ps -a | grep "Exited" | awk '{print $1 }'|xargs docker stop docker ps -a | grep "Exited" | awk '{print $1 }'|xargs docker rm sudo docker ps -a | grep Exited | awk '{print $1}' | xargs -i sudo docker rm -f {} sudo docker images|grep none|awk '{print $3}'| sudo xargs docker rmi

vim's People

Contributors

kellycvcv avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.