06-25-2012
Yes, but what output do you want? Show it, don't just describe it.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to replace a specific column values in a csv file with double quotes.
Example:
SNO,NAME,ZIPCODE,RANK
1,Robert,74538,12
2,Sam,07564,13
3,Kim, Ed,12345,14
Desired Output:
SNO,NAME,ZIPCODE,RANK
1,Robert Ken,74538,12
2,Sam Mik,"07564",13
3,"Kim, Ed",12345,14
I... (3 Replies)
Discussion started by: techmoris
3 Replies
2. Shell Programming and Scripting
I have lines with:
elseif (req.http.host ~ "^(www.)?edificationtube.com$|www.edificationtube.org www.edificationtube.net edificationtube.org www.edificationtube.com edificationtube.net") {
elseif (req.http.host ~ "^(www.)?collegecontender.com$|www.collegecontender.com collegecontenders.com... (3 Replies)
Discussion started by: EXT3FSCK
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am getting the data from text file and it contains comma and double quootes.
Eg: text file like this:
Travelling up Cattai Ridge Rd, going through the "S" bends at the top.
Felt a "pull" and pain in groin area, on right side after lifting at work.
Repeat "twisting" while working manual... (4 Replies)
Discussion started by: rajesh4851
4 Replies
4. Shell Programming and Scripting
Hi There...
I need to serach and replace a strings in a text file.
My file has; books.amazon='Let me read' and the output needed is
books.amazon=NONFOUND
pls if anybody know this can be done in script sed or awk.. i have a list of different strings to be repced by NONFOUND.... (7 Replies)
Discussion started by: Hiano
7 Replies
5. Shell Programming and Scripting
Hello experts,
I need to validate a csv file which contains data like this:
Sample.csv
"ABCD","I",23,0,9,,"23/12/2012","OK","Street,State, 91135",0
"ABCD","I",23,0,9,,"23/12/2012","OK","Street,State, 91135",0
I just need to check if all the records contain exactly the number of... (5 Replies)
Discussion started by: shell_boy23
5 Replies
6. Shell Programming and Scripting
Hi All,
I need to serach and replace a strings between single quote in a file.
My file has :
location='/data1/test.log' and the output needed is
location='/data2/test_dir/test.log'
pls if anybody know this can be done in script sed or awk.
I have a script, but it's... (6 Replies)
Discussion started by: mnmonu
6 Replies
7. UNIX for Dummies Questions & Answers
I need to replace the (*) in the fist of a list with numbers using sed for example >
this file contain a list
* linux
* computers
* labs
* questions
to >>>>
this file contain a list
1. linux
2. computers
3. labs
4. questions (7 Replies)
Discussion started by: aalbazie
7 Replies
8. Shell Programming and Scripting
Hi All,
I'm unable to load the data using sql loader where there are double quotes within the double quotes As these are optionally enclosed by double quotes.
Sample Data :
"221100",138.00,"D","0019/1477","44012075","49938","49938/15043000","Television - 22" Refurbished - Airwave","Supply... (6 Replies)
Discussion started by: mlavanya
6 Replies
9. Shell Programming and Scripting
Hello Team,
Could you please help me with the below question?
I have a file with the following properties
1) File Delimiter is ;
2) Text columns are within double quotes
3) Numeric columns will not have double quotes
4) File has total 6 columns
Please see a sample record from file
... (3 Replies)
Discussion started by: sam99
3 Replies
10. Shell Programming and Scripting
i have an output that i receive and it looks like this:
echo '/var/FTPROOT/px/sci/archive/20171102070057904-DY_DC04_Daily Inventory Sync-en-us.csv' '/var/FTPROOT/px/sci/archive/20171102070058291-DY_DC07_Daily Inventory Sync-en-us.csv'
what i want to do is replace the spaces in the file names... (2 Replies)
Discussion started by: SkySmart
2 Replies
LEARN ABOUT DEBIAN
cmtk-avg_adm
avg_adm(1) The Computational Morphometry Toolkit avg_adm(1)
NAME
avg_adm - Average using ADM
SYNOPSIS
avg_adm [options] list0 [list1 ...]
DESCRIPTION
Compute average-shape average-intensity images and deformation maps using an active deformation model.
OPTIONS
Global Toolkit Options (these are shared by all CMTK tools)
--help
Write list of basic command line options to standard output.
--help-all
Write complete list of basic and advanced command line options to standard output.
--wiki
Write list of command line options to standard output in MediaWiki markup.
--man
Write man page source in 'nroff' markup to standard output.
--version
Write toolkit version to standard output.
--echo
Write the current command line to standard output.
--verbose-level <integer>
Set verbosity level.
--verbose, -v
Increment verbosity level by 1 (deprecated; supported for backward compatibility).
--threads <integer>
Set maximum number of parallel threads (for POSIX threads and OpenMP).
Main Options
--label, -l
Label mode (as opposed to grey)
--set-padding <float>
Set padding value in input files [Default: disabled]
--replace-padding <float>
Replace padding value in input files [Default: disabled]
--pad-out <double>, -p <double>
Padding value for output file [Default: disabled]
--jacobian, -j
Average Jacobian determinants of deformations.
--auto-scale, -a
Auto-scale image intensities
--char
Output is 8 bits, signed [default: automatic]
--byte
Output is 8 bits, unsigned
--short
Output is 16 bits, signed
--ushort
Output is 16 bits, unsigned
--int
Output is 32 bits signed
--float
Output is 32 bits floating point
--double
Output is 64 bits floating point
--no-scale-model, -S
Exclude scale from statistical deformation model
--no-ref-model, -R
Exclude reference coordinate frame from deformation model
--no-ref-data, -r
Exclude reference data from averaging
--output <string>, -o <string>
Output file name [FORMAT:]path [Default: NONE]
--input-warp <string>, -I <string>
Input file name for average warp [Default: NONE]
--output-warp <string>, -O <string>
Output file name for average warp [Default: NONE]
--with-affine, -A
Include affine component of first warp in output
--nn Use nearest neigbor interpolation
--cubic
Use tri-cubic interpolation
--replace-from <string>
Replace from pattern
--replace-to <string>
Replace to pattern
AUTHORS
Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, and Daniel B. Russakoff
LICENSE
http://www.fsf.org/licensing/licenses/gpl.html
BUGS
Report bugs at http://nitrc.org/projects/cmtk/
ACKNOWLEDGMENTS
From April 2009 through September 2011, CMTK Development and Maintenance was supported by the National Institute of Biomedical Imaging and
Bioengineering under Grant No.R01 EB008381 (PI: Torsten Rohlfing).
CMTK 2.2.2 Jul 20 2012 avg_adm(1)