Hi,
I do have a file with follwoing as contents:
816|817118|
816|933370|
816|1215241|
I want to store the above values into two arrays as follows:
arr1 = { 816,816,816}
arr2 = {817118,933370,1215241}
How it can be achieved ? (5 Replies)
Hi,
I have a string like ABC.123.XYZ-A1-B2-P1-C4. I want to delimit the string based on "-" and then get result as only two strings. One with string till last hyphen and other with value after last hyphen... For this case, it would be something like first string as "ABC.123.XYZ-A1-B2-P1" and... (6 Replies)
Give shell script....which takes two file names as input and compares the contents, is both are same delete second file's contents.....
I try with "diff"...... but confusion how to use "diff" with if ---else
Thanking you (5 Replies)
Hi,
I want to delete the contents of a file which are matching with contents of other file in shell scripting.
Ex.
file1
sheel,sumit,1,2,3,4,5,6,7,8
sumit,rana,2,3,4,5,6,7,8,9
grade,pass,2,3,4,5,6,232,1,1
name,sur,33,1,4,12,3,5,6,8
sheel,pass,2,3,4,5,6,232,1,1
File2... (3 Replies)
Hi all,
I have a number of strings like below:
//mnt/autocor/43°13'(33")W/
and i'm trying to get the numbers in this string, for example
431333
please help
thanks ahead (14 Replies)
Hi,
I am facing issue while reading data from a file in UNIX. my requirement is to compare two files and for the text pattern matching in the 1st file, replace the contents in second file by the contents of first file from start to the end and write the contents to thrid file.
i am able to... (2 Replies)
Hi,
I have a No Delimiter variable length text file with following schema -
Column Name Data length
Firstname 5
Lastname 5
age 3
phoneno1 10
phoneno2 10
phoneno3 10
sample data - ... (16 Replies)
Hi one of the output of the command is as below
# sed -n "/CCM-ResourceHealthCheck:/,/---------/{/CCM-ResourceHealthCheck:/d;/---------/d;p;}" Automation.OutputZ$zoneCounter | sed 's/$/<br>/'
Resource List : <br>
*************************** 1. row ***************************<br>
... (2 Replies)
Hi,
Extremely new to Perl scripting, but need a quick fix without using TEXT::CSV
I need to read in a file, pass any delimiter as an argument, and convert it to bar delimited on the output. In addition, enclose fields within double quotes in case of any embedded delimiters.
Any help would... (2 Replies)
Hallo Team,
I have 2 .csv files file A has 47600 lines and file B has 67000 lines
FILEA
SD0o9rb01-1d320ddbcc8d220f572739ebed5f58d1-v300g00
SD8bt0101-a0810bfe0e3396060126ec51b30dac0a-v300g00
SD05sce01-cb056af347ed4651f29eb3c3e9addbd6-v300g00... (3 Replies)
Discussion started by: kekanap
3 Replies
LEARN ABOUT DEBIAN
gifti_test
GIFTI_TEST(1) User Commands GIFTI_TEST(1)NAME
gifti_test - test reading/writing a GIFTI dataset
SYNOPSIS
gifti_test [...]
OPTIONS -help Show usage help.
-gifti_hist
Show giftilib history.
-gifti_ver
Show giftilib version.
-encoding TYPE
Set the data encoding for any output file.
TYPE = ASCII : ASCII encoding
TYPE = BASE64 : base64 binary
TYPE = BASE64GZIP : base64 compressed binary
-gfile OUTPUT
Write out dataset as gifti image.
-infile INPUT
Specify INPUT as the GIFTI dataset to read.
-no_data
Do not write out data.
-show Show final gifti image.
-slist LEN s0...
Restrict output to list of length LEN.
-verb VERB
Set verbose level.
EXAMPLES
1. read in a GIFTI dataset (verbose, show output?)
gifti_test -infile dset.gii
gifti_test -infile dset.gii -verb 3
gifti_test -infile dset.gii -show
2. copy a GIFTI dataset (check differences?)
gifti_test -infile dset.gii -gfile copy.gii
diff dset.gii copy.gii
3. copy a GIFTI data, but write out only 3 surf indices: 0,4,5
gifti_test -infile time_series.gii -gfile ts3.gii -slist 3 0 4 5
SEE ALSO
Website: http://www.nitrc.org/projects/gifti
AUTHOR
Richard Reynolds - SSCC, DIRP, NIMH, National Institutes of Health
This manual page was written by Michael Hanke <michael.hanke@gmail.com>, for the Debian project (but may be used by others).
gifti_test June 2010 GIFTI_TEST(1)