Advertisement
Guest User

Untitled

a guest
Jan 18th, 2022
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. column 1 = gawk
  2. column 2 = mawk
  3. column 3 = original-awk
  4.  
  5.  
  6. PARAMETER: (that is: the string was passed as a $'...' string to the function, which in turned was printf '%s' piped into *awk.)
  7. **********
  8. '': 0 0 0
  9. \n: 1 1 1
  10. \n\n: 2 2 2
  11. \n\n\n: 3 3 3
  12. \n\x00\n\n: 1 1 1
  13. a: 0 0 0
  14. a\n: 1 0 0
  15. a\n\n: 2 1 1
  16. \na\n\n: 2 1 1
  17. a\n\nb\n: 1 0 0
  18. a\n\n\x00\n: 2 1 1
  19.  
  20.  
  21. STDIN: (that is: the string was directly printf '%s' piped to the function which it it was read from *awk.)
  22. ******
  23. '': 0 0 0
  24. \n: 1 1 1
  25. \n\n: 2 2 2
  26. \n\n\n: 3 3 3
  27. \n\x00\n\n: 2 1 3
  28. a: 0 0 0
  29. a\n: 1 0 0
  30. a\n\n: 2 1 1
  31. \na\n\n: 2 1 1
  32. a\n\nb\n: 1 0 0
  33. a\n\n\x00\n: 1 0 2
  34.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement