I downloaded hg19_knownGene.txt from annovar database, and want to convert it to gtf or bed format. I have tried to google the solution and found that UCSC offered a tool called predToGtf that can do this. However, this tool does not run on my mac. I wonder if there's any alternative.
It would help if you could edit your question to include a few lines of the file that you want to convert.