Advertisement
s243a

dpkg_mappers/identity.awk (Draft #1)

Dec 27th, 2020
4,045
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Awk 0.32 KB | None | 0 0
  1. #!/usr/bin/gawk -f
  2. BEGIN{
  3.   if (length(shuffle_OFS)==0){
  4.     OFS="@@@@"
  5.   } else{
  6.     OFS=shuffle_OFS
  7.   }
  8.   if (length(shuffle_FS)==0){
  9.     FS="|"
  10.   } else {
  11.     FS=shuffle_FS
  12.   }  
  13.   #if (length(group_key)==0){
  14.   #  group_key=1
  15.   #}
  16.   #last_key=""
  17.   #mode="first"
  18. }
  19. {
  20.   if (length($1)>0){
  21.     print $0
  22.   }
  23. }
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement