10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Everybody! First post! Totally noobie.
I'm using the terminal to read a poorly formatted book.
The text file contains, in the middle of paragraphs, hyphenation to split words that are supposed to be on multiple pages. It looks ve -- ry much like this.
I was hoping to use grep -v " -- "... (5 Replies)
Discussion started by: AxeHandle
5 Replies
2. UNIX for Dummies Questions & Answers
I've got a file where each line is separated by ^M characters. I want to be able to cat the file without those lines. When I cat the file now what I see are blank lines. However, the blank lines are actually ^M characters; when I open the file with vi they show up.
X38888
No
No
No... (7 Replies)
Discussion started by: newbie2010
7 Replies
3. Shell Programming and Scripting
Hi All,
In my output file i am getting control m character and also the line feeds at different places and with different combinations, the content of the file is supposed to be in a single line but if there is a line feed in between then from there onwards it's going into new line.
I tried... (7 Replies)
Discussion started by: Bipin Kumar
7 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I need to remove control m character from a file.
Steps which i am doing in shell script are:
1) We are comparing the header of the file to the database table header
Here the file header has control-m characters. How do i remove it.
Please help. Below are the steps i am using,... (12 Replies)
Discussion started by: abhi_123
12 Replies
5. Shell Programming and Scripting
I have developed a small script to remove the Control M characters that get embedded when we move any file from Windows to Unix. For some reason, its not working in all scenarios. Some times I still see the ^M not being removed. Is there anything missing in the script:
cd ${inputDir}... (7 Replies)
Discussion started by: vskr72
7 Replies
6. Shell Programming and Scripting
Hi.
I´ve a question to a running script:
i=0 #fill an Array with all files in a folder ending with .sys
for Par in *.sys ; do
Par2="$Par" ;
i=$((i... (1 Reply)
Discussion started by: Lock3
1 Replies
7. Shell Programming and Scripting
Hi,
I'm using MKS tool kit to execute KSH on windows and samba to move files to unix from windows.
My script is appending header record for the data file.
I'm using
echo "$header" > $SambaFilename
cat $windowsfile >> $SambaFilename
But after execution of script ,The file in Unix... (2 Replies)
Discussion started by: ammu
2 Replies
8. Shell Programming and Scripting
Hello,
What is the best way to control the running of scripts?
For example, i have a k1.ksh script java pgm that checks to make sure that the file counts in a particular directory are equal to a total file count value in a control file updated from my PC.
If i run this k1.ksh script and... (3 Replies)
Discussion started by: bobk544
3 Replies
9. UNIX for Advanced & Expert Users
Hi,
I am very new to Control-M . If anywone know about the global conditions in Control-M. (5 Replies)
Discussion started by: oraclenerd
5 Replies
10. Programming
What is the best method to identify an remove control characters in a file. Would it be easier to do this in Unix or in C. (0 Replies)
Discussion started by: oracle8
0 Replies