Sponsored Content
Full Discussion: Need help with a manual task
Top Forums Shell Programming and Scripting Need help with a manual task Post 302250078 by joeyg on Wednesday 22nd of October 2008 04:46:43 PM
Old 10-22-2008
Hammer & Screwdriver Here is a first step

Code:
> cat file295
xy-ins 2008yuthnrlsinrthsntwilgrha33260001 sslh12 0000000000000
xy-ins 2008yuthnrlsinrthsntwilgrha33270001 sslh12 0000000000000
xy-ins 2008yuthnrlsinrthsntwilgrha33277001 sslh12 0000000000000
> cat file295 | cut -c36-40 | sort -u
32600
32700
32770

This second command will give you a sorted listing of all entries at that character position. Maybe you will pipe it into the next command, or perhaps just write that output to a work file.

From that list, you want to 'grep' or 'awk' records based on those values to separate into your respective files.

Try to build on this, and respond back if stuck again.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

No manual entry for

I don't seem to be able to get man pages up for any command. When I try the "No manual entry for..." message is displayed. When checking my $MANPATH variable I get the following /opt/SUNconn/man: However, when I check this directory it doesn't exist. Searching for any man directories results... (3 Replies)
Discussion started by: FattyLumpkin
3 Replies

2. Shell Programming and Scripting

Shell Programming Manual

Hi How are you every body? Could you please send me a link to shell programming manual on sun solaris 5.8 Thanks (4 Replies)
Discussion started by: so_friendly
4 Replies

3. Shell Programming and Scripting

unix manual needed :)

hi guys... am new 2 dis unix world... am in need of a unix manual... cud sum1 pls post sum links 2 download it?>?>? :confused: Danks in advance... ;) ;) ;) (1 Reply)
Discussion started by: sundar_shankar
1 Replies

4. Shell Programming and Scripting

comment and Uncomment single task out of multiple task

I have a file contains TASK gsnmpproxy { CommandLine = $SMCHOME/bin/gsnmpProxy.exe } TASK gsnmpdbgui { CommandLine = $SMCHOME/bin/gsnmpdbgui.exe I would like to comment and than uncomment specific task eg TASK gsnmpproxy Pls suggest how to do in shell script (9 Replies)
Discussion started by: madhusmita
9 Replies

5. Shell Programming and Scripting

NDM manual

Hi, Can any of you tell me how to get this ndm manual stuff? I need it to know specific error ids and descriptions Thanks, Vinodhini (1 Reply)
Discussion started by: vinodhini4
1 Replies

6. Shell Programming and Scripting

Parse an XML task list to create each task.xml file

I have an task definition listing xml file that contains a list of tasks such as <TASKLIST <TASK definition="Completion date" id="Taskname1" Some other <CODE name="Code12" <Parameter pname="Dog" input="5.6" units="feet" etc /Parameter> <Parameter... (3 Replies)
Discussion started by: MissI
3 Replies

7. Shell Programming and Scripting

Exiting a manual

I'm sure it's really easy, but I have searched on Google and on the forums and haven't found anything. For instance, if I open the grep manual (man grep), I can't close it. I've tried ctrl+c, ctrl+x, scrolling to the bottom of the manual. How can I exit the manual without closing the shell? ... (8 Replies)
Discussion started by: dennis89
8 Replies

8. Shell Programming and Scripting

No Manual Entry

Hi, While executing the following command i am getting output as command not found. iostat output: command not found Also, man iostat is displaying "NO Manual Entry" Why is it so? (5 Replies)
Discussion started by: salil2012
5 Replies

9. Shell Programming and Scripting

Automation of manual process

my problem step by step... 1.I have 5 files at the location (/usr/abc) for example file1, file2, file3, file4 and fe.ok 2. I have to transfer 2 of the above files from which one is fixed file (fe.ok) for example file1 and fe.ok to usr/dob using cp command. 3.After transferring i will... (2 Replies)
Discussion started by: j_panky
2 Replies
Net::DBus::Binding::Introspector(3pm)			User Contributed Perl Documentation		     Net::DBus::Binding::Introspector(3pm)

NAME
Net::DBus::Binding::Introspector - Handler for object introspection data SYNOPSIS
# Create an object populating with info from an # XML doc containing introspection data. my $ins = Net::DBus::Binding::Introspector->new(xml => $data); # Create an object, defining introspection data # programmatically my $ins = Net::DBus::Binding::Introspector->new(object_path => $object->get_object_path); $ins->add_method("DoSomething", ["string"], [], "org.example.MyObject"); $ins->add_method("TestSomething", ["int32"], [], "org.example.MyObject"); DESCRIPTION
This class is responsible for managing introspection data, and answering questions about it. This is not intended for use by application developers, whom should instead consult the higher level API in Net::DBus::Exporter. METHODS
my $ins = Net::DBus::Binding::Introspector->new(object_path => $object_path, xml => $xml); Creates a new introspection data manager for the object registered at the path specified for the "object_path" parameter. The optional "xml" parameter can be used to pre-load the manager with introspection metadata from an XML document. $ins->add_interface($name) Register the object as providing an interface with the name $name my $bool = $ins->has_interface($name) Return a true value if the object is registered as providing an interface with the name $name; returns false otherwise. my @interfaces = $ins->has_method($name, [$interface]) Return a list of all interfaces provided by the object, which contain a method called $name. This may be an empty list. The optional $interface parameter can restrict the check to just that one interface. my $boolean = $ins->is_method_allowed($name[, $interface]) Checks according to whether the remote caller is allowed to invoke the method $name on the object associated with this introspector. If this object has 'strict exports' enabled, then only explicitly exported methods will be allowed. The optional $interface parameter can restrict the check to just that one interface. Returns a non-zero value if the method should be allowed. my @interfaces = $ins->has_signal($name) Return a list of all interfaces provided by the object, which contain a signal called $name. This may be an empty list. my @interfaces = $ins->has_property($name) Return a list of all interfaces provided by the object, which contain a property called $name. This may be an empty list. The optional $interface parameter can restrict the check to just that one interface. $ins->add_method($name, $params, $returns, $interface, $attributes, $paramnames, $returnnames); Register the object as providing a method called $name accepting parameters whose types are declared by $params and returning values whose type are declared by $returns. The method will be scoped to the inteface named by $interface. The $attributes parameter is a hash reference for annotating the method. The $paramnames and $returnames parameters are a list of argument and return value names. $ins->add_signal($name, $params, $interface, $attributes); Register the object as providing a signal called $name with parameters whose types are declared by $params. The signal will be scoped to the inteface named by $interface. The $attributes parameter is a hash reference for annotating the signal. $ins->add_property($name, $type, $access, $interface, $attributes); Register the object as providing a property called $name with a type of $type. The $access parameter can be one of "read", "write", or "readwrite". The property will be scoped to the inteface named by $interface. The $attributes parameter is a hash reference for annotating the signal. my $boolean = $ins->is_method_deprecated($name, $interface) Returns a true value if the method called $name in the interface $interface is marked as deprecated my $boolean = $ins->is_signal_deprecated($name, $interface) Returns a true value if the signal called $name in the interface $interface is marked as deprecated my $boolean = $ins->is_property_deprecated($name, $interface) Returns a true value if the property called $name in the interface $interface is marked as deprecated my $boolean = $ins->does_method_reply($name, $interface) Returns a true value if the method called $name in the interface $interface will generate a reply. Returns a false value otherwise. my @names = $ins->list_interfaces Returns a list of all interfaces registered as being provided by the object. my @names = $ins->list_methods($interface) Returns a list of all methods registered as being provided by the object, within the interface $interface. my @names = $ins->list_signals($interface) Returns a list of all signals registered as being provided by the object, within the interface $interface. my @names = $ins->list_properties($interface) Returns a list of all properties registered as being provided by the object, within the interface $interface. my @paths = $self->list_children; Returns a list of object paths representing all the children of this node. my $path = $ins->get_object_path Returns the path of the object associated with this introspection data my @types = $ins->get_method_params($interface, $name) Returns a list of declared data types for parameters of the method called $name within the interface $interface. my @types = $ins->get_method_param_names($interface, $name) Returns a list of declared names for parameters of the method called $name within the interface $interface. my @types = $ins->get_method_returns($interface, $name) Returns a list of declared data types for return values of the method called $name within the interface $interface. my @types = $ins->get_method_return_names($interface, $name) Returns a list of declared names for return values of the method called $name within the interface $interface. my @types = $ins->get_signal_params($interface, $name) Returns a list of declared data types for values associated with the signal called $name within the interface $interface. my @types = $ins->get_signal_param_names($interface, $name) Returns a list of declared names for values associated with the signal called $name within the interface $interface. my $type = $ins->get_property_type($interface, $name) Returns the declared data type for property called $name within the interface $interface. my $bool = $ins->is_property_readable($interface, $name); Returns a true value if the property called $name within the interface $interface can have its value read. my $bool = $ins->is_property_writable($interface, $name); Returns a true value if the property called $name within the interface $interface can have its value written to. my $xml = $ins->format([$obj]) Return a string containing an XML document representing the state of the introspection data. The optional $obj parameter can be an instance of Net::DBus::Object to include object specific information in the XML (eg child nodes). my $xml_fragment = $ins->to_xml Returns a string containing an XML fragment representing the state of the introspection data. This is basically the same as the "format" method, but without the leading doctype declaration. $type = $ins->to_xml_type($type) Takes a text-based representation of a data type and returns the compact representation used in XML introspection data. $ins->encode($message, $type, $name, $direction, @args) Append a set of values <@args> to a message object $message. The $type parameter is either "signal" or "method" and $direction is either "params" or "returns". The introspection data will be queried to obtain the declared data types & the argument marshalling accordingly. my @args = $ins->decode($message, $type, $name, $direction) Unmarshalls the contents of a message object $message. The $type parameter is either "signal" or "method" and $direction is either "params" or "returns". The introspection data will be queried to obtain the declared data types & the arguments unmarshalled accordingly. AUTHOR
Daniel P. Berrange COPYRIGHT
Copyright (C) 2004-2011 Daniel P. Berrange SEE ALSO
Net::DBus::Exporter, Net::DBus::Binding::Message perl v5.14.2 2011-06-30 Net::DBus::Binding::Introspector(3pm)
All times are GMT -4. The time now is 06:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy