Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37432708
en ru br
ALT Linux repos
S:12.3-alt1
5.0: 1.13-alt1
4.1: 1.13-alt1

Group :: Text tools
RPM: rs

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: rs
Version: 11.0
Release: alt1
Source: rs-11.0.tar
Url: http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/%name
Packager: Fr. Br. George <george at altlinux.ru>
Summary: Reshape a data array
License: BSD
Group: Text tools
# svn checkout svn://svn.freebsd.org/base/head/usr.bin/rs

%description
The rs utility reads the standard input, interpreting each line as a row
of blank-separated entries in an array, transforms the array according
to the options, and writes it on the standard output.  With no arguments
it transforms stream input into a columnar format convenient for
terminal viewing.

%prep
%setup
# getline double definition
sed -i 's/getline/get_line/g' %name.c

%build
cc -D'__FBSDID(x)=' -O2 %name.c -o %name

%install
mkdir -p %buildroot%_bindir %buildroot%_man1dir
install -s -m755 %name %buildroot%_bindir/
install %name.1 %buildroot%_man1dir/

%files
%_bindir/%name
%_man1dir/%name.*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin