Search Results

Search: Posts Made By: vijay_vasanth
Forum: Programming 02-19-2010
16,925
Posted By vijay_vasanth
Hi Vijay, You are passing a pointer to this...
Hi Vijay,

You are passing a pointer to this function. Ensure that the pointer is valid from where you called this fuction. It should not be pointing to deleted are freed objects.

-Vijay
28,034
Posted By vijay_vasanth
top then press 'u' it will ask for user ...
top
then press 'u'
it will ask for user
then give username
7,391
Posted By vijay_vasanth
ps -fe | grep <pattern>
ps -fe | grep <pattern>
2,865
Posted By vijay_vasanth
Hi, Try this cat file | awk -F"|" ' {...
Hi,

Try this

cat file | awk -F"|" '
{

print $1","$2"|", substr($3,1,11)"|"substr ($4,1,4)

}' > file1

Cheers,
Vijay.
1,600
Posted By vijay_vasanth
Hi , Try this find . -name '*.*' | xargs...
Hi ,

Try this
find . -name '*.*' | xargs grep "/bbsrc/doc/"
Here "." means find from current directory.
You can use your directory from where you want to search.

Cheers,
Vijay.
4,772
Posted By vijay_vasanth
In ksh only #!/bin/ksh echo "In Single...
In ksh only

#!/bin/ksh
echo "In Single line\c"
4,490
Posted By vijay_vasanth
> file3 cat file1 | while read line do ...
> file3
cat file1 | while read line
do
column1=`echo $line | awk -F"," ' { print $1 } '`
grep $column1 file2 > tmpfile
if [ $? -eq 0 ]; then
echo $line >> file3
cat tmpfile >> file3
rm...
3,272
Posted By vijay_vasanth
Hi Pranabrana, cat file | awk ' { if ($9 ==...
Hi Pranabrana,

cat file | awk ' { if ($9 == "OTF" || $9 == "SPI" ) print $0 }' > file1

Hope this will help you.

-Vijay.
4,882
Posted By vijay_vasanth
Vijay
Try Nested awk
awk -F":" '{ print $1 $5 }' | awk -F"," '{ print $1}' file
Showing results 1 to 9 of 9

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