01-05-2016
Hi RudiC,
Thanks for the reply, It works good as i expected...
-
Thiyags.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can someone please help me with how to extract the last word on a line to a new file? I have a list of names like:
Ms. Nell D. Bullock
Mrs. Sherrie M Avent
LINDA ANNETTE RUSSELL
Mr. Jerome R. Harris
Pandora Tyndall
I want the new file to look like this:
Bullock
Avent
RUSSELL
Harris... (10 Replies)
Discussion started by: michieka
10 Replies
2. Shell Programming and Scripting
How do I replace only if the keyword is at the begining of a line?
Code:
--
a = “This is a print statement”
print a
--
What if I want to replace print by #print only in the second line i.e only if the line starts with that keyword.
Please help me out. I'm new to SED.
-----Post... (5 Replies)
Discussion started by: alexzubin
5 Replies
3. Shell Programming and Scripting
Hello Friends,
I have a txt file which has data like this
TNS Ping Utility for Solaris: Version 10.2.0.3.0 - Production on 23-MAR-2010 15:38:42
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to... (7 Replies)
Discussion started by: njafri
7 Replies
4. UNIX for Dummies Questions & Answers
Hi Experts,
I have a file which contains some text. i need to print the word next to a given keyword. Please help.
Ex: test.txt
=====================
NEXT HOST
=====================
AEADBAS001
access-list 1 permit xxxxxxxxxxxxxx
ip access-list extended BLA_Outgoing_Filter... (6 Replies)
Discussion started by: mwrg
6 Replies
5. Shell Programming and Scripting
Hi i want to extract the word present before .txt in the text file.
For example,
Sample_ab_a.txt ----------> i need 'a'
Sample_abc_b.txt -----------> i need 'b'
Can anyone help me in getting the word extracted (5 Replies)
Discussion started by: Sindhuap
5 Replies
6. Shell Programming and Scripting
Hi friends,
i just want to know the command though which i can get the next word which comes just after a particluar keyword. For example:
suppose text.out is file which contains a pl/sql procedure . i want to find out the word which falls just after the "table1" keyword.
Thank... (7 Replies)
Discussion started by: neelmani
7 Replies
7. Shell Programming and Scripting
I have a text and I want to extract the 4 lines following a keyword!
For example if I have this text and the keyword is AAA
hello
helloo
AAA
one
two
three
four
helloooo
hellooo
I want the output to be
one
two
three
four (7 Replies)
Discussion started by: stekanius
7 Replies
8. Shell Programming and Scripting
Hi
I want to implement something like this:
if( keyword1 exists)
then
check if(keyword2 exists in the same line)
then replace keyword 2 with New_Keyword
else
Add New_Keyword at the end of line
end if
eg:
Check for Keyword JUNGLE and add/replace... (7 Replies)
Discussion started by: dashing201
7 Replies
9. Shell Programming and Scripting
I have a file which I am reading and then I need to extract a particualr word and if it matches the line.
2015-01-22 07:30:17,814000 +0900 /INFO: - <ns2:virtualServerid="PH11PK" />
Means if the line contain Virtual server I need to extract the id .
Code I wrote#!/usr/bin/perl
... (19 Replies)
Discussion started by: karan8810
19 Replies
10. UNIX for Beginners Questions & Answers
I have a csv file as shown below,
xop_thy 80 avr_njk 50 str_nyu 60
avr_irt 70 str_nhj 60 avr_ngt 50
str_tgt 80 xop_nmg 50 xop_nth 40
cyv_gty 40 cop_thl 40 vir_tyk 80
vir_plo 20 vir_thk 40 ijk_yuc 70
cop_thy 70 ijk_yuc 80 irt_hgt 80
I need to align/sort the csv file based... (7 Replies)
Discussion started by: dineshkumarsrk
7 Replies
LEARN ABOUT DEBIAN
innoextract
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)