06-14-2013
You said the reverse last time, which looks right.
10 More Discussions You Might Find Interesting
1. Linux
samba:/home/backup # df -h /home/
Filesystem Size Used Avail Use% Mounted on
/dev/sdb2 34G 8.6G 26G 26% /home
samba:/home/backup # df -H /home/
Filesystem Size Used Avail Use% Mounted on
/dev/sdb2 37GB 9.2GB 28GB 26% /home
what... (2 Replies)
Discussion started by: cw1972
2 Replies
2. Programming
Hi,
What is the difference between the C and C++. And what new features is added in the C++.then C Programming in the UNIX Environmnet.
Thanks:
www.hytechpro.com (2 Replies)
Discussion started by: hytechpro
2 Replies
3. UNIX for Dummies Questions & Answers
I Know this is a dumb question but.... What is the differance beetwean OpenSuSe 10.1 alfa and SuSe 10? :confused: (1 Reply)
Discussion started by: thunderfastfox
1 Replies
4. Shell Programming and Scripting
Somebody please tell me the difference between $@ and $*
Thanks in advance.
Saneesh Joseph (1 Reply)
Discussion started by: saneeshjose
1 Replies
5. UNIX for Advanced & Expert Users
difference b/w shell scripting and perl scripting (2 Replies)
Discussion started by: simmijaswal
2 Replies
6. Shell Programming and Scripting
Hi,
I don't understand the difference between
if ]
and
if ]
for me
#!/usr/bin/ksh
string1=test1
string2=test2
if ];then OR if ];then
echo "strings are same"
else
echo "strings are different" (7 Replies)
Discussion started by: dips_ag
7 Replies
7. UNIX for Dummies Questions & Answers
Hi All
Can any body please tell me what is difference between
sh scr
./scr
Here scr is a script. (1 Reply)
Discussion started by: parthmittal2007
1 Replies
8. Shell Programming and Scripting
What's the difference between $* and $@?
And I read that the $* has security problems, why? (6 Replies)
Discussion started by: Henryyy
6 Replies
9. Programming
I think both write at the end of the file ......
but is there a sharp difference between those 2 instruction .....
thank you
this is my 3rd question today forgive me :D (1 Reply)
Discussion started by: fwrlfo
1 Replies
10. Shell Programming and Scripting
In the awk I am trying to subtract the difference $3-$2 of each matching $4 before the first _ (underscore) and print that value in $13.
I think the awk will do that, but added comments. What I am not sure off is how to add a line or lines that will add sum each matching $13 value and put it in... (2 Replies)
Discussion started by: cmccabe
2 Replies
LEARN ABOUT DEBIAN
reverse
REVERSE(3) MBK UTILITY FUNCTIONS REVERSE(3)
NAME
reverse - reverse a list of chained elements
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "mut.h"
chain_list *reverse(ptold)
chain_list *ptold;
PARAMETER
ptold Pointer to a chain_list to be reversed
DESCRIPTION
The reverse function allows to reverse the order of the elements of a chain_list. It means that the last element becomes the first one, the
one before the last one the second one, and so on.
remark :
all mbk structures have for first field the NEXT field, so, with appropriate cast, one can reverse any mbk list. Let's notice that
nothing in the C language description demands a structure to be defined in memory the same way its members are defined in C. But all
compiler do it this way now a day. Let's hope it will continue!
RETURN VALUE
reverse returns a pointer to the head of the reversed list.
EXAMPLE
#include "mut.h"
void reverse_con(p)
lofig_list *p;
{
p->LOCON = (locon_list *)reverse((chain_list *)p->LOCON);
}
SEE ALSO
mbk(1), chain(3).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM
/LIP6 October 1, 1997 REVERSE(3)