Bobinas P4G
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • People

Untitled attachment

Download link

https://mstdn.io/system/media_attachments/files/001/441/619/original/55060b570d78bda1.png

Notices where this attachment appears

  1. Xerz 💗 [UNMOVED] (espectalll@mstdn.io)'s status on Sunday, 18-Mar-2018 00:12:14 UTC Xerz 💗 [UNMOVED] Xerz 💗 [UNMOVED]
    in reply to

    OK, so I still didn't go to bed, and I have a #lifeHack to share. Want to get head/tail or init/last on your bourne shell script's parameters? Welp, take a look at this - it's pretty cool, check the screenshot to understand what's going on.

    Head: ${@:1:1}
    Tail: "${@:2}"
    Init: "${@:1:$#-1}"
    Last: ${@:$#}

    In conversation Sunday, 18-Mar-2018 00:12:14 UTC from mstdn.io permalink
  • Help
  • About
  • FAQ
  • Privacy
  • Source
  • Version
  • Contact

Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.