What s d diff between 'sed' and 'tr' command??
3 posters
What s d diff between 'sed' and 'tr' command??
Both 'sed' and 'tr' command transforms or replaces text right...though 'sed' s for stream editing i m not able to understand the difference...
can someone explain with an example??
can someone explain with an example??
Preethi- Posts : 10
Points : 8
Join date : 2010-02-26
Re: What s d diff between 'sed' and 'tr' command??
'tr' is specially for substitution and deletion of specified characters. 'sed' can be used for lot of things. 'sed' is called stream editor.
Re: What s d diff between 'sed' and 'tr' command??
sed,tr,awk,grep are all filters in Unix.tr is a simple filter when compared to sed.sed and awk are very powerful when compared to tr.Not just replacement, sed and awk provide other functions as well.This is my limited knowledge.
Maithreyi- Posts : 76
Points : 142
Join date : 2010-03-03
Age : 36
Location : Haldia
Preethi- Posts : 10
Points : 8
Join date : 2010-02-26
Similar topics
» diff bet ln and cp
» diff bet $ and # in unix
» CDUP COMMAND
» awk command doubt
» Cut command - problems
» diff bet $ and # in unix
» CDUP COMMAND
» awk command doubt
» Cut command - problems
Permissions in this forum:
You cannot reply to topics in this forum
|
|