Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

using sed

Name: Anonymous 2010-06-03 20:08

I'm trying to use sed to append "/0.0.0.0" to the end of each line in a file

sed -i 's;$;/0.0.0.0;g' file.txt

problem is most of the time, "/0.0.0.0" is made as a new line after the existing ones, instead of being appended to the ends of the lines

so instead of:
text/0.0.0.0

I get:
text
/0.0.0.0

Name: Anonymous 2010-06-04 6:55

>>40
In well-written tools, yes. That and info.

Name: Anonymous 2010-06-04 6:59

's_\(.*\).$_\1/0.0.0.0_'

Name: Anonymous 2010-06-04 7:02

Hello, My name is XARN and I'm an expert user of full-width characters

Name: Anonymous 2010-06-04 7:04

>>40
there's a book called SICP. read it.

Name: Anonymous 2010-06-04 7:18

????????????????????, ???????? ???????????????? ???????? ???????????????????????? ???????????? ????????????????

Name: Anonymous 2010-06-04 7:59

Hilarious.

Name: Anonymous 2010-06-04 10:24

>>37
Your analogy is broken, anyway, because the documentation is there and it's great.

>>43
Forgot full-width spaces.

Name: Anonymous 2010-06-04 14:06

>>45
What in the penis lickers! This text shows up as all blocks for me.

Name: Anonymous 2010-06-04 14:28

>>48
Install Linux then.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List