Jun 13, 2001 #1 fdebri Programmer Joined Jun 12, 2001 Messages 1 Location IE Hello, Can anyone tell me how to search and replace low octal values(\000) that exist in a file, using AWK. (This is on Unix) Thanks in advance, fdebri
Hello, Can anyone tell me how to search and replace low octal values(\000) that exist in a file, using AWK. (This is on Unix) Thanks in advance, fdebri
Jun 13, 2001 #2 flogrr Programmer Joined May 4, 2000 Messages 142 Location US fdebri- Here is the basic global sub function: nawk '{gsub(/\000/,"nul"}' infile Change nul to what you need to sub to and try it. HTH flogrr flogr@yahoo.com Upvote 0 Downvote
fdebri- Here is the basic global sub function: nawk '{gsub(/\000/,"nul"}' infile Change nul to what you need to sub to and try it. HTH flogrr flogr@yahoo.com