[Solved] Suppress do you wish to overwrite (y or n)?
Hi all,
as i have to deal every day with .log and also .csv files,
i would like to know if there is any way to suppress "do you wish to overwrite (y or n)?" prompt with the option no for all prompts,
the command i usually run is the following,
i know the option
of
, but to do that it will be neccesary to first list all files and then use
what i wanted to is to implement the option suppress no on the promts.
Last edited by charli1; 10-31-2013 at 09:31 AM..
Reason: Moved thread; not an "expert" issue
Hello everyone,
Sorry if this is a bit of an RTM thing, but I can't find any flags for suppressing warnings with awk and Googling (this site too) didn't yield much useful. Does anyone know how to suppress warnings?
The warning I'm specifically trying to remove is one warning me that I'm... (1 Reply)
hey i have piece of code working in solaris and same code i want to deploy it in linux but in solaris its not asking for queris but in linux it is !!!!
COMMAND ==>
unzip $test/alter.war -d $webclientHome/.
OUTPUT==>
In solaris it proceeds with following traces
replace /aa/test.txt?... (4 Replies)
Hi Guys,
I am calling a function from my script.
The function has to return only one value which is the year.
But in the function, i am having connecting statement to the database. The connection information is coming along with the year variable.
I want to suppress the connecting... (1 Reply)
I have to stop the output of dd from writing to terminal. Here is the command:
sudo dd if=boot1h of="/dev/r$temp1"
Here is the output:
2+0 records in
2+0 records out
1024 bytes transferred in 0.000804 secs (1273715 bytes/sec)
I have tried >> log.txt but it doesn't work. Is there... (4 Replies)
Hi All,
I just wanted to know, is there a way to suppress the output of the following i.e. the output should not be written on the screen:
ping 10.1.23.234 -n 1
PING 10.1.23.234: 64 byte packets
64 bytes from 10.1.23.234: icmp_seq=0. time=0. ms
----10.1.23.234 PING Statistics----
1... (2 Replies)
Hi,
I have a script which append the .csv file which already exist but in my scenarion every time instead of appending the contect it overwrite the file and creating new .csv file.
SET ORAUSR=ops$371664
SET ORAPWD=Oracle12345
SET ORADB=orcl
SET DBCON=%ORAUSR%/%ORAPWD%@%ORADB%
sqlplus... (1 Reply)
ci filename
This command displays a message. I don't want it to. How can I keep RCS from doing so? (5 Replies)
Discussion started by: robin_simple
5 Replies
LEARN ABOUT MOJAVE
copywin
curs_overlay(3X)curs_overlay(3X)NAME
overlay, overwrite, copywin - overlay and manipulate overlapped curses windows
SYNOPSIS
#include <curses.h>
int overlay(const WINDOW *srcwin, WINDOW *dstwin);
int overwrite(const WINDOW *srcwin, WINDOW *dstwin);
int copywin(const WINDOW *srcwin, WINDOW *dstwin, int sminrow,
int smincol, int dminrow, int dmincol, int dmaxrow,
int dmaxcol, int overlay);
DESCRIPTION
The overlay and overwrite routines overlay srcwin on top of dstwin. scrwin and dstwin are not required to be the same size; only text
where the two windows overlap is copied. The difference is that overlay is non-destructive (blanks are not copied) whereas overwrite is
destructive.
The copywin routine provides a finer granularity of control over the overlay and overwrite routines. Like in the prefresh routine, a rec-
tangle is specified in the destination window, (dminrow, dmincol) and (dmaxrow, dmaxcol), and the upper-left-corner coordinates of the
source window, (sminrow, smincol). If the argument overlay is true, then copying is non-destructive, as in overlay.
RETURN VALUE
Routines that return an integer return ERR upon failure, and OK (SVr4 only specifies "an integer value other than ERR") upon successful
completion.
X/Open defines no error conditions. In this implementation, copywin, overlay and overwrite return an error if either of the window point-
ers are null, or if some part of the window would be placed off-screen.
NOTES
Note that overlay and overwrite may be macros.
PORTABILITY
The XSI Curses standard, Issue 4 describes these functions (adding the const qualifiers). It further specifies their behavior in the pres-
ence of characters with multibyte renditions (not yet supported in this implementation).
SEE ALSO curses(3X), curs_pad(3X), curs_refresh(3X)curs_overlay(3X)