I am getting a variable as x=2006/01/18
now I have to extract each field from it.
Like x1=2006, x2=01 and x3=18.
Any idea how?
Thanks a lot for help.
Thanks
CSaha (6 Replies)
Dear friends,
I'm a novice Unix user and I'm trying to learn the ropes. I have a big task I have to accomplish and I'm convinced Unix can get the job done, I just haven't figured out how. I recently posted on the topic of cutting text between unique text patterns and somebody helped me a great... (24 Replies)
Hi,
i have a line with several fields (indefinite number of - count varies) separated by colon.
Now, i need to pick each field (except the first one) and have it assigned to variable within a loop. In other words, in the first iteration of the loop, the variable must be assigned with 2nd... (2 Replies)
Greetings,
I would like to extract records from a fixed width text file that have unique field elements.
Data is structured like this:
John A Smith NY
Mary C Jones WA
Adam J Clark PA
Mary Jones WA
Fieldname / start-end position
Firstname 1-10... (8 Replies)
I need some assistance, I am writing a script in bash.
I want to do two things:
1/. I want to replace the LF at the end of the RFH Ø ¸MQSTR ¸ so I can process the file record by record using a while loop.
2/. I want to extract two fields from each record, they are identified with... (1 Reply)
I am need to extract a number of values from a file, put have now clue how to do this.
The file looks like this:
# My file
Dest=87;CompatibleSystemSoftwareVersion=2.5300-;
Dest=87;ImageVersion=000061f3;SystemSoftwareVersion=2.5300;CDN=http://my.backup.com/download.txt;CDN_Timeout=30;
I... (3 Replies)
I have an input file with contents like:
203969 OrdAcctCycChg USAGE_DAEMON1
203970 OrdAcctCycChg USAGE_DAEMON2
203971 OrdAcctCycChg USAGE_DAEMON3
203972 OrdAcctCycChg USAGE_DAEMON4
I need to extract variables in first column... (51 Replies)
Hi All,
I am writing the following Perl Scrip and need your help in Pattern matching :
I have the following Shell Script that would read line by line from the file (file_svn) and would inturn calls the Perl Script:
#!/bin/bash
perl_path="/home/dev/filter"... (2 Replies)
I have one file A.txt which is comma separated and I want to extract first 4 field's in a file and also I want to add one more column in output
A.txt in output for all records. A.txt should not be hard coded since I do not filename it may be any file. (1 Reply)
Hello All,
I have a requirement to split the input.xml file different files and i have tried using earlier examples(where i have posted in the forum), but still no luck
Here is my input.xml
<jms-system-resource>
<name>UMSJMSSystemResource</name>
... (4 Replies)
Discussion started by: Siv51427882
4 Replies
LEARN ABOUT DEBIAN
unrar-free
UNRAR-FREE(1) General Commands Manual UNRAR-FREE(1)NAME
unrar-free -- extract files from rar archives
SYNOPSIS
unrar-free [-xtfp?V] [--extract] [--list] [--force] [--extract-newer] [--extract-no-paths] [--password] [--help] [--usage] [--ver-
sion] ARCHIVE [FILE ...] [DESTINATION]
DESCRIPTION
unrar-free is a program for extracting files from rar archives.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is
included below.
-x--extract
Extract files from archive (default).
-t--list
List files in archive.
-f--force
Overwrite files when extracting.
--extract-newer
Only extract newer files from the archive.
--extract-no-paths
Don't create directories while extracting.
-p--password
Decrypt archive using a password.
-? --help
Show program help.
--usage Show short program usage message.
-V--version
Show version of program.
NON-FREE UNRAR COMPATIBLE SYNOPSIS
unrar-free [elvx] [-ep] [-o+] [-o-] [-ppassword] [-u] [--] ARCHIVE [FILE ...] [DESTINATION]
This syntax should only be used in front-end programs which are using non-free unrar as a back-end. It is recommended to use this program
by GNU command line syntax.
e Extract files from archive without full path.
l List files in archive.
v Verbose list files in archive.
x Extract files from archive with full path.
-ep Don't create directories while extracting.
-o+ Overwrite files when extracting.
-o- Don't overwrite files when extracting.
-p Decrypt archive using a password.
-u Only extract newer files from the archive.
-- Disable further switch processing. Any switch after the -- are treated as filenames and destination.
BUGS
Advanced features of version 3.0 archives are not currently supported.
AUTHORS
unrar-free was written by Ben Asselstine based on UniquE RAR File Library by Christian Scheurer and Johannes Winkelmann.
This manual page was written by Niklas Vainio <niklas.vainio@iki.fi> for the Debian system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version pub-
lished by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
UNRAR-FREE(1)