04-05-2014
Give us an example of the current data and expected changes...we shall try
This User Gave Thanks to SriniShoo For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I have a positional text file that comes from some source application. Before it is processed by destination application I have to add some header (suffix) to every record(line) in the file.
e.g.
Actual File
...............
AccountDetails
AcNO Name Amount
1234 John 26578
5678... (3 Replies)
Discussion started by: sharath160
3 Replies
2. Shell Programming and Scripting
Hi,
I have two files. 1st file has 1 column (huge file containing ~19200000 lines) and 2nd file has 2 columns (small file containing ~6000 lines).
#################################
huge_file.txt
a
a
ab
b
##################################
small_file.txt
a 1.5
b 2.5
ab ... (4 Replies)
Discussion started by: AshwaniSharma09
4 Replies
3. Shell Programming and Scripting
The question is not as simple as the title... I have a file, it looks like this
<string name="string1">RZ-LED</string>
<string name="string2">2.0</string>
<string name="string2">Version 2.0</string>
<string name="string3">BP</string>
I would like to check for duplicate entries of... (11 Replies)
Discussion started by: raidzero
11 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I want to write a script that does something like this:
I have a file, in which in every line, there is a string of words, and followed by some space, a number.
Now, I want to identify the line, which has the largest startFace number (say m=8118), take that number and add it to the... (2 Replies)
Discussion started by: super_commando
2 Replies
5. UNIX for Dummies Questions & Answers
Dear All,
I have a file which contains a column with age, which is represented in two following patterns
1. "007/A" or ''007/a" or ''7 /a" ..... In this case A or a means year and I would like to extract only the numeric values eg 7 in the above case if this pattern exits in a line of file.... (5 Replies)
Discussion started by: pawannoel
5 Replies
6. Shell Programming and Scripting
Hello,
Here's a file of mine:
key1:431
key2:159
key3:998
I need to change these keys to something bigger - and I actually need to shift them all by a range of 3.
The output would be:
key1:434
key2:162
key3:1001
I can't find the propper sed/awk line that would alter all my... (4 Replies)
Discussion started by: fzd
4 Replies
7. UNIX for Dummies Questions & Answers
Hello All,
this is my first post so I don't know if I am doing this right.
I would like to append entries from a series of strings (contained in a text file) consecutively at the end of specifically labeled lines in another file.
As an example:
- the file that contains the values to be... (3 Replies)
Discussion started by: gus74
3 Replies
8. Shell Programming and Scripting
Hi, I have some datatexts with values and I want to replace only the values of the first file with the result of array loaded in one variable.
Also I want the operation difference with the original value replaced and only replace the new value not the character format of the file.
Some Idea?... (24 Replies)
Discussion started by: faka
24 Replies
9. UNIX for Beginners Questions & Answers
Hello Everyone ,
Iam a newbie to shell programming and iam reaching out if anyone can help in this :-
I have two files
1) Insert.txt
2) partition_list.txt
insert.txt looks like this :-
insert into emp1 partition (partition_name)
(a1,
b2,
c4,
s6,
d8)
select
a1,
b2,
c4, (2 Replies)
Discussion started by: nubie2linux
2 Replies
10. Shell Programming and Scripting
Dears,
Need help to implement below requirement
A file (detail.txt)contain :
1st column: Stream
2nd column: PathAddress
3rd column: Counterlimit
4th column: TransactionDateColumn
5th column: DateType
6th column: SleepValue
7th column: Status
Need to write a... (1 Reply)
Discussion started by: sadique.manzar
1 Replies
LEARN ABOUT REDHAT
iwlist
IWLIST(8) Linux Programmer's Manual IWLIST(8)
NAME
iwlist - Get wireless statistics from specific nodes
SYNOPSIS
iwlist interface freq
iwlist interface ap
iwlist interface scan
iwlist interface rate
iwlist interface key
iwlist interface power
iwlist interface txpower
iwlist interface retry
iwlist --help
iwlist --version
DESCRIPTION
Iwlist is used to display some large chunk of information from a wireless network interface that is not displayed by iwconfig. This is typ-
ically list of parameters.
PARAMETERS
freq/channel
Give the list of available frequencies in the device and the number of defined channels. Please note that usually the driver returns
the total number of channels and only the frequencies available in the present locale, so there is no one to one mapping between
frequencies displayed and channel numbers.
ap/accesspoint
Give the list of Access Points in range, and optionally the quality of link to them. This feature is obsolte and now deprecated in
favor of scanning support (below), and it will disappear in the future.
scan[ning]
Give the list of Access Points and Ad-Hoc cells in range, and optionally a whole bunch of information about them (ESSID, Quality,
Frequency, Mode...). The type of information returned depend on what the card support.
Triggering scanning is a priviledged operation (root only) and normal users can only read letf-over scan results. By default, the
way scanning is done (the scope of the scan) will be impacted by the current setting of the driver. Also, this command is supposed
to take extra arguments to control the scanning behaviour, but this is currently not implemented.
rate/bit[rate]
List the bit-rates supported by the device.
key/enc[ryption]
List the encryption key sizes supported and display all the encryption keys availables in the device.
power List the various Power Management attributes and modes of the device.
txpower
List the various Transmit Power available on the device.
retry List the transmit retry limits and retry lifetime on the device.
--version
Display the version of the tools, as well as the recommended and current Wireless Extensions version for the tool and the various
wireless interfaces.
FILES
/proc/net/wireless
SEE ALSO
iwconfig(8), ifconfig(8), iwspy(8). iwpriv(8).
net-tools 31 October 1996 IWLIST(8)