Hi there
I would like to create a shell script to do the following:
- delete a line in file1 if it contains the data string in file2
eg: file1
1 100109942004051510601703694 0.00 0.00
2 100109942004051510601702326 0.00 0.00
3 ... (1 Reply)
First of all, I know this can be more eassily done with perl or other scripting languages but, that's not the issue. I need this in sed. (or wander if it's possible )
I got a file (trace file to recreate the control file from oracle for the dba boys)
which contains
some lines
another line... (11 Replies)
Hello ,
Is there a way to delete lines from a file where data is continously appended to the file. I can use normal vi command ndd to remove n number of lines from the file, as the data is continously appended the line numbers doesnt work. (1 Reply)
Hi
I have a file with lines ending with a date in format dd/mm/yyyy see example below:
a|b|c|08/01/2011
d|a|e|31/11/2010
e|d|f|20/11/2010
f|s|r|18/01/2011
What I would like to do is delete all lines with a date older than 30 days.
With above example I should be left with a file... (5 Replies)
Hi
I am using the following command to delete a line from the file by line number:
line_number=14
sed "${line_number}d" inputfilename > newfilename
Is there a way to modify this command to specify the range of lines to be deleted, lets say from line 14 till line 5 ?
I tried using the... (5 Replies)
Hi folks,
I've list of LDAP records in this format:
cat cmmac.export.tmp2
dn: deviceId=0a92746a54tbmd34b05758900131136a506,ou=devices,ou=customer,ou=nl,o=upc
cmmac: 00:13:11:36:a5:06
dn: deviceId=0a92746a62pbms4662299650015961cfa23,ou=devices,ou=customer,ou=nl,o=upc
cmmac:... (4 Replies)
Hi Guys,
Please help me with my problem here:
I have a source file:
1212 23232 343434 ASAS1 4
3212 23232 343434 ASAS2 4
3234 23232 343434 QWQW1 4
1134 23232 343434 QWQW2 4
3212 23232 343434 QWQW3 4
and a mapping... (4 Replies)
Dear everyone,
I have a file with 900 lines (there is only numbers in one line, no string),
I only need the lines 2+3n (n=0,1...296), i.e line 2, 5, 8, 11...888.
I tried google but only the results such as how to delete all the odd lines or all the even lines with 'awk' command.
Thanks in... (4 Replies)
Hi ,
i have a file with data as below.This is same file. But actual file contains to many rows.
i want to search for a string "Field 039 00" and delete that line and previous 3 lines in that file.. Can some body suggested me how can i do using either sed or awk command ?
Field 004... (7 Replies)
Discussion started by: vadlamudy
7 Replies
LEARN ABOUT SUSE
gnome-phone-manager
GNOME-PHONE-MANAGER(1) User Commands GNOME-PHONE-MANAGER(1)NAME
gnome-phone-manager - Manage your mobile phone
USAGE
gnome-phone-manager [--identify <baddr>] [--config] [-d|--debug]] [--display=DISPLAY]
DESCRIPTION
This manual page documents briefly the gnome-phone-manager command.
gnome-phone-manager is a program created to allow you to control aspects of your mobile phone from your GNOME 2 desktop.
Current features include:
- Runs in the background; indicates status on the panel notification area,
- Display on-screen alert when text message (SMS) arrives,
- Text message (SMS) sending facility,
- Evolution Addressbook integration.
OPTIONS
Help Options:
-?, --help
Show help options
--help-all
Show all help options
--help-gtk
Show GTK+ Options
--help-gst
Show GStreamer Options
Application Options:
--identify <bdaddr>
Show model name of the device with Bluetooth address bdaddr.
--config
Write the configuration file for gnokii debugging
-d, --debug
Enable debug
--display=DISPLAY
X display to use
SEE ALSO
Homepage: http://live.gnome.org/PhoneManager
AUTHOR
gnome-phone-manager was written by Bastien Nocera <<hadess@hadess.net>> and Edd Dumbill <edd@usefullinc.com>
This manual page was written by Francesco Namuri <francesco@namuri.it> for the Debian project (but may be used by others).
Francesco Namuri July 2007 GNOME-PHONE-MANAGER(1)