about summary refs log tree commit diff
path: root/mseq.c
Commit message (Collapse)AuthorAgeFilesLines
* pledge(2) all programsTim Kuijsten2020-09-061-0/+3
| | | | | | | | | | | | | | | | All programs except mshow have a very tight set of promises. mshow has a broad set of promises and might be a good future candidate to further restrict using unveil(2). This patch is based on commit 0300a112 by Alex Holst (dated 2017-12-07), which was proposed in GH PR #79. * pledged mpick, mflow and mdate so that now all programs are pledged * removed some unneeded promises and added some missing promises * move err.h include and OpenBSD ifdef into a new xpledge.h * cleaned up code aligning and whitespace Closes: #179 [via git-merge-pr]
* mseq: reinitialize iter for each command line argumentLeah Neukirchen2020-08-111-1/+1
| | | | Fixes #181.
* mseq: extract DT_* handling, follow symlinksLeah Neukirchen2020-03-081-3/+3
|
* mseq: create tmpfile O_EXCL to detect multiple mseq -S in a pipelineLeah Neukirchen2018-01-061-5/+9
|
* styleLeah Neukirchen2017-08-311-4/+4
|
* mseq: use first message of range for -c and -C.Leah Neukirchen2017-07-171-0/+6
|
* mseq: remove the ,2: suffix from the file we search for and add testcaseDuncaen2017-06-251-0/+3
| | | | | | This fixes #38 Closes: #39 [via git-merge-pr]
* mseq: better error reportingLeah Neukirchen2017-02-181-4/+9
|
* clean up whitespaceLeah Neukirchen2017-01-261-3/+3
|
* use getdelim instead of getlineChristian Neukirchen2016-09-051-1/+1
| | | | Avoids weird macros to build on FreeBSD.
* Add $MBLAZE environment variable to set profile locationIvy Foster2016-09-011-1/+1
| | | | | As a side benefit, all callers of blaze822_home_file need only pass the filename, so the base directory is set in only one place.
* mseq: setcur: unset MAILDOT, because with -C we really want to force setting curChristian Neukirchen2016-08-091-0/+1
|
* mseq: allow message syntax in -cChristian Neukirchen2016-08-091-2/+14
|
* mseq: add -c to override .Christian Neukirchen2016-08-091-2/+3
|
* rename .santoku to .mblazeChristian Neukirchen2016-08-011-1/+1
|
* mseq: drop -n (now in mscan)Christian Neukirchen2016-07-311-26/+10
|
* mseq: deal with indentation in -CChristian Neukirchen2016-07-281-2/+4
|
* mseq: don't cast function pointersChristian Neukirchen2016-07-271-1/+7
|
* mseq: add usageChristian Neukirchen2016-07-261-5/+11
|
* guard DT_* usageChristian Neukirchen2016-07-261-0/+2
| | | | It's a shortcut anyway, just leave it out
* mseq: keep indentation with -fChristian Neukirchen2016-07-261-1/+1
|
* mseq: resolve message syntax for -CChristian Neukirchen2016-07-261-1/+1
|
* mseq: -C to set the current messageChristian Neukirchen2016-07-261-3/+10
|
* rename map to seqChristian Neukirchen2016-07-261-6/+7
| | | | The old terminology didn't make much sense to users.
* mseq: add -S/-A to set/append the sequenceChristian Neukirchen2016-07-261-10/+83
|
* mseq: add -f to fix sequencesChristian Neukirchen2016-07-261-3/+182
|
* mseq: -r to strip indentationChristian Neukirchen2016-07-221-4/+11
|
* mseq: default to all messages when interactive w/o argsChristian Neukirchen2016-07-201-3/+12
|
* mseq: pass through file namesChristian Neukirchen2016-07-201-0/+5
|
* mseq: -n to expand rangesChristian Neukirchen2016-07-201-2/+16
|
* clean up header includesChristian Neukirchen2016-07-181-10/+2
|
* seq: import most parts of mseq, make blaze822_loop resolve rangesChristian Neukirchen2016-07-181-124/+6
|
* mseq: extract code into seq.cChristian Neukirchen2016-07-171-23/+2
|
* add mseq (replaces next)Christian Neukirchen2016-07-161-0/+172