Search Results

Search: Posts Made By: pitagi
1,305
Posted By pitagi
Vi editor question
in Vi how do I delete part of a line ( leave few words in a line and delete rest of the line )
85,259
Posted By pitagi
On the same lines how do I replace nth column ...
On the same lines how do I replace nth column in the file ?

for example

assgin crclk unit1 unit2
assign tap signal_a
Want to put = after 2nd column

assign crclk = unit1 unit2...
5,701
Posted By pitagi
bus bit blasting
I have a file containing bus notations [39:6] which need to be expanded.

Example:

file contains a line like below :

assign gam_ci_raddr[39:6] =...
16,375
Posted By pitagi
Mine is c shell not Bourne Shell
Mine is c shell not Bourne Shell
16,375
Posted By pitagi
that is sufficient but, it gives an error ...
that is sufficient but, it gives an error

filc20092> grep " n$\" filename
Illegal variable name.
filc20092>
16,375
Posted By pitagi
grep second word in a file
How do I match second word and then print that line to output

For eg: My file has following text and I want to check if second word is n then I want to print entire line .

xytxti8naclip ...
2,600
Posted By pitagi
Thanks a lot for your help and I used the cut...
Thanks a lot for your help and I used the cut command and it works

Now I need to get the buses expanded.

What I have:

gtgti1/gtgticcrunit1/gtgti_ccrunit_10n/port_arbiter1/port7[4:0] =...
2,600
Posted By pitagi
Thanks a lot for your help and I used the cut...
Thanks a lot for your help and I used the cut command and it works

Now I need to get the buses expanded.

What I have:

gtgti1/gtgticcrunit1/gtgti_ccrunit_10n/port_arbiter1/port7[4:0] =...
2,600
Posted By pitagi
I used cut command and it worked .. I also...
I used cut command and it worked .. I also undestand how it wokrs. Thanks a lot.

Now I am trying to expand the bus signals.

What I have now is ...
2,600
Posted By pitagi
I used cut command and it worked .. I also...
I used cut command and it worked .. I also undestand how it wokrs. Thanks a lot.

Now I am trying to expand the bus signals.

What I have now is ...
2,600
Posted By pitagi
thanks a lot .. BTW, I am trying to understand 1,...
thanks a lot .. BTW, I am trying to understand 1, 3 and 5. I did man on cut and see it says output only those fileds. considering this, last : is 4th filed , it should be 1,3 and 4 is it not ? I...
2,600
Posted By pitagi
I tried It does only for the part which is on...
I tried It does only for the part which is on leht hand side of = sign . But needed it on the right hand side of = sign

cat filename | sed "s/\[[0-9]/&:/" | sed "s/[0-9]\]/:&/" | cut -d":" -f1,3...
2,600
Posted By pitagi
removing occurances starting with [
I have this line in a file

gtgti1/gtgticcrunit1/gtgti_ccrunit_10n/port_arbiter1/port7[4gtgti1/gtgticcrunit1/gtgti_ccrunit_10n/port_arbiter1/0] =...
2,235
Posted By pitagi
Great !! Thanks
Great !! Thanks
2,235
Posted By pitagi
How do I ad numbers from let say 900 ?
How do I ad numbers from let say 900 ?
2,235
Posted By pitagi
numbering each line in a text file
I have a simple text file.

I want to number each line in that file .

for example:

My text file is

unix
my file
test


My output should be

1 unix
2 my file
3 test
2,486
Posted By pitagi
thanks
thanks
2,486
Posted By pitagi
add a word in the middle
I have a file where in I need to add gctunit1/gtdivcompebb1/ after the = sign

for example:

gtfix31/gctunit_gtdivcompebb1/csclkswcompbypassstepgnnnh[4] =...
1,773
Posted By pitagi
I have [] in a lot of places in a file. I want to...
I have [] in a lot of places in a file. I want to remove whatever is there inside [] and also remove [].
7,487
Posted By pitagi
sed and awk cheat sheet
Where can I get sed and awk cheat sheet ? Need to look for usage of special charaters and meta charaters
1,773
Posted By pitagi
remove all [] in a file
I have a file which has some thing like below.

I want to take out [0], [1] , [2] etc... from these lines

/gtfix11/dt_misr_masknoa_feedthru_pin[0]
/gtfix11/dt_misr_masknoa_feedthru_pin[1]...
6,919
Posted By pitagi
GREAT !!! It works. Thanks for the help
GREAT !!! It works.

Thanks for the help
6,919
Posted By pitagi
Adding a special character at the end of the line
I used following to add * at the end of the line in file1.
It adds * at the end but has a space before it for some lines but some other lines it adds exactly after the last character.

How do...
6,993
Posted By pitagi
yes. I tried this. sed '/feedthru_pin/...
yes. I tried this.

sed '/feedthru_pin/ s#.*#'!!'&#' infile > outfile does not work.
6,993
Posted By pitagi
thanks .. I used sed command it replaces with...
thanks .. I used sed command it replaces with previous command

ls-VEC(VERILOG) gtfix11/avs_cs_done_cs_feedthru_pin[1:1];

ls was my previous command.

should I try

sed...
Showing results 1 to 25 of 26

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