Search Results

Search: Posts Made By: jypark22
1,468
Posted By jypark22
Thank you, Don. Your code is perfect for...
Thank you, Don.

Your code is perfect for me. I will be careful in the next time before I will post.

Jaeyoung
1,468
Posted By jypark22
First of all, I am sorry about my bad attitude. ...
First of all, I am sorry about my bad attitude.

I tried 'uniq' that only show uniq strings first, but don't know how to show uniq chunks. It only works for lines. And then I tried sed.
sed -r...
1,468
Posted By jypark22
Deleting duplicated chunks in a file using awk/sed
Hi all,

I'd always appreciate all helps from this site.

I would like to delete duplicated chunks of strings on the same row(?).

One chunk is comprised of four lines such as:
path name...
2,364
Posted By jypark22
Thank you so much, Don. It is resolved when...
Thank you so much, Don.

It is resolved when I added "\t" before $0.

Best,

Jaeyoung
2,364
Posted By jypark22
Is anybody help me to fix the last step? I need a...
Is anybody help me to fix the last step? I need a tab or a space between strings. I tried many ways but did not work. Thank you in advance.



My current code:
awk '
NR==FNR {T[$2] =...
2,364
Posted By jypark22
Hi RudiC, I have changed a server to run...
Hi RudiC,

I have changed a server to run this code and get the desired result. One quick question is how to insert a tab between strings. I tried print P[i, j]"\t" and print "\t"P[i, j], but did...
2,364
Posted By jypark22
nothing to show. Is there a bash shell/cshell...
nothing to show. Is there a bash shell/cshell issue? I will try it with cshell.
2,364
Posted By jypark22
Thank you. I think I need replace file[12] with...
Thank you. I think I need replace file[12] with index.txt and source.txt. Is that correct?


awk '
NR==FNR {T[$2] = $1
MX = $1
next
}...
2,364
Posted By jypark22
Relocation strings using awk/sed from a index file
Hi All,

I'd always appreciate all helps from this website. I would like to relocate strings based on the index number from an index file.


Index numbers are shown on the first column in the...
978
Posted By jypark22
Relocation strings
Hi all,

I would like to relocate strings based on the index number.

Index numbers are shown on the first column, the strings are shown on the second column.

1 ...
1,222
Posted By jypark22
Deleting lines containing duplicated strings
Dear all,

I always appreciate your help.

I would like to delete lines containing duplicated strings in the second column.

test.txt
658 invert_d2e_q_reg_0_/Qalu_ecl_zlow_e 0.825692...
1,481
Posted By jypark22
Thank you for all replies. I have found a...
Thank you for all replies.

I have found a code by myself by modifying the existing code.

awk -v time=0.714 '
FNR==1 {
i_file++;
V[i_file] = gensub(/0p([0-9]+)\.rpt_in/, "\\1", "g",...
1,481
Posted By jypark22
Both data arrival times need to be calculated....
Both data arrival times need to be calculated. The first calculated output, 0.8295 is an interpolation result from (0.78-0.945)/(0.72-0.70)*0.714+(0.945-0.70*(0.78-0.945)/(0.72-0.70)).

The other...
1,481
Posted By jypark22
An interpolation between two files
Dear all,

I always appreciate your help. I am an electrical engineer. I am using a tool for timing analysis of a circuit. I would like to interpolate results from two timing reports at different...
1,219
Posted By jypark22
Hi R. Singh, Your code works perfectly....
Hi R. Singh,

Your code works perfectly. Thank you so much. I would appreciate your help.

- Don

It would be the inputs of the automatic test pattern generator. I will use files by Singh's...
1,219
Posted By jypark22
Splitting a file incrementally
Dear all,

I would like to split a file incrementally. My file looks like:

$path {
$name "path_sparc_ifu_dec_1" ;
$transition {
"dtu_inst_d[22]" v ; // (in)
"U622/Y" ^ ; // (INVX16_LVT)...
4,680
Posted By jypark22
Thank you for all your helps. I think...
Thank you for all your helps.

I think RudiC's code works for me. Thanks again.

Best,

Jaeyoung
4,680
Posted By jypark22
Thank you so much. It works, but there is a...
Thank you so much.

It works, but there is a problem.

P1 is used in two places in my P1.tcl file.

1. After add_delay_paths, P1: This changed correctly from P2 to P500.
2. After...
4,680
Posted By jypark22
Find a word and increment the number in the word & save into new files
Hi All,

I am looking for a perl/awk/sed command to auto-increment the numbers line in file, P1.tcl:

run_build_model sparc_ifu_dec
run_drc
set_faults -model path_delay -atpg_effectiveness...
1,200
Posted By jypark22
Thank you for all your help. RudiC's code works...
Thank you for all your help. RudiC's code works for me. Happy new year!

Best,

Jaeyoung
1,200
Posted By jypark22
Swapping columns in specific blocks
Hi all,

I hope all you guys have a great new year!

I am trying to swap 2 columns in a specific block of a file. The file format is:


Startpoint: in11 (input port)
Endpoint:...
2,282
Posted By jypark22
Thank you so much! This works great. I would...
Thank you so much!

This works great. I would appreciate your help. I will keep in mind the forum's rule in the next posting.

I have one more question. This would be the last question. How do I...
2,282
Posted By jypark22
Thank you, Don. I see your point. I will...
Thank you, Don.

I see your point. I will post my data clearly in the next post.

Best,

Jaeyoung

---------- Post updated 12-18-15 at 05:32 PM ---------- Previous update was 12-17-15 at...
2,282
Posted By jypark22
Yes, I am sorry about that. I couldn't share my...
Yes, I am sorry about that. I couldn't share my data files because of confidential issue. Data files are from a company for educational purpose, but I think that is not appropriate to post data in...
2,282
Posted By jypark22
Thank you so much!!!. That problem is resolved. ...
Thank you so much!!!. That problem is resolved.

However, I encountered a strange problem with the new code. 0 is inserted after "(".

I only posted a part of my data at the first time. My data...
Showing results 1 to 25 of 29

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