Skip to content

Commit

Permalink
Update version to 2.0.12.
Browse files Browse the repository at this point in the history
Fix segfault when running non-existent macros.
Fix file-glob command `~ep'.
Require prefix `~' before file-glob (e.g., fn => ~fn) commands.
Add file-glob test.
Add GitHub CI action.
  • Loading branch information
slewsys committed Jan 8, 2022
1 parent ca31bb1 commit e5171af
Show file tree
Hide file tree
Showing 33 changed files with 1,219 additions and 570 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build/Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
OS: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: configure
run: ./configure --enable-all-extensions --with-included-regex
- name: make
run: make
- name: make check
run: make check
856 changes: 440 additions & 416 deletions COPYING

Large diffs are not rendered by default.

20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
[![Build Status](https://travis-ci.com/slewsys/ed.svg?branch=master)](https://travis-ci.com/slewsys/ed)
![Build Status](https://github.com/slewsys/ed/actions/workflows/ed.yml/badge.svg)

Ed is an implementation of the Unix line editor. It is 8-bit clean
with 64-bit addressing and the only open source implementation that
scores 100% on The Open Group's POSIX-compliance tests.

Ed also provides a handful of useful extensions to the SUSv4 standard,
as described in the file _doc/SUSv4_.
Ed optionally provides several extensions to the SUSv4 standard
as described in [doc/SUSv4](https://github.com/slewsys/ed/blob/main/doc/SUSv4.md).

Brian W. Kernighan's ed tutorials are included courtesy of Lucent
Laboratories. See _doc/bwk/_ or, from within ed, type:
It builds and tests successfully across many systems and hardware
platforms.

!info ed RET m tutorial RET
Brian W. Kernighan's `ed` tutorials are included courtesy of _Lucent
Laboratories_. These are available as PDFs, info documents and NROFF
manuscripts. See _doc/bwk/_ or, from within `ed`, type:

The ed algorithm is described in Kernighan and Plauger's book
```ed
!info ed RET m tutorial RET
```

The `ed` algorithm is described in Kernighan and Plauger's book
_Software Tools in Pascal_, Addison-Wesley, 1981.

Please submit issues or pull requests to: <https://github.com/slewsys/ed>
20 changes: 10 additions & 10 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for ed 2.0.11.
# Generated by GNU Autoconf 2.69 for ed 2.0.12.
#
# Report bugs to <https://github.com/slewsys/ed>.
#
Expand Down Expand Up @@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='ed'
PACKAGE_TARNAME='ed'
PACKAGE_VERSION='2.0.11'
PACKAGE_STRING='ed 2.0.11'
PACKAGE_VERSION='2.0.12'
PACKAGE_STRING='ed 2.0.12'
PACKAGE_BUGREPORT='https://github.com/slewsys/ed'
PACKAGE_URL=''

Expand Down Expand Up @@ -2023,7 +2023,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures ed 2.0.11 to adapt to many kinds of systems.
\`configure' configures ed 2.0.12 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -2094,7 +2094,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of ed 2.0.11:";;
short | recursive ) echo "Configuration of ed 2.0.12:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -2246,7 +2246,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
ed configure 2.0.11
ed configure 2.0.12
generated by GNU Autoconf 2.69

Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2960,7 +2960,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by ed $as_me 2.0.11, which was
It was created by ed $as_me 2.0.12, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ $0 $@
Expand Down Expand Up @@ -5869,7 +5869,7 @@ fi

# Define the identity of the package.
PACKAGE='ed'
VERSION='2.0.11'
VERSION='2.0.12'


cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -31631,7 +31631,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by ed $as_me 2.0.11, which was
This file was extended by ed $as_me 2.0.12, which was
generated by GNU Autoconf 2.69. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -31697,7 +31697,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
ed config.status 2.0.11
ed config.status 2.0.12
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([ed],[2.0.11],[https://github.com/slewsys/ed])
AC_INIT([ed],[2.0.12],[https://github.com/slewsys/ed])
AC_CONFIG_AUX_DIR([.])
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADERS([config.h])
Expand Down
File renamed without changes.
Loading

0 comments on commit e5171af

Please sign in to comment.