Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
newline character
Name: John Mancuso Date: April 5, 2002 at 10:47:03 Pacific
Comment:
First off I am new to Solaris but not linux,UNIX, etc. When I download the apache source code to compile it there are ^M characters at the end of every line of every text based file. I know the whole deal about UNIX(\n) vs windows(\r\n) newline characters and I also know about sed,perl and unix2dos. I have never had this problem in linux before. I have no problem filtering one file, but when you extract a huge tarbal or zip file I don't have the time to filter all 1000 or so files. Is this normal in Solaris?
Summary: "tr" is the command you need! It translates one set of characters to another. Do it like this: cat file_to_translate | tr "\[\]" "\(\)" > output_file (Be sure "output_file" is a different name than ...
Summary: I have 10,000 + very large xml docs (~.5m to 1m each) which contain a handful of occurrences of the character represented by hex 92 (looks like a single back-quote or something). I don't have perl on ...
Summary: Hello. I encountered a problem while trying to substitute a character using :s/a/b/ c-shell command. Below is a part of the program. I wanted the '+' to be replaced by '*'. foreach sta ($MANIP_sta1) ...