Hi,
I have several text files each containing some data as shown below:
File1.txt
>DataHeader
Data...
Data...
File2.txt
>DataHeader
Data...
Data...
etc.
What I want is to change the 'DataHeader' based on the file name. So the output should look like:
File1.txt
>File1
... (1 Reply)
Hi All,
I want to remove the content based on the header information .
Please find the example below.
File1.txt
Name|Last|First|Location|DepId|Depname|DepLoc
naga|rr|tion|hyd|1|wer|opr
Nava|ra|tin|gen|2|wera|opra
I have to search for the DepId and remove the data from the... (5 Replies)
i have a input of csv file as below but the sequence of column get changed.
I,e it is not necessary that name comes first then age and rest all, it may vary.
name,age,marks,roll,section
kevin,25,80,456,A
Satch,23,56,789,B
Meena,24,78,H245,C
So i want to print that column entires which... (12 Replies)
Hello,
I'm using Windows 7 ; sed, awk and gnuwin32 are installed.
I have a big text file I need to manipulate.
In short, I will have to split it in thousands of short files, then rename and save in a folder which name is based upon filename.
Here is a snippet of my big input.txt file (this... (4 Replies)
I have 2 input files (tab separated):
file1:
make_A 1990 foo bar
make_B 2010 this that
make_C 2004 these those
file2:
make_X 1970 1995 ref_1:43 ref_2:65
make_A 1970 1995 ref_1:4 ref_2:21 ref_3:18
make_A 1980 2002 ref_1:7 ref_2:7 ref_3:0 ... (2 Replies)
Discussion started by: beca123456
2 Replies
LEARN ABOUT DEBIAN
lzma_alone
LZMA(1) General Commands Manual LZMA(1)NAME
LZMA - a compression algorithm, based on Lempel Ziv's compression method.
SYNOPSIS
lzma <e|d> inputFile outputFile [switches...]
DESCRIPTION
LZMA provides high compression ratio and very fast decompression, so it is very suitable for embedded applications. For example, it can be
used for ROM (firmware) compression.
lzma is the default and general compression method of 7z format in 7-Zip program.
FUNCTION LETTERS
e Encode file
d Decode file
b Benchmark
SWITCHES
-a{N} Set compression mode - [0, 1], default: 1 (max)
-d{N} Set dictionary - [0,30], default: 23 (8MB)
-fb{N} Set number of fast bytes - [5, 273], default: 128
-mc{N} Set number of cycles for match finder
-lc{N} Set number of literal context bits - [0, 8], default: 3
-lp{N} Set number of literal pos bits - [0, 4], default: 0
-pb{N} Set number of pos bits - [0, 4], default: 2
-mf{MF_ID}
Set Match Finder: [bt2, bt3, bt4, hc4], default: bt4
-eos Write End Of Stream marker
-si Read data from stdin
-so Write data to stdout
SEE ALSO 7z(1),7za(1)AUTHOR
Written for Debian by Mohammed Adnene Trojette.
Mohammed Adnene Trojette May 5 2006 LZMA(1)