Summary: How can I search for a string that wraps on to the next line and then replace the carriage return with nothing so that the line no longer wraps on to ...
Summary: Is there a way to use the substitute command in vi to insert carriage returns? I'm looking at a line of data like this: DATA1 DATA2 DATA3 DATA4 DATA5...
Summary: I have a file which has carriage returns at different positions at different lines: 47, 48, 45, etc. I would like to have all of them aligned at posit...
Summary: I'm using CYGWIN (unix) on WIN200 and want to delete linefeed/carriage return character that appears in the middle of each record as a result of using...
Summary: Sometimes these characters are placed in a file during a DOS to UNIX conversion (these characters can only be viewed using an editor such as vi editor...
Summary: I am printing from a UNIX svr4 system to a network connected printer. Files will print, but there are no carriage returns or line feeds so the lines ...
Summary: I am assuming by "print" you mean "echo" ?? However, the rule would be the same for print -- see commented out line below. The IFS sets the "input fi...
Summary: I am using a ksh script to parse/analyze some text files - files that have records that are over multiple lines. I have used sed and awk in the past; ...
Summary: I like Dlonra's version. If you want to run the script on Windows systems (where you have the file names with spaces in them), change the IFS to a ca...
Summary: No, problem; first, beware that I edited my original post as I had left an extra, incorrect line. Second, You don't say what your environment is, but...
Summary: as this is the unix forum, on *nix the following will do the job: sed 's/./&\ /g' file|sort -f|uniq -ci a carriage-return/enter follows &\ ...
Summary: Your original script would have been okay, except that the variable IFS was not set to carriage-return. The default is SPACE so consequently... A B C ...
Summary: Hi I have a flat text file, which is basically a list of names and addresses. I wish to use this file in a mail merge. However Microsoft, in it's wisd...
Summary: Binary to ascii is not really defined. If you are talking about 2-byte unicode, there may be a special tool reading that. If you are talking about mov...
Summary: The \c tells echo to suppress the carriage return. This allows the user to enter the data on the same line as the prompt. But it is not required. ec...
Summary: I'm trying to ftp some files off our AIX 4.3.3.0 server and i'm having some problems. If i ftp as root, everything goes fine but try as any other user...
Summary: Thanks for your help. Late last night I stumbled upon someone's script, tried it, and it worked. Success by imitation. It is in two steps: s/.*,1,/en...
Summary: the .$ will remove the last character from each line.In your case,the last character will be the linefeed which will be removed by the sed command.In ...
Summary: If the field count is unimportant but you just want to deal with the values of each field, the tr command could be used to translate commas to carriag...
Summary: Depends a bit on how you transferred the script from Unix to e-mail (e.g. Windows or Unix mail?) However the worst that could happen would be that eac...
Summary: Hi: The "unmatched single quote" error doesn't make much sense since there's no single quotes in the find command I've posted. Two issues: 1) Are you...
Summary: Using korn shell, if a user enters a carriage return at a propmt, how do you check for that using a case statement?? For example: "please enter your m...
Summary: Hi, I need a script to remove carriage returns that occur at the 84th character space The files are DOS formatted at the moment. Can anyone help? Than...