Sponsored Content
Full Discussion: [Solved] Help -file archival
Top Forums UNIX for Dummies Questions & Answers [Solved] Help -file archival Post 302887230 by AspiringD on Thursday 6th of February 2014 12:18:04 PM
Old 02-06-2014
Hi Yoda , the file can be of any extension
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Archival Tool for UNIX

Hi All, Need to get the information if there is any tool on Unix for Archiving and retrival of documents automatically. Having the capbalilty to integrate with other systems. And provide the APIs which can be called from other Systems to facilitate automatic Archival and Retrieval. Thanks &... (7 Replies)
Discussion started by: sanjeev0915
7 Replies

2. Shell Programming and Scripting

[solved] merging two files and writing to another file- solved

i have two files as file1: 1 2 3 file2: a b c and the output should be: file3: 1~a 2~b 3~c (1 Reply)
Discussion started by: mlpathir
1 Replies

3. Shell Programming and Scripting

small error in shellscripting -archival part

Hi All, I have run the below script but getting one small error. please help me to solve this. ERROR: tar: Error exit delayed from previous errors CODE: #! /bin/bash CEP=/home/user01/exercise/CEP ARCH=/home/user01/exercise/archive LOG=/home/user01/exercise/logs... (3 Replies)
Discussion started by: aish11
3 Replies

4. Shell Programming and Scripting

[Solved] Need help formatting a file

I have a report similar to the below: ^L"0.1","Run Date : 19/11/10 Navneet Bank, N.A. PAGE NO : 1" "0.2",Proc Date : 19/11/10 GLOBAL A/C SYSTEM ... (2 Replies)
Discussion started by: Gangadhar Reddy
2 Replies

5. Programming

[Solved] Removing duplicates from the file and saving as new file

Dear All I have 200 data files and each files has many duplicates. I am looking for the automated awk script such that it checks and removes the duplicates from the each file and saving them as new files for all 200 files in the respective folder. For example my data looks like this.. ... (12 Replies)
Discussion started by: bala06
12 Replies

6. UNIX for Dummies Questions & Answers

[Solved] New Line in file

Hi, Though I was successful in following query, I like to know the other ways of doing it. I have a file that is sent as an attachment via mail. However, while opening it, notepad does not recognize new line character whereas other editors like text pad recognizes new line character of unix.... (2 Replies)
Discussion started by: bobbygsk
2 Replies

7. Shell Programming and Scripting

[solved] File type error (not a regular file)

Hi friend, i have written script as below to check the file existance. but i got error path="/k/p1100/users/jewel/Output" FILENAME=`ls -lrt $path/*HT|tail -1|cut -d "/" -f 8` if ; then echo "$FILENAME is available " chmod 755 $path/$FILENAME /usr/bin/scp... (0 Replies)
Discussion started by: Jewel
0 Replies

8. UNIX for Dummies Questions & Answers

[Solved] Assign file name = to string in a different file

I have two files: pgmname.ou1 - contains invoice data pgmname.ou2 - contains unique file name for pgmname.ou1 I want to copy pgmname.ou1 to a file with the name specified in pgmname.ou2. So if pgmname.ou2 has a line in it with the following data: FILE.NAME.UNIQUE.csv I want to: cpy... (2 Replies)
Discussion started by: rjjv0208
2 Replies

9. Shell Programming and Scripting

[Solved] File reformat

I am using the code below to reformat the input (hp.txt). The output (newhp.txt) is not in the desired format and I can not seem to figure it out. I have attached both. Thank you. perl -aF/\\t/ -lne 'print join(" ",@F) for ("0 A","0 G","0 C","0 T","A 0","G 0","C 0","T 0")' hp.txt > newhp.txt ... (4 Replies)
Discussion started by: cmccabe
4 Replies
XQueryExtension()														 XQueryExtension()

Name
  XQueryExtension - get extension information.

Synopsis
  Bool XQueryExtension(display, name, major_opcode_return, first_event_return, first_error_return)
	Display *display;
	char *name;
	int *major_opcode_return;
	int *first_event_return;
	int *first_error_return;

Arguments
  display   Specifies a connection to an X server; returned from XOpenDisplay().

  name	    Specifies the name of the desired extension.  Uppercase or lowercase is important.	If the extension name is not in the Host Por-
	    table Character Encoding, the result is implementation-dependent.

  major_opcode_return
	    Returns the major opcode of the extension, for use in error handling routines.

  first_event_return
	    Returns the code of the first custom event type created by the extension.

  first_error_return
	    Returns the code of the first custom error defined by the extension.

Returns
  True if the extension is present, else False.

Description
  XQueryExtension() determines if the named extension is present, and returns True if it is.  If so, the routines in  the  extension  can  be
  used just as if they were core Xlib requests, except that they may return new types of events or new error codes.  The available extensions
  can be listed with XListExtensions().

  The major_opcode_return for the extension is returned, if it has one.  Otherwise, zero is returned.  This opcode will appear in errors gen-
  erated in the extension.

  If  the extension involves additional event types, the base event type code is returned in first_event_return.  Otherwise, zero is returned
  in first_event_return.  The format of the events is specific to the extension.

  If the extension involves additional error codes, the base error code is returned in first_error_return.  Otherwise, zero is returned.  The
  format of additional data in the errors is specific to the extension.

  See  Volume  One,  Chapter  15, Other Programming Techniques, for more information on using extensions, and Volume One, Appendix C, Writing
  Extensions to X, for information on writing them.

See Also
  XFreeExtensionList(),  XListExtensions().

Xlib - Extensions														 XQueryExtension()
All times are GMT -4. The time now is 08:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy