11-12-2013
@Akshay Hegde: Not needed for my mawk. But, doesn't hurt, either. Thanks for pointing out.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a pipe delimited file with over 60 fields on each line, and hundreds of lines...I want to replace field 6 only....
So what is the better way to do this command....
awk -F'|' '{print $1"|"$2"|"$3"|"$4"|"$5"| TXT6"$7"|"$8"|"....$59"|"$60}' infile > outfile
I dont even know if this... (2 Replies)
Discussion started by: ajp7701
2 Replies
2. Shell Programming and Scripting
Hi..
How to search for multiple words in a single line using grep?.
Eg: Jack and Jill went up the hill
Jack and Jill were best friends
Humpty and Dumpty were good friends too
----------
I want to extract the 2nd statement(assuming there are several statements with... (11 Replies)
Discussion started by: anduzzi
11 Replies
3. Shell Programming and Scripting
Hi,
I have a requirement with,
No~Dt~Notes
1~2011/08/1~"aaa
bbb
ccc
ddd
eee
fff
ggg
hhh"
Single column alone got splitted into multiple lines.
I require the output as
No~Dt~Notes
1~2011/08/1~"aaa<>bbb<>ccc<>ddd<>eee<>fff<>ggg<>hhh"
mean to say those new lines to be... (1 Reply)
Discussion started by: Bhuvaneswari
1 Replies
4. Shell Programming and Scripting
How can I use single quotes as field separator in awk? (1 Reply)
Discussion started by: locoroco
1 Replies
5. Shell Programming and Scripting
Hi Guys
I have the following file
Essentially, I am trying to find the right awk/sed syntax in order to produce the following 3 distinct files from the file above:
Basically, I want to print the lines of the file as long as the second field of the current line is equal to the... (9 Replies)
Discussion started by: moutaye
9 Replies
6. Shell Programming and Scripting
i have something like this,
cat filename.txt
hui this si s"dfgdfg" omeone ipaddress="10.19.123.104" wel hope this works
i want to replace only 10.19.123.104 with different ip say 10.19.123.103
i tried this
sed -i "s/'ipaddress'/'ipaddress=10.19.123.103'/g" filename.txt
... (1 Reply)
Discussion started by: vivek d r
1 Replies
7. Shell Programming and Scripting
Hi ,
Im new to uxin environment and shell scripting....
please help me with the code for the following scenario.....
file 1 contains the following fields
abc 200 rupee IND
cdf 400 dollar USA
efg 300 euro GER
hij 600 pound ENG
file 2
SBI abc 321 dollar CANAD
kvr mnd ... (6 Replies)
Discussion started by: shivaji_veer
6 Replies
8. Shell Programming and Scripting
here is what i want to achieve.. i have a file with below contents
cat fileName
blah blah blah
.
.DROP this
REJECT that
.
--sport 7800 -j REJECT --reject-with icmp-port-unreachable
--dport 7800 -j REJECT --reject-with icmp-port-unreachable
.
.
.
more blah blah blah
--dport 3306... (14 Replies)
Discussion started by: vivek d r
14 Replies
9. Shell Programming and Scripting
I have a fileA with one column (1000 rows), and fileB with 26 columns(13000 rows).
I need to search each value of fileA with fileB and return all the 26 values from FileB to a new file- File C if matches. The search value (from FileA) may present in any of the 26 values in FileB. This value is not... (7 Replies)
Discussion started by: vamsikrishna928
7 Replies
10. Shell Programming and Scripting
Hello,
I have a text file in the below format:
Source Destination State Lag Status
CQA02W2K12pl:D:\CAQA ... (10 Replies)
Discussion started by: pocodot
10 Replies
LEARN ABOUT XFREE86
atkbdc
ATKBDC(4) BSD Kernel Interfaces Manual ATKBDC(4)
NAME
atkbdc -- the AT keyboard controller interface
SYNOPSIS
options KBD_RESETDELAY=N
options KBD_MAXWAIT=N
options KBDIO_DEBUG=N
device atkbdc
In /boot/device.hints:
hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060"
DESCRIPTION
The keyboard controller atkbdc provides I/O services for the AT keyboard and PS/2 mouse style pointing devices. This controller is required
for the keyboard driver atkbd and the PS/2 pointing device driver psm.
There can be only one atkbdc device configured in the system.
DRIVER CONFIGURATION
Kernel Configuration Options
The following kernel configuration options can be used to control the atkbdc driver. They may be set in the kernel configuration file (see
config(8)).
KBD_RESETDELAY=X, KBD_MAXWAIT=Y
The keyboard driver atkbd and the pointing device driver psm may ask the atkbdc driver to reset these devices during the boot process.
It sometimes takes a long time before these devices respond to the reset command. These options control how long the atkbdc driver
should wait before eventually giving up -- the driver will wait X * Y msecs at most. If the drivers seem unable to detect devices,
you may want to increase these values. The default values are 200 msec for X and 5 for Y.
KBDIO_DEBUG=N
Sets the debug level to N. The default value is zero, which suppresses all debugging output.
SEE ALSO
atkbd(4), psm(4), config(8)
HISTORY
The atkbdc driver first appeared in FreeBSD 3.1. It is based on the kbdio module in FreeBSD 2.2.
AUTHORS
The kbdio module, the atkbdc driver and this manual page were written by Kazutaka Yokota <yokota@FreeBSD.org>.
BSD
February 9, 1999 BSD