~pedramos

~pedramos/public-general

Last active 2 months ago

~pedramos/public-inbox

Last active 2 months ago

~pedramos/contrib

Last active 1 year, 1 month ago
View more

Recent activity

[PATCH v5] Implemented pwd 7 months ago

From Pedro L. Ramos to ~sircmpwn/ctools

---
I hope it is ok now.

 STATUS           |  2 +-
 doc/ctools.7.scd |  2 ++
 doc/meson.build  |  1 +
 doc/pwd.1.scd    | 35 +++++++++++++++++++++++++++++++++++
 meson.build      |  1 +
 src/pwd.c        | 40 ++++++++++++++++++++++++++++++++++++++++
 test/meson.build |  1 +
 test/pwd         | 24 ++++++++++++++++++++++++
 8 files changed, 105 insertions(+), 1 deletion(-)
 create mode 100644 doc/pwd.1.scd
 create mode 100644 src/pwd.c
[message trimmed]

[PATCH v4] Implemented pwd 8 months ago

From Pedro L. Ramos to ~sircmpwn/ctools

---
Hi, So I believe I've implemented as you wanted. I have tried to made
very clear that -L flag also returns the physical path and it is there
just not to break existing POSIX scripts. I'm not certain it is the best
approach though as people might prefer scripts to break instead of
malfuncioning. Anyway, it prints a warning when -L is used so the old
scrits won't malfunction quietly.

STATUS           |  2 +-
 doc/meson.build  |  1 +
 doc/pwd.1.scd    | 32 ++++++++++++++++++++++++++++++++
 meson.build      |  3 ++-
 src/pwd.c        | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 test/meson.build |  3 ++-
[message trimmed]

[PATCH v7] Implement echo 8 months ago

From Pedro L. Ramos to ~sircmpwn/ctools

The behaviour of echo command is to print exactly as the arguments are,
unless -n is in which the escape chars are recognized.
---
 STATUS           |  2 +-
 doc/echo.1.scd   | 61 +++++++++++++++++++++++++++++++++
 doc/meson.build  |  1 +
 meson.build      |  1 +
 src/echo.c       | 87 ++++++++++++++++++++++++++++++++++++++++++++++++
 test/echo        | 29 ++++++++++++++++
 test/meson.build |  4 +--
 7 files changed, 182 insertions(+), 3 deletions(-)
 create mode 100644 doc/echo.1.scd
 create mode 100644 src/echo.c
 create mode 100644 test/echo
[message trimmed]

Re: [PATCH v6] Implement echo 9 months ago

From Pedro L. Ramos to ~sircmpwn/ctools

Hi Drew,

>should_handle_one_string    OK
>should_handle_two_string    OK
>should_handle_tab_char      FAIL
>should_handle_c_escape_char FAIL

Indeed... and I will need your help in this one.

The echo command seems to work correctly. The difference between dash
(ubuntu) and ash (alpine) is how it handles the tabs. Ash seems to store
the tab always as a '\t' and dash converts it to an actual tab.

So, in alpine it works if I compare the output of `echo -n "a\tb"` to

[PATCH v6] Implement echo 9 months ago

From Pedro L. Ramos to ~sircmpwn/ctools

The behaviour of echo command is to print exactly as the arguments are,
unless -n is in which the escape chars are recognized.
---
 STATUS           |  2 +-
 doc/echo.1.scd   | 61 +++++++++++++++++++++++++++++++++
 doc/meson.build  |  1 +
 meson.build      |  1 +
 src/echo.c       | 87 ++++++++++++++++++++++++++++++++++++++++++++++++
 test/echo        | 29 ++++++++++++++++
 test/meson.build |  4 +--
 7 files changed, 182 insertions(+), 3 deletions(-)
 create mode 100644 doc/echo.1.scd
 create mode 100644 src/echo.c
 create mode 100644 test/echo
[message trimmed]

[PATCH v5] Implement echo 9 months ago

From Pedro L. Ramos to ~sircmpwn/ctools

The behaviour of echo command is to print exactly as the arguments are,
unless -n is in which the escape chars are recognized.
---
 STATUS           |  2 +-
 doc/echo.1.scd   | 61 +++++++++++++++++++++++++++++++++
 doc/meson.build  |  1 +
 meson.build      |  3 +-
 src/echo.c       | 87 ++++++++++++++++++++++++++++++++++++++++++++++++
 test/echo        | 29 ++++++++++++++++
 test/meson.build |  7 ++--
 7 files changed, 185 insertions(+), 5 deletions(-)
 create mode 100644 doc/echo.1.scd
 create mode 100644 src/echo.c
 create mode 100644 test/echo
[message trimmed]

[PATCH v3] Implemented pwd 9 months ago

From Pedro L. Ramos to ~sircmpwn/ctools

---
Sorry for the SPAM, I forgot to correct the documentation on v2.

STATUS           |  2 +-
 doc/meson.build  |  1 +
 doc/pwd.1.scd    | 29 ++++++++++++++++++++++++++
 meson.build      |  1 +
 src/pwd.c        | 54 ++++++++++++++++++++++++++++++++++++++++++++++++
 test/meson.build |  1 +
 test/pwd         | 24 +++++++++++++++++++++
 7 files changed, 111 insertions(+), 1 deletion(-)
 create mode 100644 doc/pwd.1.scd
 create mode 100644 src/pwd.c
 create mode 100644 test/pwd
[message trimmed]

[PATCH v2] Implemented pwd 9 months ago

From Pedro L. Ramos to ~sircmpwn/ctools

---
 STATUS           |  2 +-
 doc/meson.build  |  1 +
 doc/pwd.1.scd    | 32 ++++++++++++++++++++++++++++
 meson.build      |  1 +
 src/pwd.c        | 54 ++++++++++++++++++++++++++++++++++++++++++++++++
 test/meson.build |  1 +
 test/pwd         | 24 +++++++++++++++++++++
 7 files changed, 114 insertions(+), 1 deletion(-)
 create mode 100644 doc/pwd.1.scd
 create mode 100644 src/pwd.c
 create mode 100644 test/pwd

diff --git a/STATUS b/STATUS
[message trimmed]

[PATCH v4] Added echo and its man page 9 months ago

From Pedro L. Ramos to ~sircmpwn/ctools

The behaviour of echo command is to print exactly as the arguments are,
unless -n is in which the escape chars are recognized.
---
 STATUS           |  2 +-
 doc/echo.1.scd   | 61 +++++++++++++++++++++++++++++++++
 doc/meson.build  |  1 +
 meson.build      |  1 +
 src/echo.c       | 87 ++++++++++++++++++++++++++++++++++++++++++++++++
 test/echo        | 29 ++++++++++++++++
 test/meson.build |  1 +
 7 files changed, 181 insertions(+), 1 deletion(-)
 create mode 100644 doc/echo.1.scd
 create mode 100644 src/echo.c
 create mode 100644 test/echo
[message trimmed]

[PATCH] Implemented pwd 9 months ago

From Pedro L. Ramos to ~sircmpwn/ctools

---
 STATUS           |  2 +-
 doc/meson.build  |  1 +
 doc/pwd.1.scd    | 32 ++++++++++++++++++++++++++++
 meson.build      |  1 +
 src/pwd.c        | 54 ++++++++++++++++++++++++++++++++++++++++++++++++
 test/meson.build |  1 +
 test/pwd         | 24 +++++++++++++++++++++
 7 files changed, 114 insertions(+), 1 deletion(-)
 create mode 100644 doc/pwd.1.scd
 create mode 100644 src/pwd.c
 create mode 100644 test/pwd

diff --git a/STATUS b/STATUS
[message trimmed]