Skip to content

Commit

Permalink
1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jul 30, 2023
1 parent 489d45b commit 4c1fc6b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
5 changes: 5 additions & 0 deletions Changes
Expand Up @@ -2,5 +2,10 @@ Revision history for Shell-Command

{{$NEXT}}

1.1 2023-07-30T21:34:55+02:00
- simplify "cat" logic
- remove unneeded escape from name
- give test file the correct extension

1.0 2023-07-30T20:57:52+02:00
- First version in the zef ecosystem
5 changes: 2 additions & 3 deletions META6.json
Expand Up @@ -22,7 +22,7 @@
"File::Which",
"File::Find"
],
"description": "provide **cross-platform** routines emulating common \\*NIX shell commands",
"description": "provide cross-platform routines emulating common *NIX shell commands",
"license": "MIT",
"name": "Shell::Command",
"perl": "6.*",
Expand All @@ -37,7 +37,6 @@
"UNIX"
],
"test-depends": [
"Test"
],
"version": "1.0"
"version": "1.1"
}
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -3,7 +3,7 @@
NAME
====

Shell::Command - provide **cross-platform** routines emulating common \*NIX shell commands
Shell::Command - provide cross-platform routines emulating common *NIX shell commands

SYNOPSIS
========
Expand Down
9 changes: 2 additions & 7 deletions lib/Shell/Command.rakumod
Expand Up @@ -9,12 +9,7 @@ sub run-command(*@_, *%_) is export {

sub cat(*@files) is export {
for @files -> $f {
given open($f) {
for .lines -> $line {
say $line;
}
.close
}
.say for $f.IO.lines;
}
}

Expand Down Expand Up @@ -100,7 +95,7 @@ sub which($name) is export {
=head1 NAME
Shell::Command - provide **cross-platform** routines emulating common \*NIX shell commands
Shell::Command - provide cross-platform routines emulating common *NIX shell commands
=head1 SYNOPSIS
Expand Down
File renamed without changes.

0 comments on commit 4c1fc6b

Please sign in to comment.