[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Forum moderator: shanky, Piyu, Resh  
Forum » Open System-Linux » Linux System questionare » Help needed on sed command (Help needed on sed command)
Help needed on sed command
dddDate: Friday, 2014-12-26, 8:22 PM | Message # 1
Private
Group: Users
Messages: 2
Awards: 0
Reputation: 0
Status: Offline
Hello ,
Please let  me know for these:
$sed's/.$//' filename
$ sed -n '1!G;h;$p' thegeekstuff.txt
$ sed '/./=' thegeekstuff.txt | sed 'N; s/\n/ /'
 
Also, there is one more command here:
Execute commands on files found by the find command

$ find -iname "MyCProgram.c" -exec md5sum {} \;
Let’s discuss on this please..
 
shankyDate: Friday, 2014-12-26, 8:26 PM | Message # 2
Lieutenant
Group: Administrators
Messages: 46
Awards: 0
Reputation: 104
Status: Offline
The user has been answered on above query on the sed article.
Please see at the bottom of this article :
 
http://www.shankysportal.com/index/sed_a_streaming_editor/0-23


s.k.bhagat
 
Forum » Open System-Linux » Linux System questionare » Help needed on sed command (Help needed on sed command)
  • Page 1 of 1
  • 1
Search: