Search Results

Search: Posts Made By: matbrow
4,920
Posted By matbrow
This works great. Thanks Corona...
This works great. Thanks Corona...
4,920
Posted By matbrow
Only the module can slip up. The input and output...
Only the module can slip up. The input and output should be left as it is

module xyz (
x,
y,
z, a, b, c);

input x;
inputy;
output a;
output b;

endmodule

Please use code tags...
4,920
Posted By matbrow
Corona688, This does some of it. In the...
Corona688,

This does some of it. In the verilog file, the module definition could have

module xyz (
x,
y,
z,
a,
b,
c
);

instead of just

module xyz (x, y, z, a, b, c);

I need...
4,920
Posted By matbrow
Remove some content from a verilog file
Hi,

I have a verilog file which looks like

module xyz (x, y, z, a, b, c);
input x;
input y;
input z;
output a;
output b;
output c;

initial begin
...
end

always ...
...
...
21,832
Posted By matbrow
Thanks guys, it works. Really appreciate it.
Thanks guys, it works. Really appreciate it.
21,832
Posted By matbrow
sed or awk to print 2nd last word
Hi,

I have a file which has the following
/usr/new/xyz/abc
/us1/neb/yxr/def
/usr/bin/cloud1/fgh
/net/bin1/txt1/kdq

I want to do something like this
/usr/new/xyz/abc xyz
/us1/neb/yxr/def...
3,140
Posted By matbrow
@Chubler: It works!! great. Thanks.
@Chubler: It works!! great. Thanks.
3,140
Posted By matbrow
@chubler: You are right, dos2unix worked and the...
@chubler: You are right, dos2unix worked and the script does work now. I did create on the windows side for this one. Not for the other ones though. They still seem to have the problem. Thanks Bud. ...
3,140
Posted By matbrow
The version of linux I have is Red Hat...
The version of linux I have is

Red Hat Enterprise Linux WS release 4 (Nahant Update 5). Gawk also throws the same error.
3,140
Posted By matbrow
@chubler: I dont have the nawk executable, I see...
@chubler: I dont have the nawk executable, I see gawk. I do not have the rights to install the rpm too.
3,140
Posted By matbrow
@scottn & @yin Both the codes seems to work...
@scottn & @yin

Both the codes seems to work but in the statement

file=`sed xxxx`

It executes the sed statement correctly but puts an '=' sign before so when the cp command is executed it...
3,140
Posted By matbrow
@yinyuemi I tried your code and when I...
@yinyuemi

I tried your code and when I execute it

=/usr/proj/1.txt : cannot open (=/usr/proj/1.txt)
cp: missing destination file
Try cp--help

This is what I have in new.txt

.include...
3,140
Posted By matbrow
@Chubler_XL: I tried your script and it gives me...
@Chubler_XL: I tried your script and it gives me "unmatched" something is not matching. Doesnt give me a lot to debug.

@guru: tried your sed command and it comes up with message ".cp : command not...
3,140
Posted By matbrow
Chubler, Thanks, let me try it. Now...
Chubler,

Thanks, let me try it.

Now that you mentioned, 1.txt might have includes too.
3,140
Posted By matbrow
What I meant was while parsing the file, it...
What I meant was while parsing the file, it should find all the places where there is an include statement and whatever is there in the include statement, I should be able to copy that file...
3,140
Posted By matbrow
Help with sed/awk
This is what i am trying to do. I have a file which has the following

file name-new.txt

*
include "/net/proj/new/1.txt"
include "/net/proj1/new/2.txt"
*

What I would like is to copy the...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 07:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy