I want to modify it second and third column.
I want to just change the last character of 2nd and 3rd column with some condition.
The condition is if last char of second column is in between [A-E] then print e.g pin16A. However if character is between [F-J] then print it as pin16F. This condition is for all pin not just for pin16 its for all pin.
Thanks and Regards,
Last edited by Scott; 07-25-2013 at 06:29 AM..
Reason: Code tags
Hey all,
I am haivng n number of files all of them are of the same format but different details. i.e
File1 is having the folloeing details:
"Account1",123
"Account2",10
"Account3",12355
"Accountn",555
File2 is having the folloeing details:
"Account1",1234
"Account2",100... (5 Replies)
This is my script. I am pulling the status of some hard where, but the status is in numerical form. The number 4 means Major and the 5 means Critical. In my script I would like to show the alarm type in aplha rather than numeric form. So if instead of seeing a 4 or 5 you would see MAjor or... (11 Replies)
I need help in what to do with a bash script? I'm trying to run a command to output the data from a table and then insert it into commands. Looping for each row of data.
For example the output data from a table:
10 John house
20 Jane apt
30 Joe townhomeThen I need to take the output... (1 Reply)
Hello all
siteexplorer.search.yahoo.com can output results in tsv format, when opened in excel I get 4 columns.
I would like to wget that file, which I can do. I would then like to pull the 2nd column and output it only.
I've searched around and found a few bits and pieces but nothing I've... (6 Replies)
i have a script that access the database and then returns some row. but in the command prompt it it not showing the column header. how to get that ?
below the script:
------------------------------------------------------------------------
#!/bin/ksh
.... (4 Replies)
Hi,
I have a system under test, and I use a script that does a ps.
The output, is in the following format, it's basically the timestamp, followed by the rss and vsize.
09:03:57 68404 183656 68312 181944 69860 217360 67536 182564 69072 183172 69032 199276
09:04:27 68752 183292 70000 189020... (5 Replies)
Hi Guys,
I am trying to convert a file which has a row based output to a column based output. My original file looks like this:
1
2
3
4
5
6
1
2
3
1
2
3 (8 Replies)
Hello All,
i have a file with the contents like shown below
Name = POLICY1
Selected = 1
Written = 0
Name = POLICY2
Selected = 6
Written = 8
Name = POLICY3
Selected = 4
Written = 26
I want the output to be... (5 Replies)
awk -v OFS="\t" -v ORS="\r\n" 'NR==FNR{A=$4; next} A {$4=$4 " " A}1' refseq_genes.txt LCH_exons.txt > output2.txt
Trying to output the data to separate columns in excel, but the 4th column seems to be merged together.
This is more of just a learning question. Thank you :). (1 Reply)
input1
john 20
bob 30
input2
john 60
bob 100
cat input1 >> output
cat input2 >> output
ouput
john 20
bob 30
john 60
bob 100
desired output
input1 input1 input2 input2
john 20 john 60 (3 Replies)
Discussion started by: quincyjones
3 Replies
LEARN ABOUT DEBIAN
verilog::netlist::pin
Netlist::Pin(3pm) User Contributed Perl Documentation Netlist::Pin(3pm)NAME
Verilog::Netlist::Pin - Pin on a Verilog Cell
SYNOPSIS
use Verilog::Netlist;
...
my $pin = $cell->find_pin ('pinname');
print $pin->name;
DESCRIPTION
A Verilog::Netlist::Pin object is created by Verilog::Netlist::Cell for for each pin connection on a cell. A Pin connects a net in the
current design to a port on the instantiated cell's module.
ACCESSORS
See also Verilog::Netlist::Subclass for additional accessors and methods.
$self->cell
Reference to the Verilog::Netlist::Cell the pin is under.
$self->comment
Returns any comments following the definition. keep_comments=>1 must be passed to Verilog::Netlist::new for comments to be retained.
$self->delete
Delete the pin from the cell it's under.
$self->module
Reference to the Verilog::Netlist::Module the pin is in.
$self->name
The name of the pin. May have extra characters to make vectors connect, generally portname is a more readable version. There may be
multiple pins with the same portname, only one pin has a given name.
$self->net
Reference to the Verilog::Netlist::Net the pin connects to. Only valid after a link.
$self->netlist
Reference to the Verilog::Netlist the pin is in.
$self->netname
The net name the pin connects to.
$self->portname
The name of the port connected to.
$self->port
Reference to the Verilog::Netlist::Port the pin connects to. Only valid after a link.
MEMBER FUNCTIONS
See also Verilog::Netlist::Subclass for additional accessors and methods.
$self->lint
Checks the pin for errors. Normally called by Verilog::Netlist::lint.
$self->dump
Prints debugging information for this pin.
DISTRIBUTION
Verilog-Perl is part of the <http://www.veripool.org/> free Verilog EDA software tool suite. The latest version is available from CPAN and
from http://www.veripool.org/verilog-perl <http://www.veripool.org/verilog-perl>.
Copyright 2000-2012 by Wilson Snyder. This package is free software; you can redistribute it and/or modify it under the terms of either
the GNU Lesser General Public License Version 3 or the Perl Artistic License Version 2.0.
AUTHORS
Wilson Snyder <wsnyder@wsnyder.org>
SEE ALSO
Verilog-Perl, Verilog::Netlist::Subclass Verilog::Netlist
perl v5.14.2 2012-05-04 Netlist::Pin(3pm)