Process text line by line with patterns and actions.
47 commands
SMALL REFERENCE. USEFUL DETAILS.Encode data as base32 text, or decode it back.
Encode data as text, or decode it back.
Encode or decode data with several base-N encodings.
Show files with syntax highlighting, line numbers and paging.
Print files, or standard input, one after another.
Compare two sorted files and show lines unique to each or shared.
Cut a file into pieces at lines that match a pattern or a line number.
Select columns or character ranges from each line.
Show the differences between two files or two folders.
Compare three files and show where they differ.
Print text followed by a newline.
Convert tabs to spaces.
Reflow paragraphs of text to a chosen line width.
Wrap long lines to a fixed width.
Find lines of text that match a pattern.
Print the first lines or bytes of files.
Combine lines of two sorted files that share a key.
Read and transform JSON on the command line.
Number the lines of a file.
Convert numbers to and from human-readable sizes such as 1.5K or 2M.
Join lines from several files side by side, or join one file's lines into one.
Apply a diff to files, to update them or to undo a change.
Format text for printing, in pages and columns.
Print text using a format string, with exact control over newlines and escapes.
Make a permuted index, listing each word with the text around it.
Search the files under a folder for a pattern, fast, ignoring what .gitignore ignores.
Find and replace text with regular expressions, in a simpler way than sed.
Compare two files side by side, or merge them interactively.
Transform text one line at a time using editing rules.
Print a sequence of numbers.
Shuffle lines into a random order, or pick random lines.
Sort lines of text.
Cut a file into pieces.
Print the lines of a file in reverse order.
Print the last lines or bytes of files, or follow a growing file.
Translate, squeeze, or delete characters from standard input.
Sort items so that each comes after the items it depends on.
Convert runs of spaces to tabs.
Report or omit repeated adjacent lines.
Edit text files in a terminal, with commands you type.
Count lines, words, and bytes.
Build and run commands from standard input.
Repeat a line of text forever, until the reader stops.
Search compressed files for a pattern without unpacking them.
Page through a compressed file.
View a compressed file one screen at a time, with the simple more pager.
No matching commands, guides or words yet. Try a shorter query or choose all implementations.