Welcome
|
FAQ
|
Downloads
|
Wiki
Tiny Core Linux
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Community gatherings on Freenode at
#tinycorelinux
(
webchat
)
Home
Help
Login
Register
Tiny Core Linux
»
Tiny Core Base
»
TCB Tips & Tricks
»
Sed one-liners
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Sed one-liners (Read 9623 times)
curaga
Administrator
Hero Member
Posts: 11041
Sed one-liners
«
on:
May 08, 2010, 10:13:06 AM »
Well, I didn't know of this collection before.
Very useful.
http://sed.sourceforge.net/sed1line.txt
Logged
The only barriers that can stop you are the ones you create yourself.
maro
Hero Member
Posts: 1228
Re: Sed one-liners
«
Reply #1 on:
May 08, 2010, 06:15:50 PM »
Indeed that is a very valuable resource from the "good old times".
There is an awful lot what can be done with SED. I have to admit that I tend to try to resolve a problem first with SED before considering other tools like AWK (or PERL).
Some additional useful links (e.g. FAQ, etc.) can be found here:
http://sed.sourceforge.net/grabbag/tutorials/
Logged
SunBurnt
Full Member
Posts: 102
Re: Sed one-liners
«
Reply #2 on:
August 09, 2011, 02:14:08 PM »
I`ve used that file of examples for almost 5 years now! It`s excellent.!
Sed is just about the most commonly used Bash command, more than grep.
Logged
Jason W
Retired Admins
Hero Member
Posts: 9730
Re: Sed one-liners
«
Reply #3 on:
August 09, 2011, 02:49:24 PM »
That "one liners" page has long been my reference for sed when I needed a sed function beyond the usual "sed -i 's:this:that:g' filename", I couldn't have gotten along
without it.
Logged
brad
Newbie
Posts: 3
Re: Sed one-liners
«
Reply #4 on:
August 11, 2011, 12:16:15 AM »
Curaga. Thanks for this link! Never felt like I had a good grasp on sed. This will help!
A resourse that i fall back on is "the advanced bash scripting guide". Typeing on my phone right now but a google search should get you to it.
Logged
pxk
Newbie
Posts: 1
Re: Sed one-liners
«
Reply #5 on:
August 22, 2011, 02:52:45 AM »
Very useful link, thanks.
I use sed as well as cut and tr whenever tweaking measurement data files into a more friendly format.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Tiny Core Linux
»
Tiny Core Base
»
TCB Tips & Tricks
»
Sed one-liners