Skip to content

Instantly share code, notes, and snippets.

# replace the first occurrence
sed '0,/foo/s//bar/' file

fedrq wrsrc -Xs libunibreak -F name
❯ autoconf -i && ./configure && make -j6
3.21.0
configure: Package Major Version: 3
configure: Package Minor Version: 21
configure: Package Patch Version: 0
configure: Package Build Number:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
# Raku-specific RPM build macros for Raku modules.
%__raku /usr/bin/raku
%rakudo_rpm_version %{version}
%raku_vendor_dir /usr/share/perl6/vendor
%raku_site_dir /usr/share/perl6/site
%raku_mod_inst /usr/bin/raku-install-dist
%{__perl6} %{__raku}
%perl6_vendor_dir %{raku_vendor_dir}
%global debug_package %{nil}
%global build_timestamp %{lua: print(os.date("%Y.%m.%d"))}
Name: pony-lang
Version: 0.52.5
Release: 1%{?dist}
Summary: an open-source, actor-model, capabilities-secure, high performance programming language
License: MIT
URL: https://github.com/ponylang/ponyc
Source: https://github.com/ponylang/ponyc/archive/%{version}.tar.gz