I have an app on my mac that generates an html file. There are different versions of this file. When the file is generated, Folder Actions triggers a bash script that uploads the file to my web site. This version of the file is wacked. I need to identify this file so I can upload a replacement instead. This version can be identified by the presence of the word JazzKnob. Grep can't find this text. Sed doesn't work either. Neither does awk. How can I successfully identify this file?
Grep can't handle my file.
This version can be identified by the presence of the word JazzKnob. Grep can't find this text.
What exactly happens when you try?
Grep returns a not found status. I have created a proper html file to replace this one. Grep does just fine on this one. Grep seems to be choking on something in my file.
Is the file UTF-16 or something?
Post the file as text is likely to mask whatever problem is causing this error. Can you post the file again, but this time post a hex dump. xxd -p
is a good way to get that.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"