diff options
author | Benjamin Barenblat <bbarenblat@gmail.com> | 2022-01-25 18:23:21 -0500 |
---|---|---|
committer | Benjamin Barenblat <bbarenblat@gmail.com> | 2022-01-25 18:23:21 -0500 |
commit | 07c61498bd7fa6166029c1ab093a35f82d926667 (patch) | |
tree | cfbd79dec9a767f858b89033c922fd4129b85e3c /.gitignore |
skiphead, a program to preserve headers in a pipeline
This is a faster, more robust rewrite of a shell script I wrote a few
years ago to preserve headers when grepping through program output. I
can never remember what the headers are when I run things like 'ps', so
being able to say something like 'ps -ef | skiphead grep systemd' is
useful.
As a bonus, the program detects your locale and automatically displays
help and error messages using the correct encoding.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b569374 --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +# Copyright 2022 Benjamin Barenblat +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may not +# use this file except in compliance with the License. You may obtain a copy of +# the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations under +# the License. + +.ninja_* +skiphead.cc +*.o +skiphead |