Whi I'm getting control-M's


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Whi I'm getting control-M's
# 8  
Old 06-26-2007
padpa, do not create multiple threads for a single problem/topic. This is against the forum rules. I have merged the thread from the AIX forum into this one.

As for your query on how to use dos2unix, you can take a look at the man page. A simple way is like this:

dos2unix somefile somefile

This will run dos2unix on the file named somefile and store the results in a file with the same name. Some versions of dos2unix do not support this syntax and will require that the output be redirected to another file and then the file to be copied back.
# 9  
Old 06-26-2007
Hi,

I'm sorry for creating multiple threads...as I saw AIX section is for some interesting topics on AIX I thought to remove the thread from this and so i put the question in general questions...

coming to the question i didn't find any utlity like dos2unix or dos2ux..still I'm searching for the solution
# 10  
Old 06-26-2007
Maybe try dos2aix
# 11  
Old 06-26-2007
Power

Even dos2aix didn't work Smilie
# 12  
Old 06-26-2007
Quote:
Originally Posted by padpa
Even dos2aix didn't work Smilie
I checked with an AIX guy on my site and it seems that dos2aix isn't installed by default... You will either have to install it, or make do with this:
Code:
tr -d '\015' < inputfile > outputfile; mv outputfile inputfile

# 13  
Old 06-26-2007
I have installed bos.dosutil package...but still not able to find that dos2aix command.I think the command is dosread or doswrite
# 14  
Old 06-26-2007
Try this:
Code:
sed 's/.$//' old_file > new_file

 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Error control

I have the following bashwhile read -r line; do dcs_dportal_utl get all for $line >>file.txt if CONTROL=$(date +"%d%m%Y_%H%M%S") echo -e $line 'Created_'$control >> control.txt done < list.txt sed '/^$/d' file.txt>list_jac.txt echo '------------------ DONE' >> control.txt this... (7 Replies)
Discussion started by: viviblue1
7 Replies

2. Shell Programming and Scripting

Job Control

Using a named pipe. Run a find in the background starting in the working directory While this is happening wait for input from the user to ask him which file to find. If the user does not enter any data in 10 seconds ask the user again. Then see if the requested file name is found from the output... (0 Replies)
Discussion started by: kattak1511
0 Replies

3. Shell Programming and Scripting

Control Characters

Can somebody please help me with the query. ? I want a part of program of which should look for control characters in the flat file , when it finds it, displaying message that Control Characters found..! Please help me (13 Replies)
Discussion started by: iamnoone
13 Replies

4. Shell Programming and Scripting

control variables...

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

5. Shell Programming and Scripting

for loop control

Hi, I have taken a piece of code from a book, which is working as per the specification. The code.... for entry in * do if then echo $entry fi done The sub-directories present in the current directory will be displayed while executing. ... (3 Replies)
Discussion started by: saravanakumar
3 Replies

6. UNIX for Advanced & Expert Users

New to Control-M

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

7. UNIX for Advanced & Expert Users

control the process

I found that in my system , there are some strange process , it will make the system crash so I would like to control the system no such process is running , this is if the system process that its process name is "ora" AND its ppid is not "2" , then it will crash the system, can suggest how to... (2 Replies)
Discussion started by: ust
2 Replies

8. Linux

Control Panels

I'm running Linux FC 3. I'm still pretty green with the admin and am looking for solutions for control panels like cPanel and webmin. Any other freebies out there like Webmin? Thanks in advance! (1 Reply)
Discussion started by: frawsty
1 Replies
Login or Register to Ask a Question