dot

packages and services management
Log | Files | Refs | README

commit 6fcc8527c31b6e032f251bd606a6063883595472
parent cb5b3b906115ae1264df26878be898e37437a8bc
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat, 15 Dec 2018 13:33:18 +0100

bin/lt: list as a tree

Diffstat:
Abin/lt | 9+++++++++
Ds6/qmail-smtpd/josuah.net/conf/rcpthosts | 1-
Ds6/qmail-smtpd/tcp/run | 11-----------
Ds6/qmail-smtpd/x/conf/badloadertypes | 4----
Ds6/qmail-smtpd/x/conf/badmailfrom | 5-----
Ds6/qmail-smtpd/x/conf/badmimetypes | 12------------
Ds6/qmail-smtpd/x/conf/badrcptto | 4----
Ds6/qmail-smtpd/x/conf/databytes | 0
Ds6/qmail-smtpd/x/conf/rcpthosts | 0
Ds6/qmail-smtpd/x/conf/timeoutsmtpd | 0
Ms6/qmail-smtpd/x/setup | 5++++-
11 files changed, 13 insertions(+), 38 deletions(-)

diff --git a/bin/lt b/bin/lt @@ -0,0 +1,9 @@ +#!/usr/bin/env execlineb +elgetpositionals + +pipeline { lr -GG -f "%M %Ty-%Tm-%Td %g %u %S\1\t%p\n" "${@}" } +pipeline { sed -r "s,(\t[^\033]*)((\033\\[[;0-9]+m)+),\\2\\1," } +pipeline { ltree } +pipeline { sed -r "s,\1((\033\\[[0-9;]+m)+)(.*─ ),\\3\\1," } +pipeline { tr -d "\1" } +less -RS diff --git a/s6/qmail-smtpd/josuah.net/conf/rcpthosts b/s6/qmail-smtpd/josuah.net/conf/rcpthosts @@ -1 +0,0 @@ -josuah.net diff --git a/s6/qmail-smtpd/tcp/run b/s6/qmail-smtpd/tcp/run @@ -1,11 +0,0 @@ -#!/usr/bin/env execlineb -multisubstitute { - importas USER USER - importas BIND BIND - importas PORT PORT -} - -s6-envuidgid $USER -s6-tcpserver -U $BIND $PORT -rblsmtpd -qmail-smtpd diff --git a/s6/qmail-smtpd/x/conf/badloadertypes b/s6/qmail-smtpd/x/conf/badloadertypes @@ -1,4 +0,0 @@ -Mi5kb -MzIuZ -MyLmR -MyLkR diff --git a/s6/qmail-smtpd/x/conf/badmailfrom b/s6/qmail-smtpd/x/conf/badmailfrom @@ -1,5 +0,0 @@ -# Wildmat evaluates from least specific to most specific -* -! -!*@*.* -*%* diff --git a/s6/qmail-smtpd/x/conf/badmimetypes b/s6/qmail-smtpd/x/conf/badmimetypes @@ -1,12 +0,0 @@ -TVqQAAMAA -TVpQAAIAA -TVpAALQAc -TVpyAXkAX -TVrmAU4AA -TVrhARwAk -TVoFAQUAA -TVoAAAQAA -TVoIARMAA -TVouARsAA -TVrQAT8AA -TVoAAAEAA diff --git a/s6/qmail-smtpd/x/conf/badrcptto b/s6/qmail-smtpd/x/conf/badrcptto @@ -1,4 +0,0 @@ -# Wildmat evaluates from least specifc to most specific -*%* -*\ *@* -!*@*.* diff --git a/s6/qmail-smtpd/x/conf/databytes b/s6/qmail-smtpd/x/conf/databytes diff --git a/s6/qmail-smtpd/x/conf/rcpthosts b/s6/qmail-smtpd/x/conf/rcpthosts diff --git a/s6/qmail-smtpd/x/conf/timeoutsmtpd b/s6/qmail-smtpd/x/conf/timeoutsmtpd diff --git a/s6/qmail-smtpd/x/setup b/s6/qmail-smtpd/x/setup @@ -1,3 +1,6 @@ #!/usr/bin/env execlineb -s6-hiercopy conf /var/qmail/control +if { s6-hiercopy conf /var/qmail/ } + +s6-redirdfd -a run +elglob -0 data/* x cat ${x}