Sponsored Content
Full Discussion: text serach in unknown file
Top Forums UNIX for Advanced & Expert Users text serach in unknown file Post 42083 by jyotipg on Wednesday 22nd of October 2003 05:05:18 AM
Old 10-22-2003
new maths??

Hi! Perderabo,

Excellant Analysis..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

automatic tar xf of file with unknown name

Hi all, With curl I can fetch a tar archive from a web server which contains a file ending with .scf which I am interested in. Unfortunately the file name may vary and the subdirectory inside the tar archive may change. I can manually browse the directory structure and extract the file and then... (3 Replies)
Discussion started by: tkrahn
3 Replies

2. Shell Programming and Scripting

serach file using awk

Hi, I was able to print lines when search for specific string using awk but i want to print when search for two different strings using awk instead of doing two times (Print lines only contain "Insert Records and Insert into" not between lines) Ex: awk '/Insert Records./' a4.log It... (3 Replies)
Discussion started by: mohan705
3 Replies

3. Shell Programming and Scripting

serach and replace file name in the path in a remote xml file

hi every one , here is my problem !! i have to run my script from an account and update the result in a xml file located on a different account. i use existing ssh keys to do it remotely for example the tags looks like this <PropertyValueList... (1 Reply)
Discussion started by: kiranreddy1215
1 Replies

4. UNIX for Dummies Questions & Answers

Need to serach if a new line character exists on the last line in a file

I have a file in which I need to search if a new line character exists on the last line in the file. Please let me know how can I achieve it using Unix commands? (10 Replies)
Discussion started by: sunilbm78
10 Replies

5. Solaris

PING - Unknown host 127.0.0.1, Unknown host localhost - Solaris 10

Hello, I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems: 1. When I execute the command ping, I get weird results: bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Discussion started by: Przemek
4 Replies

6. Shell Programming and Scripting

serach and replace a specific pattern or value in a xml file

can some one help me with a perl command i have to search and replace a version from a xml-file so i use in a ksh script a command like this ssh $GLB_ACC@$GLB_HOST "/usr/contrib/bin/perl -pi -e "s/$curVersion/$new_Version/g" $Dest_dir/epi.xml" this command worked so far, but the problem... (1 Reply)
Discussion started by: kiranreddy1215
1 Replies

7. Shell Programming and Scripting

How to serach for Values grater tan 4 digits in a file using Awk Command

Dear All iam looking for a help in how to search for values grreater than 4 numbers. I run the below commad but its still not working awk '{ print $2 " " $5 }' AllRecords | grep "+008" | grep "length" > 4 Can any one help me. Regards Kadir (1 Reply)
Discussion started by: samura
1 Replies

8. Shell Programming and Scripting

Serach a string for multiple occurrences in a file and cut related texts

Hi, I want a help in this forum for my below issue. 1. I have a file where I'm searching for a text . 2. When I get the line where the above string is present I want to cut some texts from the line where the particular string was found. These above two steps will repeat in the... (2 Replies)
Discussion started by: bhaski2012
2 Replies

9. Shell Programming and Scripting

How to get a value from a file and serach that value filename in a dir?

buddies, my requirement would be as follows, I have a file called test.txt and content of it would be yahoo gmail hotmail and i want to search a file name called "yahoo.html" (first line of test.txt) and then "gmail.html" and then "hotmail.html" in a /home/test dir. Any idea... (8 Replies)
Discussion started by: natraj005
8 Replies

10. Shell Programming and Scripting

Match text to lines in a file, iterate backwards until text or text substring matches, print to file

hi all, trying this using shell/bash with sed/awk/grep I have two files, one containing one column, the other containing multiple columns (comma delimited). file1.txt abc12345 def12345 ghi54321 ... file2.txt abc1,text1,texta abc,text2,textb def123,text3,textc gh,text4,textd... (6 Replies)
Discussion started by: shogun1970
6 Replies
funds9(1)							SAORD Documentation							 funds9(1)

NAME
FunDS9 - Funtools and DS9 Image Display SYNOPSIS
Describes how funtools can be integrated into the ds9 Analysis menu. DESCRIPTION
SAOImage/DS9 is an astronomical imaging and data visualization application used by astronomers around the world. DS9 can display standard astronomical FITS images and binary tables, but also has support for displaying raw array files, shared memory files, and data files auto- matically retrieved via FTP and HTTP. Standard functional capabilities include multiple frame buffers, colormap and region manipulation, and many data scaling algorithms. DS9's advanced features include TrueColor visuals, deep frame buffers, true PostScript printing, and dis- play of image mosaics. The program's support of image tiling, "blinking", arbitrary zoom, rotation, and pan is unparalleled in astronomy. It also has innovative support for automatic retrieval and display of standard image data such as the Digital Sky Survey (using servers at SAO, StScI, or ESO). DS9 can communicate with external programs such as Funtools using the XPA messaging system. In addition, programs can be integrated directly into the DS9 GUI by means of a configurable Analysis menu. By default, the DS9 Analysis menu contains algorithms deemed essential to the core functions of DS9, e.g., display cross-cuts of data, iso-intensity contours, and WCS grids. However, new programs can be added to DS9 by creating a set-up file which can be loaded into DS9 to reconfigure the Analysis menu. The basic format of the analysis set-up file is: # # Analysis command descriptions: # menu label/description # file templates for this command # "menu" (add to menu) |"bind" (bind to key) # analysis command line For example, the funcnts program can be specified in this way: Funcnts (counts in source/bkgd regions; options: none) * menu funcnts $filename $regions(source,,) $regions(background,,) | $text As shown above, DS9 supports a macro facility to provide information as well as task support to command lines. For example, the $regions macro is expanded by DS9 to provide the current source and/or background region to the analysis command. The $text macro is expanded to generate a text window display. It also is possible to query for parameters using a $param macro, plot data using a $plot macro, etc. See the DS9 documentation for further details. A set-up file called funtools.ds9 will load some useful Funtools applications (counts in regions, radial profile, X-ray light curve and energy spectrum, 1D histogram) into the DS9 Analysis menu (version 2.1 and above). The file resides in the bin directory where Funtools programs are installed. It can be manually loaded into DS9 from the Load Analysis Commands ... option of the Analysis menu. Alternatively, you can tell DS9 to load this file automatically at start-up time by adding the pathname to the Edit->Preferences->Analysis Menu->Analysis File menu option. (NB: make sure you select Edit->Preferences->Save Preferences after setting the pathname.) The tasks in this setup file generally process the original disk-based FITS file. Funcnts-based results (radial profile, counts in regions) are presented in WCS units, if present in the FITS header. For situations where a disk file is not available (e.g., image data generated and sent to DS9's 'fits' XPA access point), versions of the radial profile and counts in regions tasks also are also offered uti- lizing DS9's internal image data. Results are presented in pixels. Aside from the units, the results should be identical to the file-based results. SEE ALSO
See funtools(7) for a list of Funtools help pages version 1.4.2 January 2, 2008 funds9(1)
All times are GMT -4. The time now is 01:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy