10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Gurus,
I have a multiple pipe separated files which have records going over multiple Lines. End of line separator is \n and records going over multiple lines have <CR> as separator. below is example from one file.
1|ABC DEF|100|10
2|PQ
RS
T|200|20
3| UVWXYZ|300|30
4| GHIJKL|400|40... (7 Replies)
Discussion started by: dJHa
7 Replies
2. Shell Programming and Scripting
Hi All,
I have my data like below
"1","abc,db","hac,aron","4","5"
Now I need to extract 1,2,4th columns
Output should be like
"1",abc,db","4"
Am trying to use cut command but not able to get the results.
Thanks in advance. (4 Replies)
Discussion started by: weknowd
4 Replies
3. Shell Programming and Scripting
Hello,
I would like to ask for help with csh script.
An example of an input in .txt file is below, the number of lines varies from file to file and I have 2 or 3 columns with values. I would like to read all the values (probably one by one) and set them to independent unique variables that... (7 Replies)
Discussion started by: FMMOLA
7 Replies
4. Shell Programming and Scripting
Hi guys,
I have very basic linux experience so I need some help with a problem.
I have 3 files from which I want to extract columns based on common fields between them.
File1:
--- rs74078040 NA 51288690 T G 461652 0.99223 0.53611 3
--- rs77209296 NA 51303525 T G 461843 0.98973 0.60837 3... (10 Replies)
Discussion started by: bartman2099
10 Replies
5. Shell Programming and Scripting
Hi,
input file1
abcd 123 198 xyz1:0909090-0909091
ghij 234 999 xyz2:987654:987655
kilo 7890 7990 xyz3:12345-12357
prem 9 112 xyz5:97-1134
input file2
abcd 123 198 xyz1:0909090-0909091 -9.122 0
abed 88 98 xyz1:98989-090808 -1.234 1.345
ghij 234 999 xyz2:987654:987655 -10.87090909 5... (5 Replies)
Discussion started by: jacobs.smith
5 Replies
6. UNIX for Dummies Questions & Answers
Hypothetically, suppose that
file1
id v1 v2 v3 v4 v5 v6 v7..........v100
1 1 1 1 1 1 2 2 .....50
2 1 1 1 1 1 2 2 .....50
3 1 1 1 1 1 2 2 .....50
4 1 1 1 1 1 2 2 .....50
5 1 1 1 1 1 2 2 .....50
I want to write a loop such that I take the id# and the first 5 columns (v1-v5) into the... (3 Replies)
Discussion started by: johnkim0806
3 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I have 7 files, each containing 9 columns separated by space. I want to extract the 9th columns from every file and save in a new file. The columns must be pasted next to each other. And the title of each columns should be the name of the corresponding files! Since the 3rd column is... (1 Reply)
Discussion started by: Unilearn
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I'd like to process multiple files. For example:
file1.txt
file2.txt
file3.txt
Each file contains several lines of data. I want to extract a piece of data and output it to a new file.
file1.txt ----> newfile1.txt
file2.txt ----> newfile2.txt
file3.txt ----> newfile3.txt
Here is... (3 Replies)
Discussion started by: Liverpaul09
3 Replies
9. Shell Programming and Scripting
Hello,
I am trying to write a bash shell script that does the following:
1.Finds all *.txt files within my directory of interest
2. reads each of the files (25 files) one by one (tab-delimited format and have the same data format)
3. skips the first 10 rows of the file
4. extracts and... (4 Replies)
Discussion started by: manishabh
4 Replies
10. Shell Programming and Scripting
Hi there,
I was wondering if someone can help me with this.
I am trying the combine multiple columns from multiple files into one file.
Example file 1:
c0t0d0 c0t2d0 # hostname vgname
c0t0d1 c0t2d1 # hostname vgname
c0t0d2 c0t2d2 # hostname vgname
c0t1d0 c0t3d0 # hostname vgname1... (5 Replies)
Discussion started by: martva
5 Replies
innoextract(1) General Commands Manual innoextract(1)
NAME
innoextract - tool to extract installers created by Inno Setup
SYNOPSIS
innoextract [-behlLqstv] [-ccolor] [-pprogress] installers ...
DESCRIPTION
innoextract is a tool that can extract installer executables created by Inno Setup.
innoextract will extract files from a installers specified on the command line.
To extract a multi-part installer with external data files, only the executable (.exe) file needs to be given as an argument to innoex-
tract.
OPTIONS
-c --color [enable]
By default innoextract will try to detect if the terminal supports shell escape codes and enable or disable color output accord-
ingly. Pass 1 or true to --color to force color output. Pass 0 or false to never output color codes.
--dump Don't convert Windows paths to UNIX paths and don't substitute variables in paths.
-e --extract
Extract all files to the current directory. This is the default action. You may only specify one of --extract , --list and --test
-h --help
Show a list of the supported options.
--language [lang]
Extract only language-independent files and files for the given language. By default all files are extracted.
--license
Show license information.
-l --list
List files contained in the installer but don't extract anything. You may only specify one of --extract , --list and --test
-L --lowercase
Convert filenames stored in the installer to lower-case before extracting.
-p --progress [enable]
By default innoextract will try to detect if the terminal supports shell escape codes and enable or disable progress bar output
accordingly. Pass 1 or true to --progress to force progress bar output. Pass 0 or false to never show a progress bar.
-q --quiet
Less verbose output.
-s --silent
Don't output anything except errors and warnings.
-t --test
Test archive integrity but don't write any output files. You may only specify one of --extract , --list and --test
-v --version
Show the innoextract version number and supported Inno Setup versions.
LIMITATIONS
innoextract currently only supports extracting all the data. There is no support for extracting individual files, components or languages.
Included scripts and checks are not executed.
Data is always extracted to the current directory and the mapping from Inno Setup variables like the application directory to subdirecto-
ries is hard-coded.
innoextract does not check if an installer includes multiple files with the same name and will continually overwrite the destination file
when extracting.
Names for data files in multi-file installers must follow the standard naming scheme.
Encrypted installers are not supported.
SEE ALSO
cabextract(1), unshield(1)
BUGS
No known bugs.
AUTHOR
Daniel Scharrer (daniel@constexpr.org)
1.2 2012-04-01 innoextract(1)