Search Results

Search: Posts Made By: suman_jakkula
1,866
Posted By suman_jakkula
How do one evaulate a variable's value if it is number or not
How do one evaulate a variable's value if it is number or not. say
var1=1234;
....
I want to check if $var1 contains a number or not. Is there any built-in command or combination of commands...
1,474
Posted By suman_jakkula
Got the answer. FILENAME built variable...
Got the answer.

FILENAME built variable gives the file name.
1,474
Posted By suman_jakkula
awk help
Hi,
Is there any way to find the file name which is being processed by awk command.
For ex.
awk -f awkfile < input file name >
In case i want to use the input file name in awkfile, is there any...
Forum: Programming 09-12-2006
2,039
Posted By suman_jakkula
Verifying C++ program
Hi,
Do we have any utility available on Unix machines to verify C++ programs.
For C programs we have "lint". Is there any similar utility for C++?

Thanks
-------
Suman
40,375
Posted By suman_jakkula
Thank You. It works
Thank You. It works
40,375
Posted By suman_jakkula
Not home work. Requirement in my work. I could...
Not home work. Requirement in my work.
I could do it using some other utilities. I heard awk is much powelful utility for file processing. Thought it would improve runtime performance.

I tried 2...
40,375
Posted By suman_jakkula
Delete the last line in a file using AWK or PERL
Is it possible to delete the last line in a file usin awk or perl?
14,961
Posted By suman_jakkula
awk - Number of records
Hi,
Is it possible to find the total number of records processed by awk at begining.
NR gives the value at the end. Is there any variable available to find the value at the begining?

Thanks...
Forum: AIX 09-06-2006
5,873
Posted By suman_jakkula
Shared Object library problem
Hi,

When using shared objects on AIX 4.3 i am getting runtime problems.
I have a small sample program which links to a shared object libray, oracle and system related libraries.
At runtime it...
Forum: AIX 08-30-2006
7,949
Posted By suman_jakkula
URGENT --problem in unzipping
when try to unzip a very big file facing an error of disk full.
can any body help me to unzip this file .

$ unzip abc.zip
Archive: abc.zip
inflating: abc.zrp

abc.zip write error (disk...
3,053
Posted By suman_jakkula
problem in unzipping---URGENT
when try to unzip a very big file facing an error of disk full.
can any body help me to unzip this file .

$ unzip abc.zip
Archive: abc.zip
inflating: abc.zrp

abc.zip write error (disk...
16,445
Posted By suman_jakkula
Gr8!!! Thanks Dude
Gr8!!! Thanks Dude
16,445
Posted By suman_jakkula
How to remove files starting with -
Hi,
Can anyone suggest me how to remove the file whose name starts with "-".
Say i have a file by name -out. I want to remove this. I tried escaping -, but didnt work.
I work on AIX 5.3 machine.
...
2,390
Posted By suman_jakkula
Excellent!!!. Could you explain me the...
Excellent!!!.


Could you explain me the logic in the command?

Thanks & Regards,
-------------------
Suman
2,390
Posted By suman_jakkula
Filtering multiple entries in a file
Hi,
I have a requirement to filter multiple entries in a text file.
Entries are a pair of 2 lines .Like

line1
line2
.......
........
Here line1, line2 consist of one pair. line1 and line2...
24,532
Posted By suman_jakkula
may be the filesystem that you are creating the...
may be the filesystem that you are creating the tar file in is being
filled up when you create the tar file.
You either need to grow that filesystem size or create it someplace with enough space.
24,532
Posted By suman_jakkula
Check the space on ur disk. It might have...
Check the space on ur disk.
It might have consumed the entire space.
use df command to check the space.
1,841
Posted By suman_jakkula
try this on the command prompt. echo $PATH ...
try this on the command prompt.
echo $PATH
in case this doesnot include the directory where your BRD CDL resides, add it in some environment file say .profile or .zshrc etc so that it will be in...
1,748
Posted By suman_jakkula
This might help you echo "a=7,b=8,c=9" | awk...
This might help you

echo "a=7,b=8,c=9" | awk -F"," '{ for ( i = 1; i <= NF; i++) { print substr($i,3,1) ; } } '
4,202
Posted By suman_jakkula
instead of escaping ! , u have escaped " at line ...
instead of escaping ! , u have escaped " at line
echo "\!EnShAr!\"

change it to
echo "\!EnShAr\!"

Regards,
------------
Suman
1,841
Posted By suman_jakkula
Did u check PATH variable? BRO CDL should in...
Did u check PATH variable?
BRO CDL should in the search PATH else it cannot understand it as an action
13,790
Posted By suman_jakkula
Try this... /pattern/ && NR == 11 { ...
Try this...

/pattern/ && NR == 11 {
print $0;
}
66,743
Posted By suman_jakkula
head -n filename | tail -1 n = linenumber
head -n filename | tail -1
n = linenumber
1,888
Posted By suman_jakkula
I got the answer. Using cut -c option i can...
I got the answer.
Using cut -c option i can print what ever the bytes i am intrested in.

Thanks.
1,888
Posted By suman_jakkula
Accessing invidual characters in a variable name
hi,

How do i access individual characters in a string variable value .
say i have var=20060731.
How do i retrieve 2,0,0,6 etc chars separately.
Is there any Field separator in cut or awk to...
Showing results 1 to 25 of 32

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