2009-07-11 16:28:35 +00:00
2009-07-11 13:41:51 +00:00
2009-07-11 16:15:18 +00:00
2009-07-11 13:09:01 +00:00
2009-07-11 10:54:29 +00:00
2009-07-11 13:41:51 +00:00

RED stands for the raw editor
============================= --pancake

red aims to be a minimalistic reimplementation of the radare shell
without much complexity and relaying all the extensibility to
external applications trying to keep the source as small as possible.

COMMANDS
========

? is for help   get help or evaluate numeric expression
x hexdump       hexdump
X dword dump    hexpair dump
> file          dump current block to file
< file          slurp file into current block
w "string\x00"  write string
w 023839400     write hexpairs
b 30            set block size
s addr          seek address
r [size|-rmv]   get filesize, truncate file to size, or -remove bytes
p [bwWdDqQiIF.] print formatted the current block
q               quit


WORK IN PROGRESS
================
print command
 b/w/d/q   byte, word, dword, qword (little endian)
 B/W/D/Q   byte, word, dword, qword (big endian)
 i/I/f/F   int32 (lil, big), float (lil, big)
 z/Z       zero-terminatted strings (ascii, widechar)
 ./:       skip 1 or 4 chars
 *         repeat last value until death

TODO:
=====
- support for escapped characters in string write and search ops
- Add support for simple math ops (+,-,*,/) no parenthesis plz :)

TODO/TOTHINK
============
- Remove '.' command? do it suckless
- Add .! command that runs !foo > file and then .file
- Support for multiple commands in a single line (';' separator)
S
Description
minimalistic commandline hexadecimal editor similar to radare
Readme MIT
228 KiB
0 Stars 1 Watchers 0 Forks
0.9
Latest
2026-11-07 06:20:13 -10:00
Languages
C 97.2%
Roff 1%
Shell 0.9%
Makefile 0.9%