09-14-2011
garbage in, garbage out. The tabs are coming from your data file.
What, exactly, does your datafile look like?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
*.xml files stored on date wise folders. I need to extract *.xml files from all the folders. File size is lessthan or equal to 2K. Please let me know command or some shell program to due this job on linux m/c
This is urgent,
Thanks in advance
- Bache Gowda (3 Replies)
Discussion started by: bache_gowda
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I need to find files list which are more than 300 MB size? My script It should search all inner directories too.
How can I proceed? Any idea? (2 Replies)
Discussion started by: redlotus72
2 Replies
3. Shell Programming and Scripting
hi all
plz help in listing the files with size in bytes.
thnks
-Bali (4 Replies)
Discussion started by: balireddy_77
4 Replies
4. Shell Programming and Scripting
Hi everyone! I'm pretty bad at shell scripting and I am trying to create a java launcher. The idea is to store in a configuration file different paths (each for a different java version) and then, run a .sh file that would read the specified java path and execute the .jar file. This is what i have... (7 Replies)
Discussion started by: mostacholoco
7 Replies
5. UNIX for Dummies Questions & Answers
Hi!
I would like to funnel a series of directories and subdirectories into a text file. This is the output I would like to see from a find command:
/mypath/ABC_01/VISIT_01
/mypath/ABC_01/VISIT_02
/mypath/ABC_01/VISIT_03
/mypath/ABC_02/VISIT_01
/mypath/ABC_03/VISIT_01
I've tried:
find... (2 Replies)
Discussion started by: goodbenito
2 Replies
6. Linux
Is there any way to know the L2 cache size from examinging to boot log. Here is my boot logLinux version 2.6.13-jaluna (root@localhost.localdomain) (gcc version 3.2.2) #4
Thu Apr 23 23:16:10 EDT 2009
TMS320DM643X port (C) VirtualLogix and others
Designed for the EVMDM6437 board, Spectrum Digital... (3 Replies)
Discussion started by: mourya
3 Replies
7. UNIX for Dummies Questions & Answers
Command ls -l *cpp lists all cpp program files in a directory. It shows the size of each file. Using a calculator to work out the total size of the cpp files would be very tedious.
Is there a way to get the total size from the command line? (5 Replies)
Discussion started by: resander
5 Replies
8. UNIX for Dummies Questions & Answers
I am very new to unix as well as shell scripting.
I have to write a script for the following requirement. In have to list all the files in directory and its sub directories along with file path and size of the file
Please help me in this regard and many thanks in advance. (3 Replies)
Discussion started by: nmakkena
3 Replies
9. UNIX for Dummies Questions & Answers
Hi guys,
I need to do 100 files comparison after I sorted the files. There are no specific key for sorting so i plan to arrange the files based on the file size. The command that i used to sort the files by size is as per below:-
ls -l | sort +4rn | awk '{print $5, $9}'
The problem that i... (3 Replies)
Discussion started by: shahril
3 Replies
10. Shell Programming and Scripting
Hello,
I have a huge directory (with millions of files) and need to find out duplicates based on BOTH file name and File size.
I know fdupes but it calculates MD5 which is very time-consuming and especially it takes forever as I have millions of files.
Can anyone please suggest a script or... (7 Replies)
Discussion started by: prvnrk
7 Replies
lorder(1) General Commands Manual lorder(1)
NAME
lorder - Finds the best order for member files in an object library
SYNOPSIS
lorder file...
DESCRIPTION
The lorder command is essentially obsolete. Use the following command in its place: % ar -ts file.a
The lorder command reads one or more object or library archive files, looks for external references, and writes a list of paired filenames
to standard output. The first of each pair of files contains references to identifiers that are defined in the second file. You can send
this list to the tsort command to find an ordering of a library member file suitable for 1-pass access by ld.
If object files do not end with lorder overlooks them and attributes their global symbols and references to some other file.
EXAMPLES
To create a subroutine library, enter: lorder charin.o scanfld.o scan.o scanln.o | tsort | xargs ar qv libsubs.a
(Enter this command entirely on one line, not on two lines as shown above.)
This creates a subroutine library named libsubs.a that contains charin.o, scanfld.o, scan.o, and scanln.o. The ordering of the object mod-
ules in the library is important. The lorder and tsort commands together add the subroutines to the library in the proper order.
Suppose that scan.o calls entry points in scanfld.o and scanln.o. scanfld.o also calls entry points in charin.o. First, the lorder command
creates a list of pairs that shows these dependencies: charin.o charin.o scanfld.o scanfld.o scan.o scan.o scanln.o scanln.o scanfld.o
charin.o scanln.o charin.o scan.o scanfld.o
This list is piped to the tsort command, which converts the list into the ordering that is needed:
scan.o scanfld.o scanln.o charin.o
Note that each module precedes the module it calls. charin.o, which does not call another module, is last. The second list is then piped
to xargs, which constructs and runs the following ar command: ar qv libsubs.a scan.o scanfld.o scanln.o charin.o
This ar command creates the properly ordered library.
FILES
Temporary files
SEE ALSO
Commands: ar(1), as(1), cc(1), ld(1), make(1), nm(1), size(1), strip(1), tsort(1), xargs(1)
Files: a.out(4), ar(4)
lorder(1)