ascii logo for terminal

You can share and discuss your work with other graphics designers here.
User avatar
Rava
Contributor
Contributor
Posts: 3268
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.0rc3 x86_64 + 4.0 i586
Location: Forests of Germany
Contact:

ascii logo for terminal

Post#16 by Rava » 18 Nov 2021, 22:17

ncmprhnsbl wrote:
18 Nov 2021, 21:26
fyi, neofetch is packaged in slackware current ..
I also found 20210904_77f2afc3 - but since I was unsure what version that is I still went the neofetch.SlackBuild way. But I used neofetch-20210904_77f2afc3-noarch-1.txz as skeleton base for my module.

Could be neofetch-20210904_77f2afc3 is just neofetch-7.0.0 though.
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3265
Joined: 20 Mar 2012, 03:42
Distribution: 5.0-current-64bit
Location: australia
Contact:

ascii logo for terminal

Post#17 by ncmprhnsbl » 18 Nov 2021, 22:47

Rava wrote:
18 Nov 2021, 22:17
Could be neofetch-20210904_77f2afc3 is just neofetch-7.0.0 though.
it would be direct from the git repo circa 2021-09-04, commit 77f2afc3 which is newer than the 7.1.0 release : https://github.com/dylanaraps/neofetch/ ... /tag/7.1.0 (august)
doubtful any of that matters much in terms of functionality..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 3268
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.0rc3 x86_64 + 4.0 i586
Location: Forests of Germany
Contact:

ascii logo for terminal

Post#18 by Rava » 19 Nov 2021, 05:11

ncmprhnsbl wrote:
18 Nov 2021, 22:47
it would be direct from the git repo circa 2021-09-04, commit 77f2afc3 which is newer than the 7.1.0 release : https://github.com/dylanaraps/neofetch/ ... /tag/7.1.0 (august)
doubtful any of that matters much in terms of functionality..
I wondered why some programs (not only for Slackware, but for other Linux distros as well) had this weird Date_random in its name instead of the usual version number. But that explains it. Most likely all have been git repo circa date YYYY-MM-DD commit WhAtEvEr …
I would prefer if the version number is also part of the package name since it is silly when you would have to look it up on github yourself. Oh well. You cannot have it all. Image

Added in 4 minutes 14 seconds:
Anyhow, do you know what these comments at the top of its main bash script are about:

Code: Select all

# shellcheck source=/dev/null
# shellcheck disable=2009
I have to admit that I do not get the code later on that is also about shellcheck like this one Image :

Code: Select all

    # shellcheck disable=SC2206
    dir() { pkgs=($@); ((packages+=${#pkgs[@]})); pac "$((${#pkgs[@]}-pkgs_h))";
 }
    pac() { (($1 > 0)) && { managers+=("$1 (${manager})"); manager_string+="${ma
nager}, "; }; }
    tot() {
        IFS=$'\n' read -d "" -ra pkgs <<< "$("$@")";
        ((packages+=${#pkgs[@]}));
        pac "$((${#pkgs[@]}-pkgs_h))";
    }
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3265
Joined: 20 Mar 2012, 03:42
Distribution: 5.0-current-64bit
Location: australia
Contact:

ascii logo for terminal

Post#19 by ncmprhnsbl » 19 Nov 2021, 06:36

Rava wrote:
19 Nov 2021, 05:15
Anyhow, do you know what these comments at the top of its main bash script are about:
https://github.com/dylanaraps/neofetch/ ... Exclusions
to do with the script being compliant with shellcheck* recommendations ...up to a point..
*: https://www.shellcheck.net/
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 3268
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.0rc3 x86_64 + 4.0 i586
Location: Forests of Germany
Contact:

ascii logo for terminal

Post#20 by Rava » 19 Nov 2021, 20:05

ncmprhnsbl wrote:
19 Nov 2021, 06:36
to do with the script being compliant with shellcheck* recommendations ...up to a point..
good to know. then these code snippets are nothing I need to understand to begin with. :)
Cheers!
Yours Rava

Post Reply