Sponsored Content
Full Discussion: Need Urgent help in Sorting
Top Forums Shell Programming and Scripting Need Urgent help in Sorting Post 302070574 by pulluru on Wednesday 5th of April 2006 10:45:38 PM
Old 04-05-2006
Thanks for the response. This is the order I want

BalInqMail C9.1.20.2DBSU11
CVGRETesting C9.1.20.2DBSU11
IGOT C9.1.20.2DBSU10
IGOT C9.1.20.2DBSU9
SecScore C9.1.20.2DBSU9
IGOT C9.1.20.2DBSU8
SecScore C9.1.20.2DBSU8

The Scenario is like this . BalInqMail , IGOT ... are file names and belong to patch C9.1.20.2DBSU11, C9.1.20.2DBSU10 ....

Say i am installing multiple patches for an application and Say IGOT is in patch 11 and also patch 8 I want to skip patch 8 file and install only patch 11 file. I have all the program ready. My only problem is that in sorting it is comparing only only 1st num and sorting so 2 is bigger than 11 which is not what i want.

Thanks once again. Help me out plzz...
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

URGENT,URGENT- Need help tape drive installation

Hi, I am trying to attach tape drive to sun V890 running Solaris 9 on it. I have installed HBA(qlogic) in slot 1 of 0-8 slots and booted the system. I do not see HBAin prtdiag output. The tape drive is not attached to HBA. The tape drive I am going to attach is Sony AIT3. 1.How can I make... (3 Replies)
Discussion started by: sriny
3 Replies

2. Shell Programming and Scripting

Regarding sorting

I have the following file. Its an output from a du command with certain conditions attached to it. I used du -ah as I need the 1st column to look human readable. sort -nr is not giving me the output I need, nor is sort -dr. Please help out. cat testout 121K ./OMautomation/pvd 14M ... (6 Replies)
Discussion started by: vivek.bharadwaj
6 Replies

3. Shell Programming and Scripting

Sorting

Let's say that I have a database that I call part ID. This database has the following grouping: Dart1=4 Dart2=8 Dart3=12 Fork1=68 Fork2=72 Fork3=64 Bike1=28 Bike2=24 Bike3=20 Car1=44 Car2=40 Car3=36 I want to write a program that would read this database and tell me when the... (19 Replies)
Discussion started by: Ernst
19 Replies

4. UNIX for Advanced & Expert Users

HELP on sorting

hi everyone, I am kind of new to this forum. I need help in sorting this data out accordingly, I am actually doing a traceroute application and wants my AS path displayed in front of my address like this; 192.168.1.1 AS28513 AS65534 AS5089 AS5089 .... till the last AS number and if possible... (1 Reply)
Discussion started by: sam127
1 Replies

5. UNIX for Dummies Questions & Answers

Help sorting with du

Hi! As a part of a larger script I'm using the comand du -k to get the sizes of various directories, the output is printed like this: 1324 ./images/backup/2012 1333 ./images/backup 1400 ./images 22 ./video/backup 44 ./video 1450 . I'm trying to print it the other way around with... (2 Replies)
Discussion started by: Tralaraloro
2 Replies

6. Shell Programming and Scripting

Urgent ...pls Sorting files based on timestamp and picking the latest file

Hi Friends, Newbie to shell scripting. Currently i have used the below to sort data based on filenames and datestamp $ printf '%s\n' *.dat* | sort -t. -k3,4 filename_1.dat.20120430.Z filename_2.dat.20120430.Z filename_3.dat.20120430.Z filename_1.dat.20120501.Z filename_2.dat.20120501.Z... (1 Reply)
Discussion started by: robertbrown624
1 Replies

7. Shell Programming and Scripting

URGENT Reading a file and assessing the syntax shell script URGENT

I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies

8. UNIX for Beginners Questions & Answers

Urgent help on sorting

Hello Everyone, I need urgent help here . I need to sort a file for one of my requirement , The file has to be sorted using a key with 4 columns. Sorting is working fine on those 4 columns but when the key is matching for many rows the other columns are also getting sorted which is not required . ... (1 Reply)
Discussion started by: richa_240889
1 Replies

9. UNIX for Beginners Questions & Answers

Help on Sorting

Hello Everyone, I need help here . I need to sort a file for one of my requirement , The file has to be sorted using a key with 4 columns. Sorting is working fine on those 4 columns but when the key is matching for many rows the other columns are also getting sorted which is not required . ... (11 Replies)
Discussion started by: richa_240889
11 Replies
GIT-QUILTIMPORT(1)						    Git Manual							GIT-QUILTIMPORT(1)

NAME
git-quiltimport - Applies a quilt patchset onto the current branch SYNOPSIS
git quiltimport [--dry-run | -n] [--author <author>] [--patches <dir>] DESCRIPTION
Applies a quilt patchset onto the current git branch, preserving the patch boundaries, patch order, and patch descriptions present in the quilt patchset. For each patch the code attempts to extract the author from the patch description. If that fails it falls back to the author specified with --author. If the --author flag was not given the patch description is displayed and the user is asked to interactively enter the author of the patch. If a subject is not found in the patch description the patch name is preserved as the 1 line subject in the git description. OPTIONS
-n, --dry-run Walk through the patches in the series and warn if we cannot find all of the necessary information to commit a patch. At the time of this writing only missing author information is warned about. --author Author Name <Author Email> The author name and email address to use when no author information can be found in the patch description. --patches <dir> The directory to find the quilt patches and the quilt series file. The default for the patch directory is patches or the value of the $QUILT_PATCHES environment variable. GIT
Part of the git(1) suite Git 1.7.10.4 11/24/2012 GIT-QUILTIMPORT(1)
All times are GMT -4. The time now is 10:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy