I'm attempting to pipe the output of the afl command into a text file:

afl > /home/-----/Desktop/RE/function_list.txt

It pipes the contents into the file but the save the contents are unintelligible:

0x0021d3b0    1 12  

How do I pipe into file in a readable format?

  • what version of r2 are you using? I couldn't reproduce on radare2 version 3.3 using the following command: r2 /bin/ls -qc"aa; afl > functions.txt". Anyway, you can try e scr.html=false to disable HTML characters, but it should be disabled by default. Please make sure you run the latest version of radare2 – Megabeets Jan 12 at 14:15
  • I'm running version 3.1 e scr.html=false did not work. – ReagleEagle Jan 12 at 14:53
  • Try v3.3 please and let us know – Megabeets Jan 12 at 14:59
  • v3.3 isnt available on my distro only v3.2. – ReagleEagle Jan 12 at 15:21
  • @ReagleEagle build from source if possible – sudhackar Jan 13 at 16:11

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.