AppleCare Help Desk Support: How to find the registration number
Learn how to find the registration number of an AppleCare Help Desk Support Agreement. (For other types of AppleCare agreements, go to How to find your AppleCare registration number.)
Hi
I want to use awk to match where field 3 contains a number within string - then print the line and just the number as a new field.
The source file is pipe delimited and looks something like
1|net|ABC Letr1|1530|||
1|net|EXP_1040 ABC|1121|||
1|net|EXP_TG1224|1122|||
1|net|R_North|1123|||... (5 Replies)
I would THANK if you answer my doubts in DETAILS please.
Here's a sample code to create a device:
if(scull_major) {
dev=MKDEV(scull_major, scull_minor);
result=register_chrdev_region(dev, scull_nr_devs, "scull");
} else{
result=alloc_chrdev_region(&dev, scull_minor,... (2 Replies)
XmRepTypeGetRegistered(3X)XmRepTypeGetRegistered(3X)NAME
XmRepTypeGetRegistered - A representation type manager function that returns a copy of the registration list
SYNOPSIS
#include <Xm/RepType.h>
XmRepTypeList XmRepTypeGetRegistered ()
DESCRIPTION
XmRepTypeGetRegistered retrieves information about all representation types that are registered with the representation type manager. The
registration list is an array of structures, each of which contains information for a representation type entry. The end of the registra-
tion list is marked with a representation type entry whose rep_type_name field has a NULL pointer. This routine allocates memory for the
returned data. The application must free this memory using XtFree.
The representation type entry structure contains the following information:
typedef struct {
String rep_type_name;
String *value_names;
unsigned char *values;
unsigned char num_values;
Boolean reverse_installed;
XmRepTypeId rep_type_id; } XmRepTypeEntryRec, *XmRepTypeList ;
The name of the representation type An array of representation type value names An array of representation type numerical values The number
of values associated with the representation type A flag that indicates whether or not the reverse converter is installed The identifica-
tion number of the representation type
RETURN VALUE
Returns a pointer to the registration list of representation types.
SEE ALSO XmRepTypeRegister(3X), XmRepTypeGetRecord(3X)XmRepTypeGetRegistered(3X)