Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Get information from one files, based on data from other file Post 303019643 by RudiC on Tuesday 3rd of July 2018 08:07:36 AM
Old 07-03-2018
Post the "while do" that you are struggling with for analysis / help.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script to delete folder based on text file information

I have been working on a script to list all the name's of a subfolder in a text file then edit that text file and then delete the subfolder base on the edited text file so far I have been able to do every thing I just talked about but can't figure out how to delete the subfolers base on a text file... (8 Replies)
Discussion started by: bone11409
8 Replies

2. Shell Programming and Scripting

How to extract information from two files with data range

Hi, I want to make a query about extracting data from two files that both have data ranges. the data that i want to extract; when there is matching between file1 column 2 is equal to file2 column2 , and file1 column 3 and column 4 is within the range of file2 columns 3 and 4. I would like rows... (1 Reply)
Discussion started by: houkto
1 Replies

3. Shell Programming and Scripting

Help me pls : splitting single file in unix into different files based on data

I have a file in unix with sample data as follows : -------------------------------------------------------------- -------------------------------------------------------------- {30001002|XXparameter|Layout|$ I want this file to be splitted into different files and corresponding to the sample... (54 Replies)
Discussion started by: Ravindra Swan
54 Replies

4. Shell Programming and Scripting

Generate tabular data based on a column value from an existing data file

Hi, I have a data file with : 01/28/2012,1,1,98995 01/28/2012,1,2,7195 01/29/2012,1,1,98995 01/29/2012,1,2,7195 01/30/2012,1,1,98896 01/30/2012,1,2,7083 01/31/2012,1,1,98896 01/31/2012,1,2,7083 02/01/2012,1,1,98896 02/01/2012,1,2,7083 02/02/2012,1,1,98899 02/02/2012,1,2,7083 I... (1 Reply)
Discussion started by: himanish
1 Replies

5. Shell Programming and Scripting

Appending information from 2nd file into 1st based on intervals

Hi, I am trying to gather information from the second file and append it to the first file. input HWUSI-EAS000_29:1:100:10000:11479#0/1 + chr5 14458050 ATTGGCTGAGGTCCTACTAGTTGTGATGTGTAAGTGT HHHHHHGDGGEDGGGDGCGEDDEFFFAGE 0 second file:... (14 Replies)
Discussion started by: Diya123
14 Replies

6. UNIX for Dummies Questions & Answers

Obtaining File information based on String Search

Is there a single Command in Unix to get the following Information when searching for files containing one or more strings in a Unix Directory (including sub directories within it) : 1) Complete filename ( path and filename) 2) Owner of the file 3) Size of the file 4) Last Modified date... (3 Replies)
Discussion started by: pchegoor
3 Replies

7. Shell Programming and Scripting

Pulling information from a data file by date

awk -v now="$(date +%s)" -v tDiff="${USERMINUTES}" ' BEGIN { FS="=" if (!now) now=systime() if (!tDiff) tDiff=60*60 p=1 } /{/ {rec=$0;p=1;next} /}/ && rec && p {print rec ORS $0;next} $1=="entry_time" { if (now-$2>tDiff)p=0 } {rec=rec ORS $0}'... (6 Replies)
Discussion started by: SkySmart
6 Replies

8. UNIX for Beginners Questions & Answers

Create file based on data from two other files

I have looked through several threads regarding merging files with awk and attempted using join however have been unsuccessful likely as I do not fully understand awk. What I am attempting is to take a csv file which could be between 1 and 15,000 lines with 5 colums and another csv file that will... (4 Replies)
Discussion started by: cdubu2
4 Replies

9. Shell Programming and Scripting

How to create file and file content based existing information?

Hi Gurus, I am SQL developer and new unix user. I need to create some file and file content based on information in two files. I have one file contains basic information below file1 and another exception file file2. the rule is if "zone' and "cd" in file1 exists in file2, then file name is... (13 Replies)
Discussion started by: Torhong
13 Replies

10. Shell Programming and Scripting

In PErl script: need to read the data one file and generate multiple files based on the data

We have the data looks like below in a log file. I want to generat files based on the string between two hash(#) symbol like below Source: #ext1#test1.tale2 drop #ext1#test11.tale21 drop #ext1#test123.tale21 drop #ext2#test1.tale21 drop #ext2#test12.tale21 drop #ext3#test11.tale21 drop... (5 Replies)
Discussion started by: Sanjeev G
5 Replies
RIVET(1)							   User Commands							  RIVET(1)

NAME
rivet - Robust Independent Validation of Experiment and Theory SYNOPSIS
rivet [options] myfifo OPTIONS
--version show program's version number and exit. -h, --help show this help message and exit. -l NATIVE_LOG_STRS set a log level in the Rivet library. -a ANA, --analysis=ANA add an analysis to the processing list. --list-analyses show the list of available analyses' names. With -v, it shows the descriptions, too. --list-used-analyses list the analyses used by this command (after subtraction of inappropriate ones). --show-analysis=SHOW_ANALYSES, --show-analyses=SHOW_ANALYSES show the details of an analysis. --analysis-path=PATH specify the analysis search path (cf. $RIVET_ANALYSIS_PATH). --analysis-path-append=PATH append to the analysis search path (cf. $RIVET_ANALYSIS_PATH). --pwd append the current directory (pwd) to the analysis search path (cf. $RIVET_ANALYSIS_PATH). -H HISTOFILE, --histo-file=HISTOFILE specify the output histo file path (default = Rivet.aida). -x XS, --cross-section=XS specify the signal process cross-section in pb. -n NUM, --nevts=NUM restrict the max number of events to read. --runname=NAME give an optional run name, to be prepended as a 'top level directory' in histo paths. --ignore-beams Ignore input event beams when checking analysis compatibility. --event-timeout=NSECS max time in whole seconds to wait for an event to be generated from the specified source (default = 21600) --run-timeout=NSECS max time in whole seconds to wait for the run to finish. This can be useful on batch systems such as the LCG Grid where tokens expire on a fixed wall-clock and can render long Rivet runs unable to write out the final histogram file (default = unlimited). --histo-interval=HISTO_WRITE_INTERVAL [experimental!] specify the number of events between histogram file updates. Default is to only write out at the end of the run. Note that intermediate histograms will be those from the analyze step only: analysis finalizing is currently not executed until the end of the run. -v, --verbose print debug (very verbose) messages. -q, --quiet be very quiet. EXAMPLES
mkfifo hepmc.fifo my-generator -o myfifo & rivet --analysis=ANALYSIS_NAME hepmc.fifo ENVIRONMENT
: RIVET_ANALYSIS_PATH list of paths to be searched for plugin analysis libraries at runtime. RIVET_REF_PATH list of paths to be searched for reference data files. RIVET_INFO_PATH list of paths to be searched for analysis metadata files. AUTHOR
This manual page was written by Lifeng Sun <lifongsun@gmail.com> for the Debian system (but may be used by others). Rivet June 2012 RIVET(1)
All times are GMT -4. The time now is 08:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy