diafygi / diafygi/gnu-pricing

Spaces in arguments

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
510
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Hello,

there is a bug with arguments containing spaces not correctly passed to the real binary:

```
$ mv Downloads/carnet\ pl\ sout.pdf /media/mmcblk0p1
mv: cannot stat ‘Downloads/carnet’: No such file or directory
mv: cannot stat ‘pl’: No such file or directory
mv: cannot stat ‘sout.pdf’: No such file or directory
```

it can be fixed by changed the last line of pricing.sh to

```
$THISCMD "$@"
```

or better

```
exec $THISCMD "$@"
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.