Search Results

Search: Posts Made By: vidyaj
14,525
Posted By vidyaj
-z string Comparison option
usage : -z <string_name>

meaning: <string_name> is NULL and does exist

it is used in if,while ,....
14,525
Posted By vidyaj
Use of -z in while loop condition
Hi,

Could you please tell what is the meaning of -z in while loop condition.
For example,

while [ -z "$name" ]; do
echo "*** Enter the age "
readage
Forum: Programming 08-31-2010
2,964
Posted By vidyaj
c++ code to print a tree using stl map
hi all,

i need c++ code to print a binary or non binary tree using stl map....
please help me to find the same..........
Forum: Programming 08-25-2010
2,300
Posted By vidyaj
c++ function to convert a linear list to circular list
hi all,

i need a c++ function which converts a linear list to circular.
presently i am working with two files. i.e., one linear list file. and one circular list file to do some operations. i...
Forum: Programming 08-23-2010
5,229
Posted By vidyaj
is this logic works efficiently for a list with million nodes?
hi thanks for the reply. but i have a question that is this pseudo code is the optimal solution to detect the circular list?
Forum: Programming 08-18-2010
1,252
Posted By vidyaj
could you please give me a sample code
could you please give me a sample code
Forum: Programming 08-17-2010
1,252
Posted By vidyaj
which stl is best suited to represent a tree
hi all
i have a tree structure:
root --- node 1 to node 10
in each node --- sub node 1 to sub node 10
in each sub node --- leaf node 1 to leaf node 10

i have to print this in following...
Forum: Programming 08-17-2010
5,229
Posted By vidyaj
c++ code to check whether a list is circular or not
hi all,

i need c++ code to check whether a list is circular or not...
please help
Forum: Programming 08-10-2010
1,299
Posted By vidyaj
Shell programing to implement SQL package
hi all,
i have a table with employee details like his name,addr,DOB etc.
i need a shell program which takes one date as input from user and print the employees whose DOB is less than that date.
in...
6,553
Posted By vidyaj
explanation to answer
hello
could you please explain this command?

awk '(NR%4==1 || NR%4==0) && $0'
6,553
Posted By vidyaj
thanks a lot. before i use to do like this ...
thanks a lot. before i use to do like this

$vi f1.sh
paste -d'\n' nice | while read line2;
do
echo "$line2"
read line2
done

$vi f2.sh

paste -d'\n' nice ...
6,553
Posted By vidyaj
reading alternate lines of a file
hi,
i have 2 files.
file1:
1
2
3
4
5
6

file2:
a
b
c
d
e
f
g
h
i
Showing results 1 to 12 of 12

 

Featured Tech Videos

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