10-09-2009
Made for, or used by?
Google doesn't offer courses (or maybe they do?), but they do offer information.
Just googled "sed course" and hey, presto...
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hey all,
Can I put sed command inside the awk action ?? If not then can i do grep in the awk action ??
For ex:
awk '$1=="174" { ppid=($2) ; sed -n '/$ppid/p' tempfind.txt ; }' tempfind.txt
Assume: 174 is string.
Assume: tempfind.txt is used for awk and sed both.
tempfind.txt... (11 Replies)
Discussion started by: varungupta
11 Replies
2. UNIX for Dummies Questions & Answers
im just trying to have some fun and kill some time writing a c++ program that has a person type in a car make and model then gives them a year and a price. or something like that. i always have problems getting it goin but once the ball is rolling im usually pretty good. anyone wanna help me out? ... (1 Reply)
Discussion started by: rickym2626
1 Replies
3. Programming
Hi, i have a question about C++. Is it possible to declare a class with a member ot the same class? For example, a linked list or i want to convert this C code to C++ class (Elemento)
typedef struct elemento
{
char name;
char value;
List<struct elemento> ltElementos;
... (7 Replies)
Discussion started by: pogdorica
7 Replies
4. Shell Programming and Scripting
can anyone tell me why this doesn't work? I've been trying to play with character classes and I seem to be missing something here..!
echo "./comparecdna.summary" | awk '/^compare+]summary$/' # returns nothing
echo "./compare_cdna.summary" | awk '/^compare_+]summary$/' # returns nothing
echo... (5 Replies)
Discussion started by: anthalamus
5 Replies
5. Programming
Hi,
I believe the next code is wrong:
class Egg {
Egg e;
int i;
Egg(int ii=0) : i(ii) {}
};
because you would end up with an endless definition (memory allocation) of Egg objects, thus int i.
Ok, so God Eckel proposes for a singleton:
class Egg {
static Egg e;
int... (5 Replies)
Discussion started by: xavipoes
5 Replies
6. UNIX for Advanced & Expert Users
Hi all!
I am trying to register a device in an existing device class, but I am
having trouble getting the pointer to an existing class.
I can create a class in a module, get the pointer to it and then use
it to register the device with:
*cl = class_create(THIS_MODULE, className);... (0 Replies)
Discussion started by: hdaniel@ualg.pt
0 Replies
7. Shell Programming and Scripting
Hi,
I am running a script sample.sh in bash environment .In the script i am using sed and awk commands which when executed individually from terminal they are getting executed normally but when i give these sed and awk commands in the script it is giving the below errors :-
./sample.sh: line... (12 Replies)
Discussion started by: satishmallidi
12 Replies
8. Programming
I have the two class definition as follows.
class A { public: int a; };
class B : virtual public A{ };
The size of class A is shown as 4, and size of class B is shown as 16. Why is this effect ?. (2 Replies)
Discussion started by: techmonk
2 Replies
9. Programming
Hello All,
I am a learner in C++. I was testing my inheritance knowledge with following piece of code.
#include <iostream>
using namespace std;
class base
{
public :
void display()
{
cout << "In base display()" << endl;
}
void display(int k)
{... (2 Replies)
Discussion started by: anand.shah
2 Replies
LEARN ABOUT DEBIAN
mail::listdetector::detector::googlegroups
Mail::ListDetector::Detector::GoogleGroups(3pm) User Contributed Perl Documentation Mail::ListDetector::Detector::GoogleGroups(3pm)
NAME
Mail::ListDetector::Detector::GoogleGroups - Google Groups message detector
SYNOPSIS
use Mail::ListDetector::Detector::GoogleGroups;
DESCRIPTION
An implementation of a mailing list detector, for Google Groups mailing lists, See http://groups-beta.google.com for information about
Google Groups
Google Groups mailing list messages are RFC2919 compliant but this module provides more information.
METHODS
new()
Inherited from Mail::ListDetector::Detector::Base.
match()
Accepts a Mail::Internet object and returns either a Mail::ListDetector::List object if it is a post to a Google Groups mailing list, or
"undef".
Mail::ListDetector::Detector::RFC2919 is used to extract the information about the list, we just munge it so we know it is a Google Groups
list.
BUGS
No known bugs.
AUTHOR
Matthew Walker - matthew@walker.wattle.id.au, Michael Stevens - michael@etla.org, Peter Oliver - p.d.oliver@mavit.freeserve.co.uk.
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-06-30 Mail::ListDetector::Detector::GoogleGroups(3pm)