Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

Registrarse

Iniciar sesión


Todos Nuevo Registrarse Iniciar sesión

All gists matching topic grep

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado
anthony's Avatar

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

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1740032087
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...
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 33ms⋅

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