How i can combine output of two commands in one file.......i tried this but it is not working although each command is working good seperately.....
head -1 filename | tail -1 filename
i think there is problem with command concatenator? (16 Replies)
Hi all,
I once knew of a simple unix command to do this, but I can't remember it and I can't find it by searching.
I have two files.
### FILE A ####
A1
A2
A3
A4
A5
### FILE B ####
B1
B2
B3
B4
B5 (2 Replies)
Hi,
I am not very familiar with sed and awk and i have a huge file to process which is impossible to do manually. I want to print out beginning from "Network" until end of line only (excluding the Version). AND. the decription to be all in one line.
File:
Version: 2.0 Network: xxx... (9 Replies)
Hi Guys,
I have two input files and I want to combine them and get the unique values and differences and put them into one file. See below desired output file.
Inputfile1:
1111111
2222222
3333333
7860068
7860069
7860071
7860072
Inputfile2:
4444444 (4 Replies)
What is the correct syntax to pipe or run three awk commands? Basically, using the output of the first awk as input in the second. Then using the output of the second awk in the third. Thank you :).
awk 'FNR==NR {E; next }$3 in E {print $3, $5}' panel_genes.txt RefSeqGene.txt > update.txt |... (3 Replies)
I am trying to combine lines with these conditions:
1. First line starts with text of "libname VALUE db2 datasrc" where VALUE can be any text.
2. If condition1 is met then continue to combine lines through a line that ends with a semicolon.
3. Ignore case when matching patterns and remove any... (5 Replies)
hi guys,
i am writing a bash script.. that produce output some thing like this:
road 100 300 500
road 100 300 500
road 100 300 500
road 100 300 500
street 400 200 700
street 400 200 700
path 200 100 900
i would like to combine all the entries that having the same but incremental (not... (12 Replies)
GPIV_NSTRAIN(1) General Commands Manual GPIV_NSTRAIN(1)NAME
gpiv_nstrain - Calculates normal strain from PIV data.
SYNOPSIS
gpiv_nstrain [-d N] [-h | --help] [-p | --print] [-g | --g] [--no_g ] [-v | --version] [filename] < stdin > stdout
DESCRIPTION
gpiv_nstrain calculates the normal strain from PIV data. You can choose from several differential schemes: central differentiation, least
squares, and Richardson extrapolation. The output can be generated as ASCII data containing four columns or as GNUPlot Data format that
allows one to view/print the data as contour plots.
The configuration parameters (containing the POST key) may be overruled by the command line options, as explained below.
Options-d N Differential type to be used: central difference (N=0), least squares (N=1), Richardson interpolation (N=2), circulation method
(N=3)
-h | --help
On-line help
-p | --print
Print parameters, command line options and eventually used input and output filenames to stdout. The output is identic of file-
name.par, in case filename is used.
-g Show contour plot of the output with gnuplot.
--no_g Suppresses to show contour plot of the output with gnuplot.
-v | --version
Print version information on standard output, then exit successfully.
filename
Input PIV data file. Overrides stdin and stdout. The output will be written to filename.nstr. Parameters are stored in filename.par
and may be used for future use by including them in ./gpivrc.
SEE ALSO
gpivtools
AUTHOR
Gerber Van der Graaf
8 November 2006 GPIV_NSTRAIN(1)