Pb commande externe \r


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Pb commande externe \r
# 8  
Old 11-10-2010
Cygwin, with bash3.2$

(working under a XP progessional widows, but I'm not sure it's relevant)
# 9  
Old 11-10-2010
Code:
tr -d '\r' < f_mkdir.sh > f_mkdir_2.sh

This User Gave Thanks to vgersh99 For This Post:
# 10  
Old 11-10-2010
Thank you ! Smilie

(I'm sorry, I have'nt been able to connect to thank you before, but thanks !)
 
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sum two numbers on a grep commande with the parameter -n

Hello, I want to know how i can sum two numbers in a grep command with the parameter -n. this code return line number and the line who have the "pattern" : *\).*/\1/p') ] but now i want to suw *\).*/\1/p')] with 1 to have the next line: *\).*/\1/p')] + 1 : it can't work. Thanks you (4 Replies)
Discussion started by: samara80
4 Replies

2. AIX

commande mailx : spaces in the title

Hello ! I use mailx to send emails. I use it like that mailx -s $titleMail $mailAdr < BODY_MAIL.txt The problem , is if i have some spaces in the variable titleMail it is considered by the command mailx like other mail adress to send the mail. Anyone would have a suggestion... (1 Reply)
Discussion started by: comboDev
1 Replies

3. Shell Programming and Scripting

cree a variable from a commande result

Hi everybody I m looking the put the result of a commande to a Variable i explain here is my command: cat sortie | grep "^"| awk '{ print $1}' 15 sortie is a text file I want to put the result of command in a variable X and the end i would like echo $X 15 (3 Replies)
Discussion started by: kykyboss
3 Replies
Login or Register to Ask a Question