Wednesday, August 30, 2017

select records based on a list of indexies



BEGIN{
  FS="|"
  OFS="|"

  while ((getline < ("common_LoanNumber.pip")) > 0) {
  id[$1]=$1;
  }
}

{
  appid = $1;
  if(appid in id) {print $0;}

}

No comments:

Post a Comment

Any comments?

my-alpine and docker-compose.yml

 ``` version: '1' services:     man:       build: .       image: my-alpine:latest   ```  Dockerfile: ``` FROM alpine:latest ENV PYTH...