08-31-2019
My updated example
Bash: 100: command not found
IOError: [Errno 32] Broken pipe
Last edited by bigvito19; 08-31-2019 at 06:02 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to compare two file and make changes where ever its different.
for example:
Contents of file1
IP=192.165.89.11
NM=255.255.0.0
GW=192.165.89.1
Contents of file2
IP=192.165.89.11
NM=255.255.255.255
GW=192.165.89.1
NOTE HERE THAT NM IS DIFFERENT
So i want the changes... (6 Replies)
Discussion started by: pradeepreddy
6 Replies
2. Shell Programming and Scripting
Pls help me on this. I have to 2 files like shown below:
File 1
TAIJM
AXPKIM
BEMGW
File 2
PXMPA
JYGE
IMJP
What i want to do is to paste both file to a new file on thir format:
File 3
TAIJM PXMPA
AXPKIM JYGE
BEMGW IMJP
I tried cat and print, but it doesn't work. Cn... (6 Replies)
Discussion started by: kingpeejay
6 Replies
3. Programming
How I can get the current make-file name in a make-file
So, if I run make with specified file:make -f target.mak
is it possible to have the 'target' inside of the that 'target.mak' from the file name? (2 Replies)
Discussion started by: alex_5161
2 Replies
4. Shell Programming and Scripting
Hii
I wanna call a batch file from a make file. Doesn't work , what is the procedure to do this.? Any idea
thanks:eek: (2 Replies)
Discussion started by: krishnampkkm
2 Replies
5. Shell Programming and Scripting
Hi,
I have written a small script from that iam appending the output to a file.If multiple users invoke the same script or if i invoke the same script n number of times (using &), the output file(ZZ/OUT) contains messup information.
#!/bin/bash
#
echo "Hello" >> /tmp/ZZ/OUT
sleep 10
echo... (4 Replies)
Discussion started by: blrguest
4 Replies
6. Shell Programming and Scripting
Hello All,
I am working on a script where I need to fetch the value from a log file and log file creates with different name but few thing are common
DEV_INFOMGT161_MULTI_PTC_BLD01.Stage_All_to_stp2perf1.042312114644.log
STP_12_02_01_00_RC01.Stage_stp-domain_to_stp2perf2.042312041739.log
... (2 Replies)
Discussion started by: anuragpgtgerman
2 Replies
7. Shell Programming and Scripting
Hi,
I have a file that consist of around six million line, now the task is to divide this file into 12 small file so that each file would have half a million lines in it.
Thanks. (3 Replies)
Discussion started by: mukulverma2408
3 Replies
8. Shell Programming and Scripting
I have input data looks like this which is a part of a csv file
7,1265,76548,"0102:04"
8,1266,76545,"0112:04"
I need to make the output data should look like this and the output data will be part of text file:
7|1265000 |7654899 |A|
8|12660000 |76545999 |B|
The logic behind the... (6 Replies)
Discussion started by: RJG
6 Replies
9. UNIX for Beginners Questions & Answers
]I would like to make the second file label 'b' print down the first file label 'a', like shifting down the file creating new lines I want it to print all the way down until the first line of the second file hit the last line of the first file. Would I have to put this into a file itself or could I... (24 Replies)
Discussion started by: bigvito19
24 Replies
10. Shell Programming and Scripting
I wish to take a backup of the file when someone tries to modify a file say /tmp/test.txt using vi, vim, cat, copy, mv commands.
I'm aware of inotify which will notify me of any changes to the file however, I wish to make a backup before and not after the changes are made to the file.
I... (1 Reply)
Discussion started by: mohtashims
1 Replies
LEARN ABOUT DEBIAN
gpiv_process-chain
GPIV_PROCESS-CHAIN(1) General Commands Manual GPIV_PROCESS-CHAIN(1)
NAME
gpiv_process-chain - Processes a pipe of Gpiv-tool command's.
SYNOPSIS
gpiv_process-chain [-af string] [-h | -help] [-n | -none] [-c | -clean] [-fik] [-p | -print] [-pf -string] [-proc_*] [-t format] [-v |
-version] filename
DESCRIPTION
Gpiv_process-chain processes a pipe of gpiv commands. Image evaluation/interrogation with gpiv_rr is always included, image recording may
be prepended before interrogation, validation and post-processes may be appended to the chain. The filename represents the name of the
image to be evaluated. The file naming conventions are idententic to the output of the individual Gpivtools programs: in case the output
are (validated/scaled) PIV data, the data will be directed to filename.piv, with -proc_vorty the output will be called filename.vor, with
-proc_nstrain the output will be called filename.nstr and, finally, with with -proc_sstrain the output will be called filename.sstr.
This program does not use the parameter resources from libgpiv.
Options
-af string Append string to file-base name.
-h | --help
On-line help.
-n | --none
Suppresses real execution.
-c | -clean
Cleans up: removes raw image data and header.
-fik Use fi-keyline for filtering gpiv parms from README.
-p | --print
Prints parameters, command line options and input and output filenames to stdout.
-pf string
Prepend string to file-base name.
-proc_*
Defines processes to be included in the chain. * is substituted by: imgrec, valid, scale, manipiv, flipx, flipy, revert, rot90,
rot180 and vorty or nstrain or sstrain. Vorty, nstrain and sstrain may not be used in combination with -t gpi.
-t format
Image type or format: hdf (.hdf), dav (.IMG) or a type as defined by ImageMagic's convert. Default is raw binary image (.r).
-v | --version
Prints version information to standard output, then exits successfully.
filename
Input image filename. Format may be: .r, .hdf (hdf), .IMG (davis), .png, .gif, .tif or.bmp.
EXAMPLES
invoking: 'gpiv_process-chain -proc_valid -proc_scale testfile.png' will actually perform: gpiv_rr < image.png | gpiv_errvec > testfile.piv
invoking: 'gpiv_process-chain -proc_imgrec -proc_valid -proc_scale testfile.png' will do: gpiv_recimg | gpiv_rr | gpiv_errvec | gpiv_scale
> testfile.piv
SEE ALSO
gpivtools
AUTHOR
Gerber Van der Graaf
19 Januari 2005 GPIV_PROCESS-CHAIN(1)