Hi,
I need to filter the output of a command and display omitting the first 6 lines and the last two lines..How can i do this using awk.
command | awk ' NR > 7' will omitt the first 6 lines but dont know how to omit the last two lines.. can anyone help? (3 Replies)
I have a main file:
...
17,466971 0,095185 17,562156 id 676
17,466971 0,096694 17,563665 id 677
17,466971 0,09816 17,565131 id 678
17,466971 0,099625 17,566596 id 679
17,466971 0,101091 17,568062 id 680
17,466971 0,016175 17,483146 id... (4 Replies)
Hi all:
How do I use an `awk` like:
awk '{print $1 "\t" $2}' input
on the following input:
<head>medium-n</head> nmod+ns+ns-map-n
<head>future-n</head> of+n-the+ns-map-n
to achieve the following desired output:
medium-n nmod+ns+ns-map-n
future-n of+n-the+ns-map-n (3 Replies)
Hi All,
I am trying to find out number of cores present for hp-ux server from the output of print_manifest (as shown below). i suppose awk will be best tool to use for filtering.
output of print_manifest is :
System Hardware
Model: ia64 hp Integrity Virtual Partition
... (6 Replies)
Hi,
i am trying to get the system model with the help of awk :
$ prtconf | awk '/^System Model/'
System Model: IBM,8408-E8D
but i want just the below outout that is command should chk for pattern <IBM,> and remove it from the final output :
System Model:8408-E8D
Can... (2 Replies)
I have file and process it and provide clean output.
input file
Device Symmetrix Name : 000A4
Device Symmetrix Name : 000A5
Device Symmetrix Name : 000A6
Device Symmetrix Name : 000A7
Device Symmetrix Name : 000A8
Device Symmetrix Name : 000A9
Device Symmetrix Name ... (10 Replies)
Hello Gentlemen,
Finding difficulties to play with my Input files:confused: . Your guidance will certainly help as always.
After converting to csv file from XLSM file, I am getting some extra ""(double quote) characters which I want to terminate inside shell script and process it further.
... (6 Replies)
Discussion started by: pradyumnajpn10
6 Replies
LEARN ABOUT DEBIAN
gpiv_piv2hdf
GPIV_PIV2HDF(1) General Commands Manual GPIV_PIV2HDF(1)NAME
gpiv_piv2hdf - Converts PIV-data HDF5 format.
SYNOPSIS
gpiv_piv2hdf [-e] [-h | --help] [-p | --print] [-v | --version] [-V | --verbose] filename
DESCRIPTION
gpiv_piv2hdf converts ASCII-formattd PIV-data (filename.piv), derived data, like vorticities (filename.vor), strain (filename.sstr, file-
name.nstr) and, eventually, raw data images (filename.r), to a HDF5 formatted file filename.hdf. The parameters that have been used for the
analysis and post processing are included in filename.hdf.
This program does not use the parameter resources from libgpiv. The parameters may be defined by the command line options as explained
below.
Options-e Exclude PIV data and data from post-processes.
-h | --help
On-line help.
-i Includes image data.
-p | --print
Prints parameters, command line options and input and output filenames to stdout. The output may be used as parameters of fasty for
future use by re-directing stdout to fasty.par.
-v | --version
Print version information on standard output, then exits successfully.
-V | --verbose
Program behaves more verbose by printing messages to stdout.
filename
Input PIV data filename, including .piv extension.
SEE ALSO
gpivtools
AUTHOR
Gerber Van der Graaf
10 November 2006 GPIV_PIV2HDF(1)