What is the difference between tr and sed?

Lò Ngọc

New member
What is the difference between tr and sed?
Answer
tr works on characters (changes or deletes them).
sed works on lines (modifies words or other parts of lines, or inserts or deletes lines).
 

Tìm kiếm

Back
Top