TSORT(1) General Commands Manual TSORT(1)NAME
tsort - topological sort [IBM]
SYNOPSIS
tsort file
EXAMPLES
lorder *.s | tsort # Give library ordering
ar cr libc.a `lorder *.s | tsort`
# Build library
DESCRIPTION
Tsort accepts a file of lines containing ordered pairs and builds a total ordering from the partial orderings.
TSORT(1)
Check Out this Related Man Page
LORDER(1) BSD General Commands Manual LORDER(1)NAME
lorder -- list dependencies for object files
SYNOPSIS
lorder file ...
DESCRIPTION
The lorder utility uses nm(1) to determine interdependencies in the list of object files and library archives specified on the command line.
The lorder utility outputs a list of file names where the first file contains a symbol which is defined by the second file.
The output is normally used with tsort(1) when a library is created to determine the optimum ordering of the object modules so that all ref-
erences may be resolved in a single pass of the loader.
When linking static binaries, lorder and tsort(1) can be used to properly order library archives automatically.
ENVIRONMENT
NM Path to the nm(1) binary, defaults to ``nm''.
EXAMPLES
ar cr library.a `lorder ${OBJS} | tsort`
cc -o foo ${OBJS} `lorder ${STATIC_LIBS} | tsort`
SEE ALSO ar(1), ld(1), nm(1), ranlib(1), tsort(1)HISTORY
A lorder utility appeared in Version 7 AT&T UNIX.
BSD October 25, 2006 BSD
Hello,
I am not a programmer, please be patient.
Actually, I have started to look into Perl because it seems to be able to solve all the problems (or most of them) I happen meet using my computer. These problems are generally all text-manipulation-related.
Although I started to study, I cannot... (6 Replies)
I am creating some documentation that includes a list of packages that are to be installed for a Debian Server.
This is a single line and I would like to sort the list of packages alphabetically.
Using a small example of the packages, the best I could come up with was as follows:
I create... (1 Reply)
Upon opening Terminal I get the following message:
-bash: /usr/bin/manpath: No such file or directory
-bash: /usr/bin/perl: No such file or directory
-bash: grep: command not found
-bash: grep: command not found
-bash: grep: command not found
-bash: grep: command not found
I searched... (9 Replies)
Hey!
I wanted to find a text version of the Bible for purposes of grepping. The only files I could find, (in the translation I wanted), were Old Testament.txt and New Testament.txt. I thought, "fine, I'll just concatenate those two, no problemo." But when I unpacked them, turns out they had each... (22 Replies)
I feel that i am missing something obvious but i can't find what is wrong.
I have a script that is launching some functions with "&" and each call is feeding the array with a value. When all calls are finished I just want to retrieve the values of that array.
It is looking like that :
... (5 Replies)
Hi,
I want to set a cron job with the yesterday date in a unix server (solaris).
I tried TZ=CST+24 date +%Y%m%d but i had TZ=CST+24: not found
I tried `perl -mPOSIX -e 'print POSIX::strftime("%Y%m%d",localtime(time() - 86400)) '` it works but I'm not sure that all the clients have perl... (12 Replies)
Sorry for the weird title but i have the following problem.
We have several files which have between 10000 and about 500000 lines in them. From these files we want to remove lines which contain a pattern which is located in another file (around 20000 lines, all EAN codes). We also want to get... (28 Replies)
Hi All,
I have a.dat file with content
1,338,30253395122015103,2015103,UB0085000,STMT151117055527002,,,
1,338,30253395122015103,2015103,UB0085000,STMT151117055527001,,,
and b.dat having content
1,STMT151117055527001,a1.txt,b1.txt,c1.txt
1,STMT151117055527002,a2.txt,b2.txt,c2.txt
... (13 Replies)
Good afternoon:
I need your help please:
Im new at web applications and i started taking a Ruby on Rails course and as a part of the installations i followed the instructions given on page:
http://railsapps.github.io/installrubyonrails-ubuntu.html
I followed every step and id did not yield... (6 Replies)