Search Results

Search: Posts Made By: kshitij
9,960
Posted By kshitij
Hi Rudic , Thanks it worked , I am trying...
Hi Rudic ,

Thanks it worked , I am trying out same script for one more input file



r s
...
3,217
Posted By kshitij
Hi Rudic , Thanks a lot , could you help me...
Hi Rudic ,

Thanks a lot , could you help me out with brief explanation of this script , It will help me out to counteract similar problems.
9,960
Posted By kshitij
Thanks a lot Rudic , Let me try it out
Thanks a lot Rudic , Let me try it out
3,217
Posted By kshitij
Create the space only in the Third column by awk
Hi All ,

I am having an input file like this

Input file


r s
e y
Pin Numbers ...
9,960
Posted By kshitij
TCL script to match and extract the substring carrying the regex
Thanks but I am not able to put the same content in the text format since the lines are not getting aligned.
Thats why I have attached the attachments

--- Post updated at 08:46 PM ---

Input...
9,960
Posted By kshitij
awk or sed to print the character from the previous line after the regexp match
Hi All,

I need to print the characters in the previous line just before the regular expression match
Please have a look at the input file as attached
I need to match the regular expression ^...
6,138
Posted By kshitij
Hi Scrutinizer , Thanks for the code , but...
Hi Scrutinizer ,

Thanks for the code , but could you tell me what is the operator which is being used ,for is it $ for OFS ?
Could you help me out in brief explanation ?

Thanks
Kshitij
6,138
Posted By kshitij
Sort based on one column
Hi All ,

I am having an input file like this

Input file

7 sks/jsjssj/ddjd/hjdjd/hdhd/Q 10 0.5 13
dkdkd/djdjd/djdjd/djd/QB 01 0.5
ldld/dkd/jdf/fjfjf/fjf/Q 0.5
10...
5,170
Posted By kshitij
Thanks a lot Rudic , Could you give a brief...
Thanks a lot Rudic ,

Could you give a brief explanation of this code, I am not able to get why we are selecting the field separator as " +"
?

Thanks and Regards
Kshitij Kulshreshtha
5,170
Posted By kshitij
Awk/sed summation of one column based on some entry in first column
Hi All ,

I am having an input file as stated below

Input file



6 ddk/djhdj/djhdj/Q 10 0.5
dhd/jdjd.djd.nd/QB 01 0.5
hdhd/jd/jd/jdj/Q 10 0.5
512 hd/hdh/gdh/Q 01 0.5
...
6,485
Posted By kshitij
Hi Chubler , Thanks a lot ! How can extract...
Hi Chubler ,

Thanks a lot ! How can extract the first and third digits ,
I am trying below code but its not working

Its going to the last character of the line and from there its removing...
6,485
Posted By kshitij
sed / awk script to delete the two digits from first 3 digits
Hi All ,

I am having an input file as stated below

5728 U_TOP_LOGIC/U_CM0P/core/u_cortexm0plus/u_top/u_sys/u_core/r03_q_reg_20_/Q 011
611...
6,815
Posted By kshitij
TCL script to delete a pattern(regexp)
Hi

I am writing a TCL script to delete a certain in a file

My Input file

module bist_logic_inst(a, ab , dhd, dhdh , djdj, hdh, djjd, jdj, dhd, dhp, dk
);
input a;
input ab;
input dhd;...
5,932
Posted By kshitij
Hi I have tried below code , this is also...
Hi
I have tried below code , this is also working


sed -e '/Umbist_reverse_inst/,/);/ s/()//g' list

Thanks a lot for replying , I am looking for a TCL equivalent for this ,
Can anybody...
5,932
Posted By kshitij
Sed/awk to delete a regex between range of lines
Hi Guys

I am looking for a solution to one problem to remove parentheses in a range of lines.

Input file

module bist_logic_inst(a, ab , dhd, dhdh , djdj, hdh, djjd, jdj, dhd, dhp, dk
);...
5,814
Posted By kshitij
TCL script to extract the file name and then create two independent list
I am having one problem as stated below

Problem Description

I am having some "sv" extension files , I am using "glob" to extract the matching files , Now in these matching files , I need to...
10,463
Posted By kshitij
TCL script to capture range of lines and create two independent variables
Hi I am having a code as stated below

module abcd( a , b , c ,da , fa, na , ta , ma , ra ,
ta, la , pa );

input a , b, da ,fa , na , ta , ma;
output c , ra ,ta ,
...
9,109
Posted By kshitij
TCL script to print range of lines between patterns
Hi I am having a code as stated below


module abcd( a , b , c ,da , fa, na , ta , ma , ra ,
ta, la , pa );

input a , b, da ,fa , na , ta , ma;
output c , ra ,ta ,
...
3,296
Posted By kshitij
TCL script to insert some text on a file
Hi All ,

I am looking to create one TCL script to insert one text based on some regular expression match on one file as stated below

Input File

module (mem1 ,mem2 , bist1 , ten2 , sen1 ,...
4,515
Posted By kshitij
Thanks a lot Rudic Thanks Kshitij
Thanks a lot Rudic

Thanks
Kshitij
4,636
Posted By kshitij
Thanks a lot !
Thanks a lot !
4,515
Posted By kshitij
awk and sed script to create one output CSV file
Hi All ,

I would require your help to generate one output file after post processing of one CSV file as stated below

This file is just a small cut from a big file . Big file is having 20000...
4,636
Posted By kshitij
Awk or sed script
Yes Rudic , yes all 1's and 0's starting from field 2

Thanks
Kshitij
4,636
Posted By kshitij
awk or sed script to count number of occurrences and creating an average
Hi Friends ,

I am having one problem as stated file .
Having an input CSV file as shown in the code

...
4,025
Posted By kshitij
Hi Don Thanks a lot for your reply! I am...
Hi Don

Thanks a lot for your reply! I am using Linux RH-6 .
If we need to match with the second last "/" and delete the lines from the second last "/
then how do we need to tweak the script. ?...
Showing results 1 to 25 of 72

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