03-26-2010
Still no analyse...
hints:
1)Your command reads arguments no?
You will need to be able to parse them and see one by one if they are directories...
if no argument are passed, I suppose you will have to display a "usage "message that you will do in all cases for all errors...
2)If we agree on what is to be copied, this part isnt the difficult one...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi everybody in the forum,
I want to create an empty file of say some 1MB ,i mean at the command line itself.How is this possible??????EEK! (4 Replies)
Discussion started by: vijaya2006
4 Replies
2. OS X (Apple)
Does any1 know how to preform such an operation on a mac?
any help appreciated (2 Replies)
Discussion started by: cleansing_flame
2 Replies
3. UNIX for Dummies Questions & Answers
hey, I'm trying to create the command that will create a file named user.txt that contains the output of the command cut -d: -f1,5 /etc/passwd, and displays itself afterwards.
I don't know how to bridge cat > user.txt with cut -d: -f1,5 /etc/passwd, or how display it afterwards. Any help would... (2 Replies)
Discussion started by: raidkridley
2 Replies
4. Solaris
Hi,
I would like to develop a man page as the one we usually get when we execute man <command name>. This man page will be for a samll utility that i have written.
If this is not possible then what are the available possibilites for creating such help.
thanks in advance. (2 Replies)
Discussion started by: raghu.amilineni
2 Replies
5. Shell Programming and Scripting
Hi all. Suppose I have the following function in an executable file named "HOLA":
------------------------
function hola { echo "Hola ${@}."; }
------------------------
In addition, suppose that I want to execute the file so I can input my name next to ./HOLA. I mean,... (4 Replies)
Discussion started by: hresquivelo
4 Replies
6. UNIX for Dummies Questions & Answers
How do you write a command line that displays the number of files in the working directory with names that end with the letter S? Thanks
---------- Post updated at 09:34 PM ---------- Previous update was at 09:33 PM ----------
for unix sorry (1 Reply)
Discussion started by: jorogon0099
1 Replies
7. UNIX for Dummies Questions & Answers
Hello ,
I am newbie to UNIX platform .
I have read that there are two ways of creating files that is using
1.) Cat 2.) touch .
With Cat Command i am unable to create a File , i is saying No file or Directory exists
I logged in with root as user .
please help (7 Replies)
Discussion started by: Ravi Pavanv
7 Replies
8. Shell Programming and Scripting
Hello senior members,
I am a fairly newbie here. I just want to ask one question that how can once create one's own command interpreter/ shell like bash in unix/linux.
I need to execute basic commands like pipes and i/o.
Any help in this matter ?? (3 Replies)
Discussion started by: duma188
3 Replies
9. Shell Programming and Scripting
Currently using the below script to being all compressed files .gz files from source folder and appending to the target txt file uncompressed.
Teh target txt file is getting too large in size, right now the size of the target txt file is almost 350GB
hadoop fs -text... (3 Replies)
Discussion started by: cplusplus1
3 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
I am having command to run which will take argument as input file. Right now we are creating the input file by cat and executing the command
ftptransfer -i input file
cat >input file
file1
file2
cntrl +d
Is there a way I can do that in a single command like
... (1 Reply)
Discussion started by: arunkumar_mca
1 Replies
LEARN ABOUT ULTRIX
xgetzoomhints
XSetZoomHints(3X11) XSetZoomHints(3X11)
Name
XSetZoomHints, XGetZoomHints - set or get zoom state hints
Syntax
XSetZoomHints(display, w, zhints)
Display *display;
Window w;
XSizeHints *zhints;
Status XGetZoomHints(display, w, zhints_return)
Display *display;
Window w;
XSizeHints *zhints_return;
Arguments
display Specifies the connection to the X server.
w Specifies the window.
zhints Specifies a pointer to the zoom hints.
zhints_return
Returns the zoom hints.
Description
Many window managers think of windows in one of three states: iconic, normal, or zoomed. The function provides the window manager with
information for the window in the zoomed state.
can generate and errors.
The function returns the size hints for a window in its zoomed state. It returns a nonzero status if it succeeds or zero if the applica-
tion specified no zoom size hints for this window.
can generate a error.
Property
WM_ZOOM_HINTS
Diagnostics
The server failed to allocate the requested resource or server memory.
A value for a Window argument does not name a defined Window.
See Also
XSetClassHint(3X11), XSetCommand(3X11), XSetIconName(3X11), XSetIconSizeHints(3X11), XSetNormalHints(3X11), XSetSizeHints(3X11), XSetStan-
dardProperties(3X11), XSetTransientForHint(3X11), XSetWMHints(3X11), XStoreName(3X11)
Guide to the Xlib Library
XSetZoomHints(3X11)