GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Wednesday, 18-Sep-2024 05:36:18 JST Haelwenn /элвэн/ :triskell: Haelwenn /элвэн/ :triskell:
    • kasdeya
    @kasdeya That's just replacing .pdf to -crop.pdf
    In conversation about 8 months ago from queer.hacktivis.me permalink
    • Embed this notice
      Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Wednesday, 18-Sep-2024 05:46:37 JST Haelwenn /элвэн/ :triskell: Haelwenn /элвэн/ :triskell:
      in reply to
      • kasdeya

      @kasdeya Seems like explainshell really needs some improvements in that area, can't even explain standard foo="foobar" ; echo ${foo//bar}.

      In conversation about 8 months ago permalink
    • Embed this notice
      njsg (njsg@social.sdf.org)'s status on Friday, 20-Sep-2024 22:41:21 JST njsg njsg
      in reply to
      • kasdeya

      @lanodan @kasdeya (Am I reading the documentation wrong or is it replacing *all* occurrences of ".pdf" in the name with "-crop.pdf"?)

      In conversation about 8 months ago permalink
    • Embed this notice
      Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Friday, 20-Sep-2024 22:41:21 JST Haelwenn /элвэн/ :triskell: Haelwenn /элвэн/ :triskell:
      in reply to
      • kasdeya
      • njsg

      @njsg @kasdeya Yup due to the double-slashes, correct one would be ${fname%.pdf}-crop.pdf (standard) or ${fname/%.pdf/-crop.pdf} if you really want to stick to bashisms.

      See https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_06_02 for the standard specification.

      In conversation about 8 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: pubs.opengroup.org
        Shell Command Language

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.