Re: cp without overwriting files but printing warning messages automatically?

2013-03-10 Thread Raphael S Carvalho
On Sun, Mar 10, 2013 at 1:58 AM, Peng Yu pengyu...@gmail.com wrote: Hi, -i can prompt warning messages. But I have to type n to avoid overwriting files. I found 'yes' to print 'y' repetitively. Is there something I can use to cp without overwrite files but with warning messages printed

Re: cp without overwriting files but printing warning messages automatically?

2013-03-10 Thread Peng Yu
On Sun, Mar 10, 2013 at 3:37 AM, Henrik Juul Pedersen henrikj...@gmail.com wrote: Hi Peng Yu, On Sun, Mar 10, 2013 at 5:58 AM, Peng Yu pengyu...@gmail.com wrote: Hi, -i can prompt warning messages. But I have to type n to avoid overwriting files. I found 'yes' to print 'y' repetitively. Is

Re: cp without overwriting files but printing warning messages automatically?

2013-03-10 Thread Peng Yu
On Sun, Mar 10, 2013 at 5:06 AM, CoreUtils subscribtion for PLC coreutils_at_gnu@montfranc.com wrote: yes can answer no :-D thus yes n | cp -i should do the job The warning messages are at the same line. Is there a way to make each warning message printed in a different line? mkdir -p c

Re: cp without overwriting files but printing warning messages automatically?

2013-03-10 Thread Peng Yu
On Sun, Mar 10, 2013 at 6:50 AM, CoreUtils subscribtion for PLC coreutils_at_gnu@montfranc.com wrote: sed 's/?/^n/g' or something like that ? This may not be robust when the filenames have the character '?'. -- Regards, Peng

Re: cp without overwriting files but printing warning messages automatically?

2013-03-10 Thread CoreUtils subscribtion for PLC
yes can answer no :-D thus yes n | cp -i should do the job 2013/3/10 Peng Yu pengyu...@gmail.com Hi, -i can prompt warning messages. But I have to type n to avoid overwriting files. I found 'yes' to print 'y' repetitively. Is there something I can use to cp without overwrite files but with

Re: cp without overwriting files but printing warning messages automatically?

2013-03-10 Thread Henrik Juul Pedersen
Hi Peng Yu, On Sun, Mar 10, 2013 at 5:58 AM, Peng Yu pengyu...@gmail.com wrote: Hi, -i can prompt warning messages. But I have to type n to avoid overwriting files. I found 'yes' to print 'y' repetitively. Is there something I can use to cp without overwrite files but with warning messages

Re: cp without overwriting files but printing warning messages automatically?

2013-03-10 Thread CoreUtils subscribtion for PLC
sed 's/?/^n/g' or something like that ? 2013/3/10 Peng Yu pengyu...@gmail.com On Sun, Mar 10, 2013 at 5:06 AM, CoreUtils subscribtion for PLC coreutils_at_gnu@montfranc.com wrote: yes can answer no :-D thus yes n | cp -i should do the job The warning messages are at the same line.

bug#13919: using echo to branch line

2013-03-10 Thread 王宾
-- hi, As we know: [polar@localhost my_shell]$ echo $PATH /usr/local/Trolltech/Qt-4.7.4/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/polar/bin:/sbin [polar@localhost my_shell]$ when i use [polar@localhost my_shell]$ echo ${PATH//:/'\n'} -e to

bug#13911: make check errors for coreutils-8.21 on Solaris 10

2013-03-10 Thread Bernhard Voelker
On 03/09/2013 03:15 PM, Marc Girod wrote: Hi Marc, thanks for reporting the test failures. FAIL: tests/tail-2/F-vs-missing.sh (exit: 1) This one is a failure during the cleanup after the actual test ... + cleanup_ + : + cd /proj/vobadm100/tmp/coreutils-8.21 + chmod -R u+rwx

bug#13919: using echo to branch line

2013-03-10 Thread Pádraig Brady
tag 13919 notabug close 13919 stop On 03/10/2013 12:44 PM, 王宾 wrote: -- hi, As we know: [polar@localhost my_shell]$ echo $PATH /usr/local/Trolltech/Qt-4.7.4/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/polar/bin:/sbin [polar@localhost