metal3d / idok

A simple command line to stream media to kodi (aka xbmc). Stream youtube, gstreamer output, livestreamer output, and many other media stream.
BSD 3-Clause "New" or "Revised" License
62 stars 9 forks source link

awk: not an option -NF #14

Open mims92 opened 7 years ago

mims92 commented 7 years ago

Hello,

I used wget and curl and the issue is the same.

This will install idok on your computer.
Select installation type
1) Install for the current user root
2) Install for all user in /usr/local/bin (will use sudo)
3) Cancel
#? 1
awk: not an option: -NF:
bash: /root/.local/bin/idok: No such file or directory
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
chmod: cannot access ‘/root/.local/bin/idok’: No such file or directory

Installation ok, idok installed in /root/.local/bin

There is no such file in /root/.Local/bin/idok.

metal3d commented 7 years ago

Hello. At first you should not install as root. But anyway my script should forget to create the .local/bin because it exists on a large distribution list. Maybe you're on Ubuntu which badly follow freedesktop recommandation. So please try to create the path:

mkdir -p ~.local/bin

Then retry installation. Regards

metal3d commented 7 years ago

Houps! I would say:

mkdir ~/.local/bin
metal3d commented 7 years ago

... I will learn to type on my phone:

mkdir -p ~/.local/bin
metal3d commented 7 years ago

For awk... What is the version you are using ?

mims92 commented 7 years ago

I'm running dietpi on an Odroid XU4.

mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan

compiled limits:
max NF             32767
sprintf buffer      1020