Sponsored Content
Full Discussion: Script to sort data
Top Forums Shell Programming and Scripting Script to sort data Post 302146531 by wizardy_maximus on Wednesday 21st of November 2007 03:30:20 AM
Old 11-21-2007
Hi all ...

wonder if ma post is not meaningful, please help me out here...

Gosh!! I really need some help here...pls pls

thnks

Last edited by wizardy_maximus; 11-22-2007 at 05:49 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sort data

Hi! I'm trying to sort a file.dat with the sort command. The data contained by file.dat is similar to the data set below: 100.000 99.000 110.000 55.000 113.000 33.000 25.000 9.000 15.000 It is relatively easy to sort the data in ascending or descending order, but the problem is... (11 Replies)
Discussion started by: bjorb
11 Replies

2. Shell Programming and Scripting

Sort complex data

Hi, Can someone here help sorting the following data in numeric order? INPUT: FIRST abc(3) def(13) fgh(1) ijk(6) abc(2) SECOND dfe(10) abc(4) hij(19) tlm(1) hij(1) hub(10) abc(1) fed(3) OTHERS hij(10) mok(4) bub(19) hij(1) abc(2) abc(15) abc(1) hij(3) OUTPUT: FIRST def(13) ijk(6)... (12 Replies)
Discussion started by: need_help
12 Replies

3. Shell Programming and Scripting

Trying to sort data

Im trying to sort all this data. I need to get a list out of the data (websites) and just list them out can anyone point me in the right direction. Im working with dans guardian. 2009.6.10 6:26:50 - 192.168.42.200... (5 Replies)
Discussion started by: darknirvana
5 Replies

4. Shell Programming and Scripting

script to sort a string of numerical data in set fields

So, I will be working with someone and basically we are trying to build a form that is submitted most likely via the web and the data is just a string of numbers. like: 19383882872201110929282821818182827349190102837364718191001932873711 Now, each number is part of a numerical value of... (4 Replies)
Discussion started by: tlarkin
4 Replies

5. Shell Programming and Scripting

Perl script to sort data on second numeric field

Hi, I'm a learner of PERL programming. I've a input file with the below data: SWAT_5, 1703, 2010-09-21 SWAT_6, 2345, 2010-09-21 SWAT_7, 1792, 2010-09-21 SWAT_8, 1662, 2010-09-21 SWAT_9, 1888, 2010-09-21 VXHARP_1, 171, 2010-09-21 I need to sort this data based on the second... (6 Replies)
Discussion started by: ganapati
6 Replies

6. UNIX for Advanced & Expert Users

Script to sort the files and append the extension .sort to the sorted version of the file

Hello all - I am to this forum and fairly new in learning unix and finding some difficulty in preparing a small shell script. I am trying to make script to sort all the files given by user as input (either the exact full name of the file or say the files matching the criteria like all files... (3 Replies)
Discussion started by: pankaj80
3 Replies

7. Shell Programming and Scripting

Sort Data by Group !

Hello, I have a file and i want to sort by third column and extract the three top lines of each group, it is determined by the second column (144, 89, 55, etc). Could you please help me with the appropiate awk shell script XLY-XLP 144 0.592772 XLY-XLE 144 0.798121 ... (3 Replies)
Discussion started by: csierra
3 Replies

8. Homework & Coursework Questions

Shell script calling Perl function, sort and find data, write to new files

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I must write a shell script that calls two external Perl functions--one of which sorts the data in a file, and... (6 Replies)
Discussion started by: kowit010
6 Replies

9. UNIX for Dummies Questions & Answers

sort data

Hi, I need to filter the output of a command and display certain data only. How can i do this ? My file contain: $ cat abc.txt <testcase title="AAA_100"> <testcase title="BBB_200"> <testcase title="CCC_300"> <testcase title="DDD"> ... (3 Replies)
Discussion started by: crazydude80
3 Replies

10. Shell Programming and Scripting

Need to sort out data

Hello All, I have one file with multiple lines records like as below.. I need to extract only BFG and corresponding BSG record/line. for evry BFG there is one BSG record is there as mentioned in BOLD and so on... BFG BR 00001 20140724 000 000 ? ? BLG UVR QPR 01 380 ? ? 999 0 0 0 ? BLC... (2 Replies)
Discussion started by: Riverstone
2 Replies
GMEDIASERVER(1) 					      General Commands Manual						   GMEDIASERVER(1)

NAME
GMediaServer - A UPnP compatible media server SYNOPSIS
gmediaserver [OPTIONS]... DIRECTORIES... DESCRIPTION
Run the UPnP compatible media server. The directories arguments specify where audio files are located. GMediaServer is a UPnP music media server. It implements the server component that provides UPnP media devices with information on avail- able audio files. GMediaServer uses the built-in http server of libupnp to stream the audio files to clients. When the main process receives the USR1 signal, all directories specified on the command line will be rescanned. This functionality is cur- rently quite crude in that all files are rescanned even if they were not changed. OPTIONS
This program follow the usual GNU command line syntax, with long options starting with two dashes (`-'). --friendly-name=NAME Set display name for media server. --disable-tags Do not scan files for tags. --fs-charset=CHARSET Specify character set used in file names. If the environment variable `G_BROKEN_FILENAMES' (1) is set, this is if possible identi- fied automaticly from the current locale (usually the environment variable `LC_CTYPE' affects this). Otherwise UTF-8 is assumed. Use this option to specify character set manually. Run `iconv --list' for a list of accepted character encoding names. --device-charset=CHARSET Specify character set used in the data passed to the control point (the player device). If this option is not specified, no transla- tion will occur. Run `iconv --list' for a list of accepted character encoding set names. --log-charset=CHARSET Specify character set used in messages printed to standard out and to the log file (if applicable). If this option is not specified, it is if possible identified automaticly from the current locale. -v, --verbose[=LEVEL] Set verbosity level (0-4). --pid-file=FILE Write pid to FILE when up and running. -i, --interface=NAME Listen on a specific interface. NAME can be either an IP address (IPv4) or the name of a network device. -p, --port=PORT Listen on a specific port. -o, --output=LOGFILE File for logging. -b, --background Go to background (detach). --no-timestamp Do not prepend timestamp to log entries. See strftime(3) for description of the timestamp format. --timestamp[=FORMAT] Prepend timestamp with optional time format. --profile=NAME Specify which profile to use. Profiles control what settings are enabled for a certain control point (the player device). See PRO- FILES below for a list of valid values for --profile. The default is "generic". --expire-time=SECONDS Set UPnP advertisement expire time. This may be necessary for some devices. The default is 100 seconds. --file-types=TYPE[,..] Specify which types of files are accepted by the control point. The argument is a comma separated list of accepted types. File types are identified by contents and not file name (i.e. the extension). See FILE TYPES below for a list of valid types for --file-types. The default is "mp3,wma,m3u,pls". --help Display this help and exit. --version Output version information and exit. PROFILES
The following values are valid for --profile: mp101 Netgear MP101. Implies --file-types=mp3,wma,m3u,pls. dms1 Omnify DMS1. Implies --expire-time=600 --file-types=mp3,wma,m3u,pls. generic All other devices. Implies no custom settings. FILE TYPES
The following types can be specified for --file-types: mp3 The regular MP3 files, or to be more specific `MPEG ADTS, layer III, v1'. At the moment this does also include MP3 files beginning with an ID3 tag. wma `Windows Media Audio' data encapsulated in Microsoft ASF files. wav Wave sound data encapsulated in RIFF files. m4a `iTunes AAC-LC' data encapsulated in an ISO Media MPEG v4 system file. ogg Vorbis audio data encapsulated in an Ogg file. pls A playlist format used by Winamp and other programs. m3u Simple and extended M3U playlists used by Winamp and other programs. Extended M3U playlists start with `#EXTM3U'. unknown Unidentified files (all other). Normally these files are not served, but when unknown is included in the file types list they will be. REPORTING BUGS
Report bugs to <oskar@osk.mine.nu>. AUTHOR
GMediaServer was written by Oskar Liljeblad <oskar@osk.mine.nu>. SEE ALSO
kill(2) COPYRIGHT
Copyright (C) 2005, 2006 Oskar Liljeblad This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. February 10, 2006 GMEDIASERVER(1)
All times are GMT -4. The time now is 05:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy