Všechno Nové

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Registrovat

Přihlásit se

Všechno Nové Registrovat Přihlásit se

All gists matching topic grep

Nedávno Vytvořeno
Nejméně nedávno Vytvořeno
Nedávno Aktualizováno
Nejméně nedávno Aktualizováno
anthony's Avatar

anthony / Semver range validator in bash (using sed, grep, and bc)

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 1 month ago
Taken from https://gist.github.com/lxe/b167d3ec4e4f94d246ebdc4bcfdfb6ac
bash grep sed shell
1 #!/bin/bash
2
3 # set -x
4
5 # Stupid Simple Semver range validator
6 # (no build metadata and no prereleases, and no multiple ranges (||))
7
8 # Prints a list of versions that match a semver range
9 # ./semver.sh "range" version version version...
Novější Starší

Vytvořeno pomocí Opengist ⋅ Load: 44ms⋅

Čeština
العربية Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 简体中文 繁體中文