Hi,
I've already posted elsewhere but am posting again here coz im a newbie. I hope you forgive me this time.
I want to know if its possible to delete or ignore columns in a large dataset using 'sed'. For example, I have the following dataset: -
... (0 Replies)
Hi,
I want to know if its possible to delete or ignore columns in a large dataset using 'sed'. For example, I have the following dataset: -
20060714,X.XX,1,043004,Q,T,24.0000,1,25.5000,4,
20060714,X.XX,1,081209,Q,T,24.0000,1,25.5000,5,
As you can see, there are 10 columns here and the... (4 Replies)
Hii I have a file which contains huge amounts of data.I just want to delete last 3 columns in the without changing its format.The file contains data as shown below
PDE 2001 10 29 202148.60 38.92 24.20 33 4.8 MLATH .F. .......
PDE 2001 10 29 203423.57 38.88 24.41 33 3.7 MLATH... (3 Replies)
how do I delete the first 3 lines and the first column and the tab?
infile:
Colorspace 0
SA-Sample 1 in 32
FTab-Chars 10
Sequence-1 SINE1_7SL 282
Sequence-2 sapieTTns 289
Sequence-3 7SL_Hopns 289outfile:
SINE1_7SL 282
sapieTTns 289
7SL_Hopns 289Thanks (4 Replies)
I have this space delimited large text file with more than 1,000,000+ columns and about 100 rows. I want to delete all the columns that start with NA such that:
File before modification
aa bb cc NA100 dd
aa b1 c2 NA101 de
File after modification
aa bb cc dd
aa b1 c2 de
How would I... (3 Replies)
Hello Guys
I have a flat file with few thousands of rows.
Now each rows have different number of columns
I want to delete the rows which has not equal to 749 columns
Can you guys please let me know how to do the same
Your help is much appreciated. (2 Replies)
Hi,
I have a file like this
a 1 2
b 2 2
c 2 3
d 4 5
f 5 6
output
a 1 2
c 2 3
d 4 5
f 5 6
Basically, I want to delete the whole line if $2 and $3 are the same. Thanks (5 Replies)
Dear all,
I have one file (see below) with more then 100 columns, and need only column which has GType in label with Alphabets, please help me to remove this columns with numbers.
input file is
n.201.GType n-201.Theta n-201.R n_1.GType n_1.Theta n_1.R n_7.GType ... (1 Reply)
Hi,
I'd like to ask for some help with the following task, please:
there is a big file with a header (this is file.in):
NAME A_1.X A_1.Y A_1.Z B_1.X B_1.Y B_1.Z
name1 AB 0.11 0.12 BB 0.45 0.67
name2 BB 0.34 0.56 AA 0.89 0.68
what I need is to recognize a pattern in the header of this... (10 Replies)
An extension from an earlier question. Now need a sed script to delete columns 7,15 and 16 from an example txt below..
Again, thanks in advance.
98M-01.WAV,98M,01,00:00:49,01:07:36:00,"MIX",,"BOOM-MKH50",,,,,,,,,,"",
98L-01.WAV,98L,01,00:00:51,01:01:45:00,"MIX",,"BOOM-MKH50",,,,,,,,,,"", (7 Replies)
Discussion started by: Vrc2250
7 Replies
LEARN ABOUT OPENDARWIN
lipo
LIPO(1) General Commands Manual LIPO(1)NAME
lipo - create or operate on fat files
SYNOPSIS
lipo [-info] [-detailed_info] [-arch arch_type input_file] ... [ input_file] ... [-create] [-thin arch_type] [-replace arch_type file-
name] ... [-remove arch_type] ... [-extract arch_type] ... [-extract_family arch_type] ... [-output output_file] [-segalign arch_type
value] ...
DESCRIPTION
The lipo command creates or operates on ``fat'' (multi-architecture) files. It only ever produces one output file, and never alters the
input file. The operations that lipo performs are: listing the architecture types in a fat file; creating a single fat file from one or
more input files; thinning out a single fat file to one specified architecture type; and extracting, replacing, and/or removing architec-
tures types from the input file to create a single new fat output file.
Only one option can be specified, with the exception of -arch, -output, and -segalign, which are used in combination with other options.
The input_file argument is required, and only the -create option allows more than one input_file to be specified. The -output flag must be
used, except with the -info and -detailed_info flags.
The arch_type arguments may be any of the supported architecture names listed in the man page arch(3)exceptforVAXandMips.
OPTIONS -info Briefly list the architecture types in the input fat file (just the names of each architecture).
-detailed_info
Display a detailed list of the architecture types in the input fat file (all the the information in the fat header, for each archi-
tecture in the file).
-arch arch_type input_file
Tells lipo that input_file contains the specified architecture type. The -arch arch_type specification is unnecessary if input_file
is an object file, a fat file, or some other file whose architecture(s) lipo can figure out.
-output output_file
Specifies its argument to be the output file.
-create
Take the input files (or file) and create one fat output file from them.
-thin arch_type
Take one input file and create a thin output file with the specified arch_type.
-replace arch_type file_name
Take one fat input file; in the output file, replace the arch_type contents of the input file with the contents of the specified
file_name.
-remove arch_type
Take one fat input file and remove the arch_type from that fat file, placing the result in the output file.
-extract arch_type
Take one fat input file and copy the arch_type from that fat file into a fat output file containing only that architecture.
-extract_family arch_type
Take one fat input file and copy all of the arch_types for the family that arch_type is in from that fat file into an output file
containing only those architectures. The file will be thin if only one architecture is found or fat otherwise.
-segalign arch_type value
Set the segment alignment of the specified arch_type when creating a fat file containing that architecture. value is a hexadecimal
number that must be an integral power of 2. This is only needed when lipo can't figure out the alignment of an input file (cur-
rently not an object file), or when it guesses at the alignment too conservatively. The default for files unknown to lipo is 0
(2^0, or an alignment of one byte), and the default alignment for archives is 4 (2^2, or 4-byte alignment).
SEE ALSO arch(3)Apple Computer, Inc. October 23, 1997 LIPO(1)