Search Results

Search: Posts Made By: kaaliakahn
1,214
Posted By kaaliakahn
The characters that are allowed in the function...
The characters that are allowed in the function name are alphanumeric characters including underscore _.
There can be one more than one space between keyword function and function name as well as...
1,214
Posted By kaaliakahn
How to find encapsulating function name from line number?
I am looking at a log file which just tells me the filename and the line number inside that file that has the Error. What I am interested is knowing the encapsulating function. For example, here are...
3,415
Posted By kaaliakahn
how to run two unix/linux programs on two different cpu cores
Hi folks,

I want to know how to run two unix programs on two different cpu cores on a 2-core or 4-core or 8-core CPU machine? Extending this how would i run four and eight unix programs on 4-core...
3,510
Posted By kaaliakahn
itkamaraj. Thanks a lot due. Really...
itkamaraj.

Thanks a lot due.

Really appreciate
3,510
Posted By kaaliakahn
bmk dude The desired output is shown right...
bmk dude

The desired output is shown right below the input data

Here you go again

abc
def
ghi
55
36
kjld
random
text
occupies
some
4400
again
some
random
3,510
Posted By kaaliakahn
Summing over specific lines and replacing the lines with the sum
Hi friends,

This is sed & awk type question. It is slightly different from my previous question.

I have a text file which has numbers spread all over the file. I want to sum the series of...
4,874
Posted By kaaliakahn
bartus11 and Scrutinizer Dude! I am so...
bartus11 and Scrutinizer

Dude!

I am so grateful to both of you.

Warm Regards,
kaaliakahn
4,874
Posted By kaaliakahn
Summing over specific lines and replacing the lines with the sum using sed, awk
Hi friends,

This is sed & awk type question.

I have a text file which has numbers spread all over the file. I want to sum the series of numbers whenever i find it and produce an output file...
2,508
Posted By kaaliakahn
Scrutinizer and Coron688 I am so grateful to...
Scrutinizer and Coron688

I am so grateful to both of you.

Hats off to you. I shall join you guys soon to contribute in this wonderful forum.

Keep up the good work guys.

Kind Regards,...
2,508
Posted By kaaliakahn
Hi corona, your solution works for 0. I am...
Hi corona, your solution works for 0. I am wondering how to include other pattern which is 1011.

Scrutinizer, your command is picking up 0 on even lines as well.

Thanks so much for your effort
2,508
Posted By kaaliakahn
dude you are printing both the pattern (on the...
dude
you are printing both the pattern (on the odd line) and the next line (even line). That is why you will get the 2nd zero as a result of pattern match on the previous odd line.

Does that...
2,508
Posted By kaaliakahn
corona dude Thanks for your reply. I know...
corona dude

Thanks for your reply. I know what you are talking about. That's why i said, search for pattern on odd lines ONLY. Therefore, you are not searching for 0 on the 2nd line. If first line...
2,508
Posted By kaaliakahn
How to search for pattern in odd lines?
Hi friends,

I am looking for sed command/script that would search for a given fixed pattern on odd lines and then if it matches, prints the matching pattern and the next line. For example, in the...
1,995
Posted By kaaliakahn
i get the following when i do echo $DISPLAY ...
i get the following when i do echo $DISPLAY
ba08ut01:12:0

Note i have written this in the original post as well. Please see if you get a chance
1,995
Posted By kaaliakahn
this cshell script does not work ??
Hi I am trying to put the following commands that i have to type manually at the cshell prompt into a cshell script startup.csh which is copied below


echo $DISPLAY
xhost +
rsh ba08lo01
module...
8,234
Posted By kaaliakahn
Corona688 Thanks a lot dude. I sent you...
Corona688

Thanks a lot dude. I sent you another pm.

No hard feelings ;)
8,234
Posted By kaaliakahn
passing command output from one command to the next command in cshell
HI Guys,

I hope you are well. I am trying to write a script that gets executed every time i open a shell (cshell). I have two questions about that


1) I need to enter these commands

$...
5,639
Posted By kaaliakahn
Its warm because its from the heart ;)
Its warm because its from the heart ;)
5,639
Posted By kaaliakahn
Corona688 Dude! You are awesome. I am...
Corona688

Dude! You are awesome. I am running the script now. When it finishes. I shall let you know.

Hat off to you. Thanks so much again.

Warm Regards,
7,449
Posted By kaaliakahn
Please see the post again i have updated it
Please see the post again i have updated it
5,639
Posted By kaaliakahn
Hi Andy There is no range concept here. Please...
Hi Andy
There is no range concept here. Please see the post again as there could be any number of lines between module v_* and endmodule.
7,449
Posted By kaaliakahn
corona688 can you look at my post as well ...
corona688 can you look at my post as well


https://www.unix.com/shell-programming-scripting/175588-copy-range-lines-file-based-keywords-another-file.html

THanks
5,639
Posted By kaaliakahn
copy range of lines in a file based on keywords from another file
Hi Guys,

I have the following problem. I have original file (org.txt) that looks like this

module v_1(.....)
//arbitrary number of text lines
endmodule

module v_2(....)
//arbitrary...
3,250
Posted By kaaliakahn
dude2cool you are awesome. You are really too...
dude2cool you are awesome. You are really too cool dude.

Thanks a lot.

Kind Regards and Hurray to unix.com
3,250
Posted By kaaliakahn
Hi dude2cool I have centos 5.5 and i do have...
Hi dude2cool

I have centos 5.5 and i do have -T option with sort. Here is what i get when i do

df -k /tmp

[user@localhost6 vga]$ df -k /tmp/
Filesystem 1K-blocks Used...
Showing results 1 to 25 of 28

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