Sponsored Content
Top Forums Shell Programming and Scripting Need to get versioning of the branch name dynamically Post 303031535 by lkeswar on Friday 1st of March 2019 02:55:22 PM
Old 03-01-2019
need help

Hi,

For each deployment external team was creating the version numbers .so i have to pick the latest version and pass the version in curl command to download .tar file.

e.g:
Code:
Name   Last modified      Size
../
1.0.0/  08-Nov-2018 11:11    -
1.0.1/  08-Nov-2018 14:36    -
1.0.2/  27-Nov-2018 13:55    -
1.0.3/  06-Dec-2018 11:47    -
1.0.4/  19-Dec-2018 10:46    -
1.0.5/  10-Jan-2019 21:26    -
1.0.6/  24-Jan-2019 13:40    -
2.0.0/  04-Feb-2019 16:11    -
2.0.1/  28-Feb-2019 11:08    -


Thx in advance




Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by RudiC; 03-01-2019 at 04:15 PM.. Reason: Added CODE tags.
 

4 More Discussions You Might Find Interesting

1. Solaris

Solaris versioning

Please correct me if I am wrong... Isnt the only difference between minor releases of Solaris, ex. 9/04 and 9/05, is the patche revs between them? If so, why does the /etc/release info stay static when patched? (4 Replies)
Discussion started by: mhm4
4 Replies

2. Programming

binary versioning

Dear Members, Do you know any information about versioning a binary file. That means test.out 1.0.0, 1.0.1, 1.1.0, and so on. Can I manually edit version number (both major and minor) and revision number myself (how?) or any utility to set version number (which one?). Best Regards, Francesco (2 Replies)
Discussion started by: francescoandrio
2 Replies

3. SCO

Versioning through undelete

Hi , I am using SCO openserver realease 3.2 and tried to test versioning on a directory with undelete -s . The command executes well but it is not creating any versions of the files in it. I have also setted versioning options via filesystem and then remounted it but of ... (0 Replies)
Discussion started by: dextergenious
0 Replies

4. UNIX for Beginners Questions & Answers

Versioning up a file with initials?

I have this code that works great ... #!/bin/sh for file in "$@" do ext=${file##*.} base=${file%.*} num=${base##*v} zeroes=${num%%*} num=${num#$zeroes} #remove leading zeros, or it uses octal num=$((num+1)) base=${base%v*} ... (5 Replies)
Discussion started by: scribling
5 Replies
DateTime::Locale::bs_BA(3)				User Contributed Perl Documentation				DateTime::Locale::bs_BA(3)

NAME
DateTime::Locale::bs_BA SYNOPSIS
use DateTime; my $dt = DateTime->now( locale => 'bs_BA' ); print $dt->month_name(); DESCRIPTION
This is the DateTime locale package for Bosnian Bosnia and Herzegovina. DATA
This locale inherits from the DateTime::Locale::bs locale. It contains the following data. Days Wide (format) Ponedjeljak Utorak Srijeda Xetvrtak Petak Subota Nedjelja Abbreviated (format) Pon Uto Sri Xet Pet Sub Ned Narrow (format) 2 3 4 5 6 7 1 Wide (stand-alone) Ponedjeljak Utorak Srijeda Xetvrtak Petak Subota Nedjelja Abbreviated (stand-alone) Pon Uto Sri Xet Pet Sub Ned Narrow (stand-alone) 2 3 4 5 6 7 1 Months Wide (format) Januar Februar Mart April Maj Juni Juli Avgust Septembar Oktobar Novembar Decembar Abbreviated (format) Jan Feb Mar Apr Maj Jun Jul Avg Sep Okt Nov Dec Narrow (format) 1 2 3 4 5 6 7 8 9 10 11 12 Wide (stand-alone) Januar Februar Mart April Maj Juni Juli Avgust Septembar Oktobar Novembar Decembar Abbreviated (stand-alone) Jan Feb Mar Apr Maj Jun Jul Avg Sep Okt Nov Dec Narrow (stand-alone) 1 2 3 4 5 6 7 8 9 10 11 12 Quarters Wide (format) Prvi kvartal Drugi kvartal TreXi kvartal Xetvrti kvartal Abbreviated (format) K1 K2 K3 K4 Narrow (format) 1 2 3 4 Wide (stand-alone) Prvi kvartal Drugi kvartal TreXi kvartal Xetvrti kvartal Abbreviated (stand-alone) K1 K2 K3 K4 Narrow (stand-alone) 1 2 3 4 Eras Wide BCE CE Abbreviated BC AD Narrow BC AD Date Formats Full 2008-02-05T18:30:30 = Utorak, 2008 Februar 05 1995-12-22T09:05:02 = Petak, 1995 Decembar 22 -0010-09-15T04:44:23 = Subota, -10 Septembar 15 Long 2008-02-05T18:30:30 = 2008 Februar 5 1995-12-22T09:05:02 = 1995 Decembar 22 -0010-09-15T04:44:23 = -10 Septembar 15 Medium 2008-02-05T18:30:30 = 2008 Feb 5 1995-12-22T09:05:02 = 1995 Dec 22 -0010-09-15T04:44:23 = -10 Sep 15 Short 2008-02-05T18:30:30 = 08/02/05 1995-12-22T09:05:02 = 95/12/22 -0010-09-15T04:44:23 = -10/09/15 Default 2008-02-05T18:30:30 = 2008 Feb 5 1995-12-22T09:05:02 = 1995 Dec 22 -0010-09-15T04:44:23 = -10 Sep 15 Time Formats Full 2008-02-05T18:30:30 = 18:30:30 UTC 1995-12-22T09:05:02 = 09:05:02 UTC -0010-09-15T04:44:23 = 04:44:23 UTC Long 2008-02-05T18:30:30 = 18:30:30 UTC 1995-12-22T09:05:02 = 09:05:02 UTC -0010-09-15T04:44:23 = 04:44:23 UTC Medium 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23 Short 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 09:05 -0010-09-15T04:44:23 = 04:44 Default 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 09:05:02 -0010-09-15T04:44:23 = 04:44:23 Datetime Formats Full 2008-02-05T18:30:30 = Utorak, 2008 Februar 05 18:30:30 UTC 1995-12-22T09:05:02 = Petak, 1995 Decembar 22 09:05:02 UTC -0010-09-15T04:44:23 = Subota, -10 Septembar 15 04:44:23 UTC Long 2008-02-05T18:30:30 = 2008 Februar 5 18:30:30 UTC 1995-12-22T09:05:02 = 1995 Decembar 22 09:05:02 UTC -0010-09-15T04:44:23 = -10 Septembar 15 04:44:23 UTC Medium 2008-02-05T18:30:30 = 2008 Feb 5 18:30:30 1995-12-22T09:05:02 = 1995 Dec 22 09:05:02 -0010-09-15T04:44:23 = -10 Sep 15 04:44:23 Short 2008-02-05T18:30:30 = 08/02/05 18:30 1995-12-22T09:05:02 = 95/12/22 09:05 -0010-09-15T04:44:23 = -10/09/15 04:44 Default 2008-02-05T18:30:30 = 2008 Feb 5 18:30:30 1995-12-22T09:05:02 = 1995 Dec 22 09:05:02 -0010-09-15T04:44:23 = -10 Sep 15 04:44:23 Available Formats d (d) 2008-02-05T18:30:30 = 5 1995-12-22T09:05:02 = 22 -0010-09-15T04:44:23 = 15 EEEd (d EEE) 2008-02-05T18:30:30 = 5 Uto 1995-12-22T09:05:02 = 22 Pet -0010-09-15T04:44:23 = 15 Sub Hm (H:mm) 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 9:05 -0010-09-15T04:44:23 = 4:44 hm (h:mm a) 2008-02-05T18:30:30 = 6:30 PM 1995-12-22T09:05:02 = 9:05 AM -0010-09-15T04:44:23 = 4:44 AM Hms (H:mm:ss) 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 9:05:02 -0010-09-15T04:44:23 = 4:44:23 hms (h:mm:ss a) 2008-02-05T18:30:30 = 6:30:30 PM 1995-12-22T09:05:02 = 9:05:02 AM -0010-09-15T04:44:23 = 4:44:23 AM M (L) 2008-02-05T18:30:30 = 2 1995-12-22T09:05:02 = 12 -0010-09-15T04:44:23 = 9 Md (M-d) 2008-02-05T18:30:30 = 2-5 1995-12-22T09:05:02 = 12-22 -0010-09-15T04:44:23 = 9-15 MEd (E, M-d) 2008-02-05T18:30:30 = Uto, 2-5 1995-12-22T09:05:02 = Pet, 12-22 -0010-09-15T04:44:23 = Sub, 9-15 MMM (LLL) 2008-02-05T18:30:30 = Feb 1995-12-22T09:05:02 = Dec -0010-09-15T04:44:23 = Sep MMMd (MMM d) 2008-02-05T18:30:30 = Feb 5 1995-12-22T09:05:02 = Dec 22 -0010-09-15T04:44:23 = Sep 15 MMMEd (E MMM d) 2008-02-05T18:30:30 = Uto Feb 5 1995-12-22T09:05:02 = Pet Dec 22 -0010-09-15T04:44:23 = Sub Sep 15 MMMMd (MMMM d) 2008-02-05T18:30:30 = Februar 5 1995-12-22T09:05:02 = Decembar 22 -0010-09-15T04:44:23 = Septembar 15 MMMMEd (E MMMM d) 2008-02-05T18:30:30 = Uto Februar 5 1995-12-22T09:05:02 = Pet Decembar 22 -0010-09-15T04:44:23 = Sub Septembar 15 ms (mm:ss) 2008-02-05T18:30:30 = 30:30 1995-12-22T09:05:02 = 05:02 -0010-09-15T04:44:23 = 44:23 y (y) 2008-02-05T18:30:30 = 2008 1995-12-22T09:05:02 = 1995 -0010-09-15T04:44:23 = -10 yM (y-M) 2008-02-05T18:30:30 = 2008-2 1995-12-22T09:05:02 = 1995-12 -0010-09-15T04:44:23 = -10-9 yMEd (EEE, y-M-d) 2008-02-05T18:30:30 = Uto, 2008-2-5 1995-12-22T09:05:02 = Pet, 1995-12-22 -0010-09-15T04:44:23 = Sub, -10-9-15 yMMM (y MMM) 2008-02-05T18:30:30 = 2008 Feb 1995-12-22T09:05:02 = 1995 Dec -0010-09-15T04:44:23 = -10 Sep yMMMEd (EEE, y MMM d) 2008-02-05T18:30:30 = Uto, 2008 Feb 5 1995-12-22T09:05:02 = Pet, 1995 Dec 22 -0010-09-15T04:44:23 = Sub, -10 Sep 15 yMMMM (y MMMM) 2008-02-05T18:30:30 = 2008 Februar 1995-12-22T09:05:02 = 1995 Decembar -0010-09-15T04:44:23 = -10 Septembar yQ (y Q) 2008-02-05T18:30:30 = 2008 1 1995-12-22T09:05:02 = 1995 4 -0010-09-15T04:44:23 = -10 3 yQQQ (y QQQ) 2008-02-05T18:30:30 = 2008 K1 1995-12-22T09:05:02 = 1995 K4 -0010-09-15T04:44:23 = -10 K3 yyQ (Q yy) 2008-02-05T18:30:30 = 1 08 1995-12-22T09:05:02 = 4 95 -0010-09-15T04:44:23 = 3 -10 Miscellaneous Prefers 24 hour time? Yes Local first day of the week Ponedjeljak SUPPORT
See DateTime::Locale. AUTHOR
Dave Rolsky <autarch@urth.org> COPYRIGHT
Copyright (c) 2008 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. This module was generated from data provided by the CLDR project, see the LICENSE.cldr in this distribution for details on the CLDR data's license. perl v5.16.2 2013-08-25 DateTime::Locale::bs_BA(3)
All times are GMT -4. The time now is 11:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy