10-22-2012
Thanks, I like your method
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I am a shell-script newbie and am looking to synchronize certain files in two directory structures.
Both these directory-trees are in CVS and so I dont want the CVS directory to be copied over.
I want only .sh and .pl files in each subdirectory under these directory trees to be... (3 Replies)
Discussion started by: sharpsharkrocks
3 Replies
2. Shell Programming and Scripting
I have to write a shell script which can delete all the files and directories recursively inside the specified directory but should not delete the specified directory.
Please some body help me in writing the script. (3 Replies)
Discussion started by: deepthi.s
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I need to concatenate data files with a .mp extension that are stored in directories by year. I want to keep the same filename as an output for example:
for the file name p030.mp, which resides in the following subdirectories:
/2000/p030.mp
/2001/p030.mp
/2002/p030.mp
I want to:... (4 Replies)
Discussion started by: cmshreve
4 Replies
4. Shell Programming and Scripting
I have a script which generates recursively some files in folders for a given root folder.
I have checks for permissions and it works for all folders except one(i have 777 permission on it). When i try calling the script in problematic folder(problematic folder being root folder), script works as... (2 Replies)
Discussion started by: bb2
2 Replies
5. Solaris
Display the number of files in a directory and recursively in each subdirectory
To look something like below, for example
/var 35
/var/tmp 56
/var/adm 46Any ideas how can we do this?
Got a sun cluser global mount point which takes ages to mount everytime, need to understand... (5 Replies)
Discussion started by: jakerock
5 Replies
6. Shell Programming and Scripting
I have a directory that is restricted and I cannot just copy the files need, but I can cat them and redirect them to a new directory. The files all have the date listed in them. If I perform a long listing and grep for the date (150620) I can redirect that output to a text file. Now I need to... (5 Replies)
Discussion started by: trigger467
5 Replies
7. UNIX for Dummies Questions & Answers
This should recursively walk through all dirictories and
search for a specified string in all present files, if found
output manicured content (eg some regex) with CAT into
a specified directory (eg /tmp/)
one by one, keeping the original names
This is what I have so far, which seems to... (1 Reply)
Discussion started by: lowmaster
1 Replies
8. Shell Programming and Scripting
I love the -newerct flag for the Cygwin find command on windows.
Can I use "/usr/bin/find . -newerct '3 hours ago'" to conditionally copy a directory tree so that only the files in the directory tree that are younger than 3 hours are copied to my destination directory such that the directory... (4 Replies)
Discussion started by: siegfried
4 Replies
9. Shell Programming and Scripting
Hi.
I found many scripts in the web of achieving this.
But I like to use this one
find /EDWH-DMT03 -xdev -size +10000 -exec ls -la {} \;|sort -n -k 5 > LARGE.rst
But the problem is, why it still list out files with 89 bytes as the output? Is there anything wrong with the command?
My... (7 Replies)
Discussion started by: aimy
7 Replies
10. Shell Programming and Scripting
I need to copy a complete directory structure into a new location. But I want to have all files copied into one directory and leave out the directory structure. So all files must be placed in one directory. (4 Replies)
Discussion started by: ReneVL
4 Replies
XOpenIM(3X) XLIB FUNCTIONS XOpenIM(3X)
NAME
XOpenIM - open input method information
SYNTAX
XIM XOpenIM(display, db, res_name, res_class)
Display *display;
XrmDatabase db;
char *res_name;
char *res_class;
ARGUMENTS
display Specifies the connection to the X server.
db Specifies a pointer to the resource database.
res_name Specifies the full resource name of the application.
res_class Specifies the full class name of the application.
DESCRIPTION
The XOpenIM function opens an input method, matching the current locale and modifiers specification. Current locale and modifiers are
bound to the input method at opening time. The locale associated with an input method cannot be changed dynamically. This implies the
strings returned by XmbLookupString or XwcLookupString, for any input context affiliated with a given input method, will be encoded in the
locale current at the time the input method is opened.
The specific input method to which this call will be routed is identified on the basis of the current locale. XOpenIM will identify a
default input method corresponding to the current locale. That default can be modified using XSetLocaleModifiers for the input method mod-
ifier.
The db argument is the resource database to be used by the input method for looking up resources that are private to the input method. It
is not intended that this database be used to look up values that can be set as IC values in an input context. If db is NULL, no database
is passed to the input method.
The res_name and res_class arguments specify the resource name and class of the application. They are intended to be used as prefixes by
the input method when looking up resources that are common to all input contexts that may be created for this input method. The characters
used for resource names and classes must be in the X Portable Character Set. The resources looked up are not fully specified if res_name
or res_class is NULL.
The res_name and res_class arguments are not assumed to exist beyond the call to XOpenIM. The specified resource database is assumed to
exist for the lifetime of the input method.
XOpenIM returns NULL if no input method could be opened.
SEE ALSO
XCloseIM(3X), XSetIMValues(3X), XGetIMValues(3X), XDisplayOfIm(3X), XLocaleOfIM(3X), XRegisterIMInstantiateCallback(3X), XUnregisterIMIn-
stantiateCallback(3X)
X Version 11 Release 6 XOpenIM(3X)