Jun 13, 2001 #1 fdebri Programmer Jun 12, 2001 1 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 May 4, 2000 142 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