09-24-2014
You can use the "thumb up/thanks" button at the bottom right corner for posts that you find useful..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Here is my problem I'm hoping you guru's can help me figure out. I have a text file that contains comma delimited columns. What I'm looking to do is see if the 24th column on each row in the file contains a value (not null), and then write/append that line to a different file.
I've been... (4 Replies)
Discussion started by: WABonnett
4 Replies
2. Solaris
I have a text file with rows of information (it is basically a ls command information(o/p from ls command))
I need to remove the lines ending with a .cnt extension and keep the lines ending with .zip extension, how to accomplish this.
I also only need the date,size and name of the file from every... (2 Replies)
Discussion started by: ramky79
2 Replies
3. Shell Programming and Scripting
I have several huge files wich contains oracle table creation scripts as follows:
I would need to remove the pattern colored in red above. Any sed/awk/pearl code will be of much help.
Thanks (2 Replies)
Discussion started by: sabyasm
2 Replies
4. Shell Programming and Scripting
Hello,
So I wanted to write a very simple script to remove some information from a text file and save it as something else.
For example I have a text file (let's call it txt) with three rows of numbers:
0 0 1 9 8 7 5 0 6 7 9
0 0 7 9 8 1 1 6 4 0 6
0 0 9 8 4 6 0 9 2 8 1
And I want to... (2 Replies)
Discussion started by: hertingm
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I'm trying to remove multiple lines of text based off a series of different words and output it to a new file
The document contains a ton of data but i want to delete any line that has the following
mx1.rr.biz.com or ns2.ri.biz.com
i tried using grep -v filename "mx1.rr.biz.com" >... (3 Replies)
Discussion started by: spartan22
3 Replies
6. Shell Programming and Scripting
I have an ugly conf file that has the string I'm interested in searching for in the middle of a block of code that's relevant, and I'm trying to find a way to remove that entire block based on the matched line.
I've googled for this problem, and most people helping are only interested in... (9 Replies)
Discussion started by: tamale
9 Replies
7. Shell Programming and Scripting
Hi all,
I didn't find anything that specifically answers this after searching for a bit, so please forgive me if this has been covered before.
I'm looking to delete all lines prior to the last occurrence of a string in a file or stream from within a shell script (bash.)
A bit of... (4 Replies)
Discussion started by: LivinFree
4 Replies
8. UNIX for Dummies Questions & Answers
How do you remove trailing empty lines at the end of a text file? Thanks! (3 Replies)
Discussion started by: evelibertine
3 Replies
9. Shell Programming and Scripting
How do I remove line that do not contain text, but that do contain tabs?
I have tried the command
cat file | awk NF
but that doesn't work when the lines contain tabs (and spaces).
I have also tried:
cat file | sed '/^$/d' (9 Replies)
Discussion started by: locoroco
9 Replies
10. Shell Programming and Scripting
Hello.
I'm writing a script where every file you create will generate a md5sum and store it into a text file.
Say I create 2 files, it'll look like this in the text file:
d41d8cd98f00b204e9800998ecf8427e /helloworld/saystheman
d41d8cd98f00b204e9800998ecf8427e /helloworld/test
I... (3 Replies)
Discussion started by: batarangs_
3 Replies
LEARN ABOUT DEBIAN
tpconfig
tpconfig(1) tpconfig(1)
NAME
tpconfig - Configure touchpad devices
SYNOPSIS
tpconfig [ OPTIONS ]
DESCRIPTION
This program can show or modify the configuration of several different kinds of touchpad devices, including most Synaptics TouchPad devices
and the ALPS Glidepad/Stickpointer.
Options for all touchpads:
--help Display a help summary and exit.
-D [N], --debug[=N]
Generate debugging output, where N of 1, 2, or 3 specifies the debugging level. If N is 0, debugging is turned off. If N is not
given, it defaults to 1.
-d DEVICE, --device=DEVICE
Use DEVICE as the device file for the mouse. If this option isn't given, the device file /dev/psaux is used.
--version
Display the version and copyright information and exit.
-i, --info
Display the current touchpad configuration.
-x, --reset
Perform a software reset on the touchpad.
Options for all Synaptics TouchPads:
-q, --quiet, --silent
Suppress verbose output.
-a [N] Display the packet mode. With argument N, set the packet mode, where N=0 means relative and N=1 means absolute.
--absolute
Set the packet mode to absolute.
--relative
Set the packet mode to relative.
-r [N], --rate[=N]
Display the reporting rate. With argument N, set the reporting rate, where N=0 means normal, and N=1 means high.
Options for older Synaptics TouchPads only:
-t [N], --tapmode[=N]
Display the tapping mode. With argument N, set the tapping mode, where N=0 means no tap gestures, and N=1 means tap and drag.
-s [N], --sleep[=N]
Display the sleep mode. With argument N, set the sleep mode, where N=0 means disable, and N=1 means enable.
Options for newer Synaptics TouchPads only:
-t [N], --tapmode[=N]
Display the tapping mode. With argument N, set the tapping mode, where N=0 means no tap gestures, N=1 means tap-to-click only, N=2
means tap and non-locking drag, and N=3 means tap and locking drag.
-2, --two-button
Set two-button mode.
-3, --three-button
Set three-button mode.
-c [N], --corner[=N]
Display the corner-tap mode. With argument N, set the corner-tap mode, where N=0 means disable, and N=1 means enable.
-e [N], --edgemode[=N]
Display edge motion. With argument N, set edge motion, where N=0 means never, N=1 means always, and N=3 means only during drag.
-m Display which mouse button is simulated by corner taps.
--middle-button
Make corner taps simulate the middle mouse button.
--right-button
Make corner taps simulate the right mouse button.
-z [N], --zthreshold[=N]
Display the z threshold setting (tap sensitivity). With argument N, set the z threshold setting to N.
--threshold[=N]
(Same as --zthreshold.)
Options for ALPS touchpads:
-r, --reset
Reset ALPS device.
-t [N], --tapmode[=N]
Display the tapping mode. With argument N, set the tapping mode, where N=0 means tapping disabled, and N=1 means tapping enabled.
EXAMPLES
Often it's desirable to disable tap mode, to prevent mouse events from being generated when the hand brushes the touchpad:
tpconfig --tapmode=0
AUTHORS
Bruce Kall <kall@compass.com>
3.1.3 tpconfig(1)