Redirect 302 redirect from GET @entry_comment_create (620b8a)

GET https://kbin.spritesserver.nl/m/linux@lemmy.ml/t/9053/Ash-Vs-Bash/top

Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
4.89 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.04 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#2419
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "Ash-Vs-Bash"
  +title: "Ash Vs Bash"
  +url: null
  +body: """
    [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
    \n
    I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
    \n
    At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
    \n
    - Arrays, which Bash doesn’t seem to do well anyway\n
    - Brace expansion, which is awesome but I can live without it.\n
    \n
    What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 6
  +favouriteCount: 9
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1699031270 {#2414
    date: 2023-11-03 18:07:50.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 9053
  -titleTs: "'ash':1 'bash':3 'vs':2"
  -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1698934182
  +visibility: "visible             "
  +apId: "https://lemmy.ca/post/8481479"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698887182 {#1793
    date: 2023-11-02 02:06:22.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\Entry {#2419
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "Ash-Vs-Bash"
  +title: "Ash Vs Bash"
  +url: null
  +body: """
    [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
    \n
    I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
    \n
    At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
    \n
    - Arrays, which Bash doesn’t seem to do well anyway\n
    - Brace expansion, which is awesome but I can live without it.\n
    \n
    What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 6
  +favouriteCount: 9
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1699031270 {#2414
    date: 2023-11-03 18:07:50.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 9053
  -titleTs: "'ash':1 'bash':3 'vs':2"
  -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1698934182
  +visibility: "visible             "
  +apId: "https://lemmy.ca/post/8481479"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698887182 {#1793
    date: 2023-11-02 02:06:22.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\Entry {#2419
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "Ash-Vs-Bash"
  +title: "Ash Vs Bash"
  +url: null
  +body: """
    [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
    \n
    I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
    \n
    At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
    \n
    - Arrays, which Bash doesn’t seem to do well anyway\n
    - Brace expansion, which is awesome but I can live without it.\n
    \n
    What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 6
  +favouriteCount: 9
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1699031270 {#2414
    date: 2023-11-03 18:07:50.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 9053
  -titleTs: "'ash':1 'bash':3 'vs':2"
  -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1698934182
  +visibility: "visible             "
  +apId: "https://lemmy.ca/post/8481479"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698887182 {#1793
    date: 2023-11-02 02:06:22.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
6 DENIED moderate
App\Entity\EntryComment {#4054
  +user: App\Entity\User {#4003 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    `ash` (and its successor `dash` found on other distros) is a POSIX-y shell rather than a `sh` clone, so it has all(? most?) of the POSIX feature set, whose syntax may indeed have been 'borrowed' from shells that came later than `sh`.\n
    \n
    Not sure if there's a "parent" from which both `ash` and `bash` inherit the syntax or whether `bash` is the true source, but that doesn't really matter here.\n
    \n
    All that said, it's worth checking to see if your system has a command on the PATH called `[[`. That has been one way that `[[` support can be added to a system when the shell itself might not support it. Note that command names don't have to be alphanumeric like functions tend to be in a programming language (or *other* languages if you consider that the shell can be used for programming too), so `[[` is perfectly valid!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 8
  +score: 0
  +lastActive: DateTime @1699031272 {#4063
    date: 2023-11-03 18:07:52.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@danielquinn@lemmy.ca"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4052 …}
  +nested: Doctrine\ORM\PersistentCollection {#4050 …}
  +votes: Doctrine\ORM\PersistentCollection {#4048 …}
  +reports: Doctrine\ORM\PersistentCollection {#4046 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4014 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4018 …}
  -id: 84271
  -bodyTs: "'ad':103 'alphanumer':124 'ash':1,55 'bash':57,63 'borrow':37 'call':93 'came':41 'check':81 'clone':20 'command':89,117 'consid':139 'dash':5 'distro':9 'doesn':70 'featur':29 'found':6 'function':126 'inde':34 'inherit':58 'languag':133,136 'later':42 'like':125 'matter':73 'may':33 'might':111 'name':118 'note':115 'one':97 'parent':51 'path':92 'perfect':151 'posix':13,28 'posix-i':12 'program':132,147 'rather':16 'realli':72 'said':77 'see':83 'set':30 'sh':19,44 'shell':15,39,109,142 'sourc':67 'successor':4 'support':100,113 'sure':46 'syntax':32,60 'system':86,106 'tend':127 'true':66 'use':145 'valid':152 'way':98 'whether':62 'whose':31 'worth':80 'y':14"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/590845/-/comment/3315653"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698921456 {#3995
    date: 2023-11-02 11:37:36.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
7 DENIED edit
App\Entity\EntryComment {#4054
  +user: App\Entity\User {#4003 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    `ash` (and its successor `dash` found on other distros) is a POSIX-y shell rather than a `sh` clone, so it has all(? most?) of the POSIX feature set, whose syntax may indeed have been 'borrowed' from shells that came later than `sh`.\n
    \n
    Not sure if there's a "parent" from which both `ash` and `bash` inherit the syntax or whether `bash` is the true source, but that doesn't really matter here.\n
    \n
    All that said, it's worth checking to see if your system has a command on the PATH called `[[`. That has been one way that `[[` support can be added to a system when the shell itself might not support it. Note that command names don't have to be alphanumeric like functions tend to be in a programming language (or *other* languages if you consider that the shell can be used for programming too), so `[[` is perfectly valid!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 8
  +score: 0
  +lastActive: DateTime @1699031272 {#4063
    date: 2023-11-03 18:07:52.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@danielquinn@lemmy.ca"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4052 …}
  +nested: Doctrine\ORM\PersistentCollection {#4050 …}
  +votes: Doctrine\ORM\PersistentCollection {#4048 …}
  +reports: Doctrine\ORM\PersistentCollection {#4046 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4014 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4018 …}
  -id: 84271
  -bodyTs: "'ad':103 'alphanumer':124 'ash':1,55 'bash':57,63 'borrow':37 'call':93 'came':41 'check':81 'clone':20 'command':89,117 'consid':139 'dash':5 'distro':9 'doesn':70 'featur':29 'found':6 'function':126 'inde':34 'inherit':58 'languag':133,136 'later':42 'like':125 'matter':73 'may':33 'might':111 'name':118 'note':115 'one':97 'parent':51 'path':92 'perfect':151 'posix':13,28 'posix-i':12 'program':132,147 'rather':16 'realli':72 'said':77 'see':83 'set':30 'sh':19,44 'shell':15,39,109,142 'sourc':67 'successor':4 'support':100,113 'sure':46 'syntax':32,60 'system':86,106 'tend':127 'true':66 'use':145 'valid':152 'way':98 'whether':62 'whose':31 'worth':80 'y':14"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/590845/-/comment/3315653"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698921456 {#3995
    date: 2023-11-02 11:37:36.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
8 DENIED moderate
App\Entity\EntryComment {#4054
  +user: App\Entity\User {#4003 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    `ash` (and its successor `dash` found on other distros) is a POSIX-y shell rather than a `sh` clone, so it has all(? most?) of the POSIX feature set, whose syntax may indeed have been 'borrowed' from shells that came later than `sh`.\n
    \n
    Not sure if there's a "parent" from which both `ash` and `bash` inherit the syntax or whether `bash` is the true source, but that doesn't really matter here.\n
    \n
    All that said, it's worth checking to see if your system has a command on the PATH called `[[`. That has been one way that `[[` support can be added to a system when the shell itself might not support it. Note that command names don't have to be alphanumeric like functions tend to be in a programming language (or *other* languages if you consider that the shell can be used for programming too), so `[[` is perfectly valid!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 8
  +score: 0
  +lastActive: DateTime @1699031272 {#4063
    date: 2023-11-03 18:07:52.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@danielquinn@lemmy.ca"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4052 …}
  +nested: Doctrine\ORM\PersistentCollection {#4050 …}
  +votes: Doctrine\ORM\PersistentCollection {#4048 …}
  +reports: Doctrine\ORM\PersistentCollection {#4046 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4014 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4018 …}
  -id: 84271
  -bodyTs: "'ad':103 'alphanumer':124 'ash':1,55 'bash':57,63 'borrow':37 'call':93 'came':41 'check':81 'clone':20 'command':89,117 'consid':139 'dash':5 'distro':9 'doesn':70 'featur':29 'found':6 'function':126 'inde':34 'inherit':58 'languag':133,136 'later':42 'like':125 'matter':73 'may':33 'might':111 'name':118 'note':115 'one':97 'parent':51 'path':92 'perfect':151 'posix':13,28 'posix-i':12 'program':132,147 'rather':16 'realli':72 'said':77 'see':83 'set':30 'sh':19,44 'shell':15,39,109,142 'sourc':67 'successor':4 'support':100,113 'sure':46 'syntax':32,60 'system':86,106 'tend':127 'true':66 'use':145 'valid':152 'way':98 'whether':62 'whose':31 'worth':80 'y':14"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/linux@lemmy.ml/t/590845/-/comment/3315653"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698921456 {#3995
    date: 2023-11-02 11:37:36.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
9 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
10 DENIED moderate
App\Entity\EntryComment {#4170
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4054
    +user: App\Entity\User {#4003 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      `ash` (and its successor `dash` found on other distros) is a POSIX-y shell rather than a `sh` clone, so it has all(? most?) of the POSIX feature set, whose syntax may indeed have been 'borrowed' from shells that came later than `sh`.\n
      \n
      Not sure if there's a "parent" from which both `ash` and `bash` inherit the syntax or whether `bash` is the true source, but that doesn't really matter here.\n
      \n
      All that said, it's worth checking to see if your system has a command on the PATH called `[[`. That has been one way that `[[` support can be added to a system when the shell itself might not support it. Note that command names don't have to be alphanumeric like functions tend to be in a programming language (or *other* languages if you consider that the shell can be used for programming too), so `[[` is perfectly valid!
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1699031272 {#4063
      date: 2023-11-03 18:07:52.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@danielquinn@lemmy.ca"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4052 …}
    +nested: Doctrine\ORM\PersistentCollection {#4050 …}
    +votes: Doctrine\ORM\PersistentCollection {#4048 …}
    +reports: Doctrine\ORM\PersistentCollection {#4046 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4014 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4018 …}
    -id: 84271
    -bodyTs: "'ad':103 'alphanumer':124 'ash':1,55 'bash':57,63 'borrow':37 'call':93 'came':41 'check':81 'clone':20 'command':89,117 'consid':139 'dash':5 'distro':9 'doesn':70 'featur':29 'found':6 'function':126 'inde':34 'inherit':58 'languag':133,136 'later':42 'like':125 'matter':73 'may':33 'might':111 'name':118 'note':115 'one':97 'parent':51 'path':92 'perfect':151 'posix':13,28 'posix-i':12 'program':132,147 'rather':16 'realli':72 'said':77 'see':83 'set':30 'sh':19,44 'shell':15,39,109,142 'sourc':67 'successor':4 'support':100,113 'sure':46 'syntax':32,60 'system':86,106 'tend':127 'true':66 'use':145 'valid':152 'way':98 'whether':62 'whose':31 'worth':80 'y':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/590845/-/comment/3315653"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698921456 {#3995
      date: 2023-11-02 11:37:36.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4054}
  +body: """
    Yup, that looks like exactly what was done in Alpine:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">$ docker run --rm -it alpine ls -l /usr/bin/[[\n
    </span><span style="color:#323232;">lrwxrwxrwx    1 root     root            12 Sep 28 11:18 /usr/bin/[[ -> /bin/busybox\n
    </span>\n
    ```\n
    \n
    So while the Ash itself doesn’t support the `[[` extension, this work-around produces the same effect. Nifty.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1698967835 {#4175
    date: 2023-11-03 00:30:35.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@danielquinn@lemmy.ca"
    "@palordrolap@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4178 …}
  +nested: Doctrine\ORM\PersistentCollection {#4182 …}
  +votes: Doctrine\ORM\PersistentCollection {#4184 …}
  +reports: Doctrine\ORM\PersistentCollection {#4185 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
  -id: 85896
  -bodyTs: "'/bin/busybox':29 '/usr/bin':18,28 '1':20 '11':26 '12':23 '18':27 '28':25 'alpin':10,15 'around':43 'ash':33 'docker':11 'doesn':35 'done':8 'effect':47 'exact':5 'extens':39 'l':17 'like':4 'look':3 'lrwxrwxrwx':19 'ls':16 'nifti':48 'produc':44 'rm':13 'root':21,22 'run':12 'sep':24 'support':37 'work':42 'work-around':41 'yup':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ca/comment/4517644"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698967835 {#4172
    date: 2023-11-03 00:30:35.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
11 DENIED edit
App\Entity\EntryComment {#4170
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4054
    +user: App\Entity\User {#4003 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      `ash` (and its successor `dash` found on other distros) is a POSIX-y shell rather than a `sh` clone, so it has all(? most?) of the POSIX feature set, whose syntax may indeed have been 'borrowed' from shells that came later than `sh`.\n
      \n
      Not sure if there's a "parent" from which both `ash` and `bash` inherit the syntax or whether `bash` is the true source, but that doesn't really matter here.\n
      \n
      All that said, it's worth checking to see if your system has a command on the PATH called `[[`. That has been one way that `[[` support can be added to a system when the shell itself might not support it. Note that command names don't have to be alphanumeric like functions tend to be in a programming language (or *other* languages if you consider that the shell can be used for programming too), so `[[` is perfectly valid!
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1699031272 {#4063
      date: 2023-11-03 18:07:52.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@danielquinn@lemmy.ca"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4052 …}
    +nested: Doctrine\ORM\PersistentCollection {#4050 …}
    +votes: Doctrine\ORM\PersistentCollection {#4048 …}
    +reports: Doctrine\ORM\PersistentCollection {#4046 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4014 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4018 …}
    -id: 84271
    -bodyTs: "'ad':103 'alphanumer':124 'ash':1,55 'bash':57,63 'borrow':37 'call':93 'came':41 'check':81 'clone':20 'command':89,117 'consid':139 'dash':5 'distro':9 'doesn':70 'featur':29 'found':6 'function':126 'inde':34 'inherit':58 'languag':133,136 'later':42 'like':125 'matter':73 'may':33 'might':111 'name':118 'note':115 'one':97 'parent':51 'path':92 'perfect':151 'posix':13,28 'posix-i':12 'program':132,147 'rather':16 'realli':72 'said':77 'see':83 'set':30 'sh':19,44 'shell':15,39,109,142 'sourc':67 'successor':4 'support':100,113 'sure':46 'syntax':32,60 'system':86,106 'tend':127 'true':66 'use':145 'valid':152 'way':98 'whether':62 'whose':31 'worth':80 'y':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/590845/-/comment/3315653"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698921456 {#3995
      date: 2023-11-02 11:37:36.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4054}
  +body: """
    Yup, that looks like exactly what was done in Alpine:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">$ docker run --rm -it alpine ls -l /usr/bin/[[\n
    </span><span style="color:#323232;">lrwxrwxrwx    1 root     root            12 Sep 28 11:18 /usr/bin/[[ -> /bin/busybox\n
    </span>\n
    ```\n
    \n
    So while the Ash itself doesn’t support the `[[` extension, this work-around produces the same effect. Nifty.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1698967835 {#4175
    date: 2023-11-03 00:30:35.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@danielquinn@lemmy.ca"
    "@palordrolap@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4178 …}
  +nested: Doctrine\ORM\PersistentCollection {#4182 …}
  +votes: Doctrine\ORM\PersistentCollection {#4184 …}
  +reports: Doctrine\ORM\PersistentCollection {#4185 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
  -id: 85896
  -bodyTs: "'/bin/busybox':29 '/usr/bin':18,28 '1':20 '11':26 '12':23 '18':27 '28':25 'alpin':10,15 'around':43 'ash':33 'docker':11 'doesn':35 'done':8 'effect':47 'exact':5 'extens':39 'l':17 'like':4 'look':3 'lrwxrwxrwx':19 'ls':16 'nifti':48 'produc':44 'rm':13 'root':21,22 'run':12 'sep':24 'support':37 'work':42 'work-around':41 'yup':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ca/comment/4517644"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698967835 {#4172
    date: 2023-11-03 00:30:35.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
12 DENIED moderate
App\Entity\EntryComment {#4170
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4054
    +user: App\Entity\User {#4003 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      `ash` (and its successor `dash` found on other distros) is a POSIX-y shell rather than a `sh` clone, so it has all(? most?) of the POSIX feature set, whose syntax may indeed have been 'borrowed' from shells that came later than `sh`.\n
      \n
      Not sure if there's a "parent" from which both `ash` and `bash` inherit the syntax or whether `bash` is the true source, but that doesn't really matter here.\n
      \n
      All that said, it's worth checking to see if your system has a command on the PATH called `[[`. That has been one way that `[[` support can be added to a system when the shell itself might not support it. Note that command names don't have to be alphanumeric like functions tend to be in a programming language (or *other* languages if you consider that the shell can be used for programming too), so `[[` is perfectly valid!
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 8
    +score: 0
    +lastActive: DateTime @1699031272 {#4063
      date: 2023-11-03 18:07:52.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@danielquinn@lemmy.ca"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4052 …}
    +nested: Doctrine\ORM\PersistentCollection {#4050 …}
    +votes: Doctrine\ORM\PersistentCollection {#4048 …}
    +reports: Doctrine\ORM\PersistentCollection {#4046 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4014 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4018 …}
    -id: 84271
    -bodyTs: "'ad':103 'alphanumer':124 'ash':1,55 'bash':57,63 'borrow':37 'call':93 'came':41 'check':81 'clone':20 'command':89,117 'consid':139 'dash':5 'distro':9 'doesn':70 'featur':29 'found':6 'function':126 'inde':34 'inherit':58 'languag':133,136 'later':42 'like':125 'matter':73 'may':33 'might':111 'name':118 'note':115 'one':97 'parent':51 'path':92 'perfect':151 'posix':13,28 'posix-i':12 'program':132,147 'rather':16 'realli':72 'said':77 'see':83 'set':30 'sh':19,44 'shell':15,39,109,142 'sourc':67 'successor':4 'support':100,113 'sure':46 'syntax':32,60 'system':86,106 'tend':127 'true':66 'use':145 'valid':152 'way':98 'whether':62 'whose':31 'worth':80 'y':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/590845/-/comment/3315653"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698921456 {#3995
      date: 2023-11-02 11:37:36.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4054}
  +body: """
    Yup, that looks like exactly what was done in Alpine:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">$ docker run --rm -it alpine ls -l /usr/bin/[[\n
    </span><span style="color:#323232;">lrwxrwxrwx    1 root     root            12 Sep 28 11:18 /usr/bin/[[ -> /bin/busybox\n
    </span>\n
    ```\n
    \n
    So while the Ash itself doesn’t support the `[[` extension, this work-around produces the same effect. Nifty.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1698967835 {#4175
    date: 2023-11-03 00:30:35.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@danielquinn@lemmy.ca"
    "@palordrolap@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4178 …}
  +nested: Doctrine\ORM\PersistentCollection {#4182 …}
  +votes: Doctrine\ORM\PersistentCollection {#4184 …}
  +reports: Doctrine\ORM\PersistentCollection {#4185 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
  -id: 85896
  -bodyTs: "'/bin/busybox':29 '/usr/bin':18,28 '1':20 '11':26 '12':23 '18':27 '28':25 'alpin':10,15 'around':43 'ash':33 'docker':11 'doesn':35 'done':8 'effect':47 'exact':5 'extens':39 'l':17 'like':4 'look':3 'lrwxrwxrwx':19 'ls':16 'nifti':48 'produc':44 'rm':13 'root':21,22 'run':12 'sep':24 'support':37 'work':42 'work-around':41 'yup':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ca/comment/4517644"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698967835 {#4172
    date: 2023-11-03 00:30:35.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
13 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
14 DENIED moderate
App\Entity\EntryComment {#4207
  +user: Proxies\__CG__\App\Entity\User {#4215 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4170
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4054
      +user: App\Entity\User {#4003 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        `ash` (and its successor `dash` found on other distros) is a POSIX-y shell rather than a `sh` clone, so it has all(? most?) of the POSIX feature set, whose syntax may indeed have been 'borrowed' from shells that came later than `sh`.\n
        \n
        Not sure if there's a "parent" from which both `ash` and `bash` inherit the syntax or whether `bash` is the true source, but that doesn't really matter here.\n
        \n
        All that said, it's worth checking to see if your system has a command on the PATH called `[[`. That has been one way that `[[` support can be added to a system when the shell itself might not support it. Note that command names don't have to be alphanumeric like functions tend to be in a programming language (or *other* languages if you consider that the shell can be used for programming too), so `[[` is perfectly valid!
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 8
      +score: 0
      +lastActive: DateTime @1699031272 {#4063
        date: 2023-11-03 18:07:52.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@danielquinn@lemmy.ca"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4052 …}
      +nested: Doctrine\ORM\PersistentCollection {#4050 …}
      +votes: Doctrine\ORM\PersistentCollection {#4048 …}
      +reports: Doctrine\ORM\PersistentCollection {#4046 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4014 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4018 …}
      -id: 84271
      -bodyTs: "'ad':103 'alphanumer':124 'ash':1,55 'bash':57,63 'borrow':37 'call':93 'came':41 'check':81 'clone':20 'command':89,117 'consid':139 'dash':5 'distro':9 'doesn':70 'featur':29 'found':6 'function':126 'inde':34 'inherit':58 'languag':133,136 'later':42 'like':125 'matter':73 'may':33 'might':111 'name':118 'note':115 'one':97 'parent':51 'path':92 'perfect':151 'posix':13,28 'posix-i':12 'program':132,147 'rather':16 'realli':72 'said':77 'see':83 'set':30 'sh':19,44 'shell':15,39,109,142 'sourc':67 'successor':4 'support':100,113 'sure':46 'syntax':32,60 'system':86,106 'tend':127 'true':66 'use':145 'valid':152 'way':98 'whether':62 'whose':31 'worth':80 'y':14"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/590845/-/comment/3315653"
      +editedAt: null
      +createdAt: DateTimeImmutable @1698921456 {#3995
        date: 2023-11-02 11:37:36.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4054}
    +body: """
      Yup, that looks like exactly what was done in Alpine:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker run --rm -it alpine ls -l /usr/bin/[[\n
      </span><span style="color:#323232;">lrwxrwxrwx    1 root     root            12 Sep 28 11:18 /usr/bin/[[ -> /bin/busybox\n
      </span>\n
      ```\n
      \n
      So while the Ash itself doesn’t support the `[[` extension, this work-around produces the same effect. Nifty.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1698967835 {#4175
      date: 2023-11-03 00:30:35.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@danielquinn@lemmy.ca"
      "@palordrolap@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4178 …}
    +nested: Doctrine\ORM\PersistentCollection {#4182 …}
    +votes: Doctrine\ORM\PersistentCollection {#4184 …}
    +reports: Doctrine\ORM\PersistentCollection {#4185 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 85896
    -bodyTs: "'/bin/busybox':29 '/usr/bin':18,28 '1':20 '11':26 '12':23 '18':27 '28':25 'alpin':10,15 'around':43 'ash':33 'docker':11 'doesn':35 'done':8 'effect':47 'exact':5 'extens':39 'l':17 'like':4 'look':3 'lrwxrwxrwx':19 'ls':16 'nifti':48 'produc':44 'rm':13 'root':21,22 'run':12 'sep':24 'support':37 'work':42 'work-around':41 'yup':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ca/comment/4517644"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698967835 {#4172
      date: 2023-11-03 00:30:35.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4054}
  +body: """
    Although that link exists, that’s not what is being used by default. `[[` **is** a shell builtin in ash/busybox, so that takes precedence.\n
    \n
    On Alpine:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">❯ which [[\n
    </span><span style="color:#323232;">/usr/bin/[[\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">❯ command -V [[\n
    </span><span style="color:#323232;">[[ is a shell builtin\n
    </span>\n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1698978609 {#4212
    date: 2023-11-03 03:30:09.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@danielquinn@lemmy.ca"
    "@palordrolap@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4218 …}
  +nested: Doctrine\ORM\PersistentCollection {#4220 …}
  +votes: Doctrine\ORM\PersistentCollection {#4216 …}
  +reports: Doctrine\ORM\PersistentCollection {#4223 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4225 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4227 …}
  -id: 86141
  -bodyTs: "'/usr/bin':27 'alpin':25 'although':1 'ash/busybox':19 'builtin':17,33 'command':28 'default':13 'exist':4 'link':3 'preced':23 'shell':16,32 'take':22 'use':11 'v':29"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5023585"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698978609 {#4209
    date: 2023-11-03 03:30:09.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
15 DENIED edit
App\Entity\EntryComment {#4207
  +user: Proxies\__CG__\App\Entity\User {#4215 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4170
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4054
      +user: App\Entity\User {#4003 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        `ash` (and its successor `dash` found on other distros) is a POSIX-y shell rather than a `sh` clone, so it has all(? most?) of the POSIX feature set, whose syntax may indeed have been 'borrowed' from shells that came later than `sh`.\n
        \n
        Not sure if there's a "parent" from which both `ash` and `bash` inherit the syntax or whether `bash` is the true source, but that doesn't really matter here.\n
        \n
        All that said, it's worth checking to see if your system has a command on the PATH called `[[`. That has been one way that `[[` support can be added to a system when the shell itself might not support it. Note that command names don't have to be alphanumeric like functions tend to be in a programming language (or *other* languages if you consider that the shell can be used for programming too), so `[[` is perfectly valid!
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 8
      +score: 0
      +lastActive: DateTime @1699031272 {#4063
        date: 2023-11-03 18:07:52.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@danielquinn@lemmy.ca"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4052 …}
      +nested: Doctrine\ORM\PersistentCollection {#4050 …}
      +votes: Doctrine\ORM\PersistentCollection {#4048 …}
      +reports: Doctrine\ORM\PersistentCollection {#4046 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4014 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4018 …}
      -id: 84271
      -bodyTs: "'ad':103 'alphanumer':124 'ash':1,55 'bash':57,63 'borrow':37 'call':93 'came':41 'check':81 'clone':20 'command':89,117 'consid':139 'dash':5 'distro':9 'doesn':70 'featur':29 'found':6 'function':126 'inde':34 'inherit':58 'languag':133,136 'later':42 'like':125 'matter':73 'may':33 'might':111 'name':118 'note':115 'one':97 'parent':51 'path':92 'perfect':151 'posix':13,28 'posix-i':12 'program':132,147 'rather':16 'realli':72 'said':77 'see':83 'set':30 'sh':19,44 'shell':15,39,109,142 'sourc':67 'successor':4 'support':100,113 'sure':46 'syntax':32,60 'system':86,106 'tend':127 'true':66 'use':145 'valid':152 'way':98 'whether':62 'whose':31 'worth':80 'y':14"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/590845/-/comment/3315653"
      +editedAt: null
      +createdAt: DateTimeImmutable @1698921456 {#3995
        date: 2023-11-02 11:37:36.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4054}
    +body: """
      Yup, that looks like exactly what was done in Alpine:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker run --rm -it alpine ls -l /usr/bin/[[\n
      </span><span style="color:#323232;">lrwxrwxrwx    1 root     root            12 Sep 28 11:18 /usr/bin/[[ -> /bin/busybox\n
      </span>\n
      ```\n
      \n
      So while the Ash itself doesn’t support the `[[` extension, this work-around produces the same effect. Nifty.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1698967835 {#4175
      date: 2023-11-03 00:30:35.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@danielquinn@lemmy.ca"
      "@palordrolap@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4178 …}
    +nested: Doctrine\ORM\PersistentCollection {#4182 …}
    +votes: Doctrine\ORM\PersistentCollection {#4184 …}
    +reports: Doctrine\ORM\PersistentCollection {#4185 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 85896
    -bodyTs: "'/bin/busybox':29 '/usr/bin':18,28 '1':20 '11':26 '12':23 '18':27 '28':25 'alpin':10,15 'around':43 'ash':33 'docker':11 'doesn':35 'done':8 'effect':47 'exact':5 'extens':39 'l':17 'like':4 'look':3 'lrwxrwxrwx':19 'ls':16 'nifti':48 'produc':44 'rm':13 'root':21,22 'run':12 'sep':24 'support':37 'work':42 'work-around':41 'yup':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ca/comment/4517644"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698967835 {#4172
      date: 2023-11-03 00:30:35.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4054}
  +body: """
    Although that link exists, that’s not what is being used by default. `[[` **is** a shell builtin in ash/busybox, so that takes precedence.\n
    \n
    On Alpine:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">❯ which [[\n
    </span><span style="color:#323232;">/usr/bin/[[\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">❯ command -V [[\n
    </span><span style="color:#323232;">[[ is a shell builtin\n
    </span>\n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1698978609 {#4212
    date: 2023-11-03 03:30:09.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@danielquinn@lemmy.ca"
    "@palordrolap@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4218 …}
  +nested: Doctrine\ORM\PersistentCollection {#4220 …}
  +votes: Doctrine\ORM\PersistentCollection {#4216 …}
  +reports: Doctrine\ORM\PersistentCollection {#4223 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4225 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4227 …}
  -id: 86141
  -bodyTs: "'/usr/bin':27 'alpin':25 'although':1 'ash/busybox':19 'builtin':17,33 'command':28 'default':13 'exist':4 'link':3 'preced':23 'shell':16,32 'take':22 'use':11 'v':29"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5023585"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698978609 {#4209
    date: 2023-11-03 03:30:09.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
16 DENIED moderate
App\Entity\EntryComment {#4207
  +user: Proxies\__CG__\App\Entity\User {#4215 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4170
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4054
      +user: App\Entity\User {#4003 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        `ash` (and its successor `dash` found on other distros) is a POSIX-y shell rather than a `sh` clone, so it has all(? most?) of the POSIX feature set, whose syntax may indeed have been 'borrowed' from shells that came later than `sh`.\n
        \n
        Not sure if there's a "parent" from which both `ash` and `bash` inherit the syntax or whether `bash` is the true source, but that doesn't really matter here.\n
        \n
        All that said, it's worth checking to see if your system has a command on the PATH called `[[`. That has been one way that `[[` support can be added to a system when the shell itself might not support it. Note that command names don't have to be alphanumeric like functions tend to be in a programming language (or *other* languages if you consider that the shell can be used for programming too), so `[[` is perfectly valid!
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 8
      +score: 0
      +lastActive: DateTime @1699031272 {#4063
        date: 2023-11-03 18:07:52.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@danielquinn@lemmy.ca"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4052 …}
      +nested: Doctrine\ORM\PersistentCollection {#4050 …}
      +votes: Doctrine\ORM\PersistentCollection {#4048 …}
      +reports: Doctrine\ORM\PersistentCollection {#4046 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4014 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4018 …}
      -id: 84271
      -bodyTs: "'ad':103 'alphanumer':124 'ash':1,55 'bash':57,63 'borrow':37 'call':93 'came':41 'check':81 'clone':20 'command':89,117 'consid':139 'dash':5 'distro':9 'doesn':70 'featur':29 'found':6 'function':126 'inde':34 'inherit':58 'languag':133,136 'later':42 'like':125 'matter':73 'may':33 'might':111 'name':118 'note':115 'one':97 'parent':51 'path':92 'perfect':151 'posix':13,28 'posix-i':12 'program':132,147 'rather':16 'realli':72 'said':77 'see':83 'set':30 'sh':19,44 'shell':15,39,109,142 'sourc':67 'successor':4 'support':100,113 'sure':46 'syntax':32,60 'system':86,106 'tend':127 'true':66 'use':145 'valid':152 'way':98 'whether':62 'whose':31 'worth':80 'y':14"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/linux@lemmy.ml/t/590845/-/comment/3315653"
      +editedAt: null
      +createdAt: DateTimeImmutable @1698921456 {#3995
        date: 2023-11-02 11:37:36.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4054}
    +body: """
      Yup, that looks like exactly what was done in Alpine:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker run --rm -it alpine ls -l /usr/bin/[[\n
      </span><span style="color:#323232;">lrwxrwxrwx    1 root     root            12 Sep 28 11:18 /usr/bin/[[ -> /bin/busybox\n
      </span>\n
      ```\n
      \n
      So while the Ash itself doesn’t support the `[[` extension, this work-around produces the same effect. Nifty.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1698967835 {#4175
      date: 2023-11-03 00:30:35.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@danielquinn@lemmy.ca"
      "@palordrolap@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4178 …}
    +nested: Doctrine\ORM\PersistentCollection {#4182 …}
    +votes: Doctrine\ORM\PersistentCollection {#4184 …}
    +reports: Doctrine\ORM\PersistentCollection {#4185 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 85896
    -bodyTs: "'/bin/busybox':29 '/usr/bin':18,28 '1':20 '11':26 '12':23 '18':27 '28':25 'alpin':10,15 'around':43 'ash':33 'docker':11 'doesn':35 'done':8 'effect':47 'exact':5 'extens':39 'l':17 'like':4 'look':3 'lrwxrwxrwx':19 'ls':16 'nifti':48 'produc':44 'rm':13 'root':21,22 'run':12 'sep':24 'support':37 'work':42 'work-around':41 'yup':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ca/comment/4517644"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698967835 {#4172
      date: 2023-11-03 00:30:35.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4054}
  +body: """
    Although that link exists, that’s not what is being used by default. `[[` **is** a shell builtin in ash/busybox, so that takes precedence.\n
    \n
    On Alpine:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">❯ which [[\n
    </span><span style="color:#323232;">/usr/bin/[[\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">❯ command -V [[\n
    </span><span style="color:#323232;">[[ is a shell builtin\n
    </span>\n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1698978609 {#4212
    date: 2023-11-03 03:30:09.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@danielquinn@lemmy.ca"
    "@palordrolap@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4218 …}
  +nested: Doctrine\ORM\PersistentCollection {#4220 …}
  +votes: Doctrine\ORM\PersistentCollection {#4216 …}
  +reports: Doctrine\ORM\PersistentCollection {#4223 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4225 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4227 …}
  -id: 86141
  -bodyTs: "'/usr/bin':27 'alpin':25 'although':1 'ash/busybox':19 'builtin':17,33 'command':28 'default':13 'exist':4 'link':3 'preced':23 'shell':16,32 'take':22 'use':11 'v':29"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5023585"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698978609 {#4209
    date: 2023-11-03 03:30:09.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
17 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
18 DENIED moderate
App\Entity\EntryComment {#4244
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4207
    +user: Proxies\__CG__\App\Entity\User {#4215 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4170
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4054
        +user: App\Entity\User {#4003 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          `ash` (and its successor `dash` found on other distros) is a POSIX-y shell rather than a `sh` clone, so it has all(? most?) of the POSIX feature set, whose syntax may indeed have been 'borrowed' from shells that came later than `sh`.\n
          \n
          Not sure if there's a "parent" from which both `ash` and `bash` inherit the syntax or whether `bash` is the true source, but that doesn't really matter here.\n
          \n
          All that said, it's worth checking to see if your system has a command on the PATH called `[[`. That has been one way that `[[` support can be added to a system when the shell itself might not support it. Note that command names don't have to be alphanumeric like functions tend to be in a programming language (or *other* languages if you consider that the shell can be used for programming too), so `[[` is perfectly valid!
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 8
        +score: 0
        +lastActive: DateTime @1699031272 {#4063
          date: 2023-11-03 18:07:52.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@danielquinn@lemmy.ca"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4052 …}
        +nested: Doctrine\ORM\PersistentCollection {#4050 …}
        +votes: Doctrine\ORM\PersistentCollection {#4048 …}
        +reports: Doctrine\ORM\PersistentCollection {#4046 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4014 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4018 …}
        -id: 84271
        -bodyTs: "'ad':103 'alphanumer':124 'ash':1,55 'bash':57,63 'borrow':37 'call':93 'came':41 'check':81 'clone':20 'command':89,117 'consid':139 'dash':5 'distro':9 'doesn':70 'featur':29 'found':6 'function':126 'inde':34 'inherit':58 'languag':133,136 'later':42 'like':125 'matter':73 'may':33 'might':111 'name':118 'note':115 'one':97 'parent':51 'path':92 'perfect':151 'posix':13,28 'posix-i':12 'program':132,147 'rather':16 'realli':72 'said':77 'see':83 'set':30 'sh':19,44 'shell':15,39,109,142 'sourc':67 'successor':4 'support':100,113 'sure':46 'syntax':32,60 'system':86,106 'tend':127 'true':66 'use':145 'valid':152 'way':98 'whether':62 'whose':31 'worth':80 'y':14"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/linux@lemmy.ml/t/590845/-/comment/3315653"
        +editedAt: null
        +createdAt: DateTimeImmutable @1698921456 {#3995
          date: 2023-11-02 11:37:36.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4054}
      +body: """
        Yup, that looks like exactly what was done in Alpine:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">$ docker run --rm -it alpine ls -l /usr/bin/[[\n
        </span><span style="color:#323232;">lrwxrwxrwx    1 root     root            12 Sep 28 11:18 /usr/bin/[[ -> /bin/busybox\n
        </span>\n
        ```\n
        \n
        So while the Ash itself doesn’t support the `[[` extension, this work-around produces the same effect. Nifty.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1698967835 {#4175
        date: 2023-11-03 00:30:35.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@danielquinn@lemmy.ca"
        "@palordrolap@kbin.social"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4178 …}
      +nested: Doctrine\ORM\PersistentCollection {#4182 …}
      +votes: Doctrine\ORM\PersistentCollection {#4184 …}
      +reports: Doctrine\ORM\PersistentCollection {#4185 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 85896
      -bodyTs: "'/bin/busybox':29 '/usr/bin':18,28 '1':20 '11':26 '12':23 '18':27 '28':25 'alpin':10,15 'around':43 'ash':33 'docker':11 'doesn':35 'done':8 'effect':47 'exact':5 'extens':39 'l':17 'like':4 'look':3 'lrwxrwxrwx':19 'ls':16 'nifti':48 'produc':44 'rm':13 'root':21,22 'run':12 'sep':24 'support':37 'work':42 'work-around':41 'yup':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ca/comment/4517644"
      +editedAt: null
      +createdAt: DateTimeImmutable @1698967835 {#4172
        date: 2023-11-03 00:30:35.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4054}
    +body: """
      Although that link exists, that’s not what is being used by default. `[[` **is** a shell builtin in ash/busybox, so that takes precedence.\n
      \n
      On Alpine:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">❯ which [[\n
      </span><span style="color:#323232;">/usr/bin/[[\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">❯ command -V [[\n
      </span><span style="color:#323232;">[[ is a shell builtin\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1698978609 {#4212
      date: 2023-11-03 03:30:09.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@danielquinn@lemmy.ca"
      "@palordrolap@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4218 …}
    +nested: Doctrine\ORM\PersistentCollection {#4220 …}
    +votes: Doctrine\ORM\PersistentCollection {#4216 …}
    +reports: Doctrine\ORM\PersistentCollection {#4223 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4225 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4227 …}
    -id: 86141
    -bodyTs: "'/usr/bin':27 'alpin':25 'although':1 'ash/busybox':19 'builtin':17,33 'command':28 'default':13 'exist':4 'link':3 'preced':23 'shell':16,32 'take':22 'use':11 'v':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5023585"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698978609 {#4209
      date: 2023-11-03 03:30:09.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4054}
  +body: "Huh. So the link is unnecessary and Ash supports [[ out of the box? Good to know, thanks!"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1699031270 {#4239
    date: 2023-11-03 18:07:50.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@danielquinn@lemmy.ca"
    "@palordrolap@kbin.social"
    "@jntesteves@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4236 …}
  +nested: Doctrine\ORM\PersistentCollection {#4233 …}
  +votes: Doctrine\ORM\PersistentCollection {#4231 …}
  +reports: Doctrine\ORM\PersistentCollection {#4245 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
  -id: 87531
  -bodyTs: "'ash':8 'box':13 'good':14 'huh':1 'know':16 'link':4 'support':9 'thank':17 'unnecessari':6"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ca/comment/4538152"
  +editedAt: null
  +createdAt: DateTimeImmutable @1699031270 {#4242
    date: 2023-11-03 18:07:50.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
19 DENIED edit
App\Entity\EntryComment {#4244
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4207
    +user: Proxies\__CG__\App\Entity\User {#4215 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4170
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4054
        +user: App\Entity\User {#4003 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          `ash` (and its successor `dash` found on other distros) is a POSIX-y shell rather than a `sh` clone, so it has all(? most?) of the POSIX feature set, whose syntax may indeed have been 'borrowed' from shells that came later than `sh`.\n
          \n
          Not sure if there's a "parent" from which both `ash` and `bash` inherit the syntax or whether `bash` is the true source, but that doesn't really matter here.\n
          \n
          All that said, it's worth checking to see if your system has a command on the PATH called `[[`. That has been one way that `[[` support can be added to a system when the shell itself might not support it. Note that command names don't have to be alphanumeric like functions tend to be in a programming language (or *other* languages if you consider that the shell can be used for programming too), so `[[` is perfectly valid!
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 8
        +score: 0
        +lastActive: DateTime @1699031272 {#4063
          date: 2023-11-03 18:07:52.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@danielquinn@lemmy.ca"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4052 …}
        +nested: Doctrine\ORM\PersistentCollection {#4050 …}
        +votes: Doctrine\ORM\PersistentCollection {#4048 …}
        +reports: Doctrine\ORM\PersistentCollection {#4046 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4014 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4018 …}
        -id: 84271
        -bodyTs: "'ad':103 'alphanumer':124 'ash':1,55 'bash':57,63 'borrow':37 'call':93 'came':41 'check':81 'clone':20 'command':89,117 'consid':139 'dash':5 'distro':9 'doesn':70 'featur':29 'found':6 'function':126 'inde':34 'inherit':58 'languag':133,136 'later':42 'like':125 'matter':73 'may':33 'might':111 'name':118 'note':115 'one':97 'parent':51 'path':92 'perfect':151 'posix':13,28 'posix-i':12 'program':132,147 'rather':16 'realli':72 'said':77 'see':83 'set':30 'sh':19,44 'shell':15,39,109,142 'sourc':67 'successor':4 'support':100,113 'sure':46 'syntax':32,60 'system':86,106 'tend':127 'true':66 'use':145 'valid':152 'way':98 'whether':62 'whose':31 'worth':80 'y':14"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/linux@lemmy.ml/t/590845/-/comment/3315653"
        +editedAt: null
        +createdAt: DateTimeImmutable @1698921456 {#3995
          date: 2023-11-02 11:37:36.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4054}
      +body: """
        Yup, that looks like exactly what was done in Alpine:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">$ docker run --rm -it alpine ls -l /usr/bin/[[\n
        </span><span style="color:#323232;">lrwxrwxrwx    1 root     root            12 Sep 28 11:18 /usr/bin/[[ -> /bin/busybox\n
        </span>\n
        ```\n
        \n
        So while the Ash itself doesn’t support the `[[` extension, this work-around produces the same effect. Nifty.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1698967835 {#4175
        date: 2023-11-03 00:30:35.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@danielquinn@lemmy.ca"
        "@palordrolap@kbin.social"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4178 …}
      +nested: Doctrine\ORM\PersistentCollection {#4182 …}
      +votes: Doctrine\ORM\PersistentCollection {#4184 …}
      +reports: Doctrine\ORM\PersistentCollection {#4185 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 85896
      -bodyTs: "'/bin/busybox':29 '/usr/bin':18,28 '1':20 '11':26 '12':23 '18':27 '28':25 'alpin':10,15 'around':43 'ash':33 'docker':11 'doesn':35 'done':8 'effect':47 'exact':5 'extens':39 'l':17 'like':4 'look':3 'lrwxrwxrwx':19 'ls':16 'nifti':48 'produc':44 'rm':13 'root':21,22 'run':12 'sep':24 'support':37 'work':42 'work-around':41 'yup':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ca/comment/4517644"
      +editedAt: null
      +createdAt: DateTimeImmutable @1698967835 {#4172
        date: 2023-11-03 00:30:35.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4054}
    +body: """
      Although that link exists, that’s not what is being used by default. `[[` **is** a shell builtin in ash/busybox, so that takes precedence.\n
      \n
      On Alpine:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">❯ which [[\n
      </span><span style="color:#323232;">/usr/bin/[[\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">❯ command -V [[\n
      </span><span style="color:#323232;">[[ is a shell builtin\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1698978609 {#4212
      date: 2023-11-03 03:30:09.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@danielquinn@lemmy.ca"
      "@palordrolap@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4218 …}
    +nested: Doctrine\ORM\PersistentCollection {#4220 …}
    +votes: Doctrine\ORM\PersistentCollection {#4216 …}
    +reports: Doctrine\ORM\PersistentCollection {#4223 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4225 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4227 …}
    -id: 86141
    -bodyTs: "'/usr/bin':27 'alpin':25 'although':1 'ash/busybox':19 'builtin':17,33 'command':28 'default':13 'exist':4 'link':3 'preced':23 'shell':16,32 'take':22 'use':11 'v':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5023585"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698978609 {#4209
      date: 2023-11-03 03:30:09.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4054}
  +body: "Huh. So the link is unnecessary and Ash supports [[ out of the box? Good to know, thanks!"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1699031270 {#4239
    date: 2023-11-03 18:07:50.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@danielquinn@lemmy.ca"
    "@palordrolap@kbin.social"
    "@jntesteves@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4236 …}
  +nested: Doctrine\ORM\PersistentCollection {#4233 …}
  +votes: Doctrine\ORM\PersistentCollection {#4231 …}
  +reports: Doctrine\ORM\PersistentCollection {#4245 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
  -id: 87531
  -bodyTs: "'ash':8 'box':13 'good':14 'huh':1 'know':16 'link':4 'support':9 'thank':17 'unnecessari':6"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ca/comment/4538152"
  +editedAt: null
  +createdAt: DateTimeImmutable @1699031270 {#4242
    date: 2023-11-03 18:07:50.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
20 DENIED moderate
App\Entity\EntryComment {#4244
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4207
    +user: Proxies\__CG__\App\Entity\User {#4215 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4170
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4054
        +user: App\Entity\User {#4003 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          `ash` (and its successor `dash` found on other distros) is a POSIX-y shell rather than a `sh` clone, so it has all(? most?) of the POSIX feature set, whose syntax may indeed have been 'borrowed' from shells that came later than `sh`.\n
          \n
          Not sure if there's a "parent" from which both `ash` and `bash` inherit the syntax or whether `bash` is the true source, but that doesn't really matter here.\n
          \n
          All that said, it's worth checking to see if your system has a command on the PATH called `[[`. That has been one way that `[[` support can be added to a system when the shell itself might not support it. Note that command names don't have to be alphanumeric like functions tend to be in a programming language (or *other* languages if you consider that the shell can be used for programming too), so `[[` is perfectly valid!
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 8
        +score: 0
        +lastActive: DateTime @1699031272 {#4063
          date: 2023-11-03 18:07:52.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@danielquinn@lemmy.ca"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4052 …}
        +nested: Doctrine\ORM\PersistentCollection {#4050 …}
        +votes: Doctrine\ORM\PersistentCollection {#4048 …}
        +reports: Doctrine\ORM\PersistentCollection {#4046 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4014 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4018 …}
        -id: 84271
        -bodyTs: "'ad':103 'alphanumer':124 'ash':1,55 'bash':57,63 'borrow':37 'call':93 'came':41 'check':81 'clone':20 'command':89,117 'consid':139 'dash':5 'distro':9 'doesn':70 'featur':29 'found':6 'function':126 'inde':34 'inherit':58 'languag':133,136 'later':42 'like':125 'matter':73 'may':33 'might':111 'name':118 'note':115 'one':97 'parent':51 'path':92 'perfect':151 'posix':13,28 'posix-i':12 'program':132,147 'rather':16 'realli':72 'said':77 'see':83 'set':30 'sh':19,44 'shell':15,39,109,142 'sourc':67 'successor':4 'support':100,113 'sure':46 'syntax':32,60 'system':86,106 'tend':127 'true':66 'use':145 'valid':152 'way':98 'whether':62 'whose':31 'worth':80 'y':14"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/linux@lemmy.ml/t/590845/-/comment/3315653"
        +editedAt: null
        +createdAt: DateTimeImmutable @1698921456 {#3995
          date: 2023-11-02 11:37:36.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4054}
      +body: """
        Yup, that looks like exactly what was done in Alpine:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">$ docker run --rm -it alpine ls -l /usr/bin/[[\n
        </span><span style="color:#323232;">lrwxrwxrwx    1 root     root            12 Sep 28 11:18 /usr/bin/[[ -> /bin/busybox\n
        </span>\n
        ```\n
        \n
        So while the Ash itself doesn’t support the `[[` extension, this work-around produces the same effect. Nifty.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1698967835 {#4175
        date: 2023-11-03 00:30:35.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@danielquinn@lemmy.ca"
        "@palordrolap@kbin.social"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4178 …}
      +nested: Doctrine\ORM\PersistentCollection {#4182 …}
      +votes: Doctrine\ORM\PersistentCollection {#4184 …}
      +reports: Doctrine\ORM\PersistentCollection {#4185 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 85896
      -bodyTs: "'/bin/busybox':29 '/usr/bin':18,28 '1':20 '11':26 '12':23 '18':27 '28':25 'alpin':10,15 'around':43 'ash':33 'docker':11 'doesn':35 'done':8 'effect':47 'exact':5 'extens':39 'l':17 'like':4 'look':3 'lrwxrwxrwx':19 'ls':16 'nifti':48 'produc':44 'rm':13 'root':21,22 'run':12 'sep':24 'support':37 'work':42 'work-around':41 'yup':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ca/comment/4517644"
      +editedAt: null
      +createdAt: DateTimeImmutable @1698967835 {#4172
        date: 2023-11-03 00:30:35.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4054}
    +body: """
      Although that link exists, that’s not what is being used by default. `[[` **is** a shell builtin in ash/busybox, so that takes precedence.\n
      \n
      On Alpine:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">❯ which [[\n
      </span><span style="color:#323232;">/usr/bin/[[\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">❯ command -V [[\n
      </span><span style="color:#323232;">[[ is a shell builtin\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1698978609 {#4212
      date: 2023-11-03 03:30:09.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@danielquinn@lemmy.ca"
      "@palordrolap@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4218 …}
    +nested: Doctrine\ORM\PersistentCollection {#4220 …}
    +votes: Doctrine\ORM\PersistentCollection {#4216 …}
    +reports: Doctrine\ORM\PersistentCollection {#4223 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4225 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4227 …}
    -id: 86141
    -bodyTs: "'/usr/bin':27 'alpin':25 'although':1 'ash/busybox':19 'builtin':17,33 'command':28 'default':13 'exist':4 'link':3 'preced':23 'shell':16,32 'take':22 'use':11 'v':29"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5023585"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698978609 {#4209
      date: 2023-11-03 03:30:09.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4054}
  +body: "Huh. So the link is unnecessary and Ash supports [[ out of the box? Good to know, thanks!"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1699031270 {#4239
    date: 2023-11-03 18:07:50.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@danielquinn@lemmy.ca"
    "@palordrolap@kbin.social"
    "@jntesteves@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4236 …}
  +nested: Doctrine\ORM\PersistentCollection {#4233 …}
  +votes: Doctrine\ORM\PersistentCollection {#4231 …}
  +reports: Doctrine\ORM\PersistentCollection {#4245 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4247 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4249 …}
  -id: 87531
  -bodyTs: "'ash':8 'box':13 'good':14 'huh':1 'know':16 'link':4 'support':9 'thank':17 'unnecessari':6"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ca/comment/4538152"
  +editedAt: null
  +createdAt: DateTimeImmutable @1699031270 {#4242
    date: 2023-11-03 18:07:50.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
21 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
22 DENIED moderate
App\Entity\EntryComment {#4100
  +user: App\Entity\User {#4084 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "What have you found bad about bash arrays? I have some simple usage of those (in bash) and they work fine."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1698959287 {#4106
    date: 2023-11-02 22:08:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@danielquinn@lemmy.ca"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4092 …}
  +nested: Doctrine\ORM\PersistentCollection {#4095 …}
  +votes: Doctrine\ORM\PersistentCollection {#4093 …}
  +reports: Doctrine\ORM\PersistentCollection {#4091 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4090 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4081 …}
  -id: 84331
  -bodyTs: "'array':8 'bad':5 'bash':7,17 'fine':21 'found':4 'simpl':12 'usag':13 'work':20"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.sdf.org/comment/5000228"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698888407 {#4104
    date: 2023-11-02 02:26:47.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
23 DENIED edit
App\Entity\EntryComment {#4100
  +user: App\Entity\User {#4084 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "What have you found bad about bash arrays? I have some simple usage of those (in bash) and they work fine."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1698959287 {#4106
    date: 2023-11-02 22:08:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@danielquinn@lemmy.ca"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4092 …}
  +nested: Doctrine\ORM\PersistentCollection {#4095 …}
  +votes: Doctrine\ORM\PersistentCollection {#4093 …}
  +reports: Doctrine\ORM\PersistentCollection {#4091 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4090 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4081 …}
  -id: 84331
  -bodyTs: "'array':8 'bad':5 'bash':7,17 'fine':21 'found':4 'simpl':12 'usag':13 'work':20"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.sdf.org/comment/5000228"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698888407 {#4104
    date: 2023-11-02 02:26:47.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
24 DENIED moderate
App\Entity\EntryComment {#4100
  +user: App\Entity\User {#4084 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "What have you found bad about bash arrays? I have some simple usage of those (in bash) and they work fine."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1698959287 {#4106
    date: 2023-11-02 22:08:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@danielquinn@lemmy.ca"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4092 …}
  +nested: Doctrine\ORM\PersistentCollection {#4095 …}
  +votes: Doctrine\ORM\PersistentCollection {#4093 …}
  +reports: Doctrine\ORM\PersistentCollection {#4091 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4090 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4081 …}
  -id: 84331
  -bodyTs: "'array':8 'bad':5 'bash':7,17 'fine':21 'found':4 'simpl':12 'usag':13 'work':20"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.sdf.org/comment/5000228"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698888407 {#4104
    date: 2023-11-02 02:26:47.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
25 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
26 DENIED moderate
App\Entity\EntryComment {#4193
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4100
    +user: App\Entity\User {#4084 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "What have you found bad about bash arrays? I have some simple usage of those (in bash) and they work fine."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1698959287 {#4106
      date: 2023-11-02 22:08:07.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@danielquinn@lemmy.ca"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4092 …}
    +nested: Doctrine\ORM\PersistentCollection {#4095 …}
    +votes: Doctrine\ORM\PersistentCollection {#4093 …}
    +reports: Doctrine\ORM\PersistentCollection {#4091 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4090 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4081 …}
    -id: 84331
    -bodyTs: "'array':8 'bad':5 'bash':7,17 'fine':21 'found':4 'simpl':12 'usag':13 'work':20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/5000228"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698888407 {#4104
      date: 2023-11-02 02:26:47.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4100}
  +body: """
    As far as I’ve seen, they don’t provide any advantage over a string with spaces, which doesn’t work well either when you’ve got values with spaces:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">not_what_you_think=( "a b" "c" "d" )\n
    </span><span style="color:#323232;">for sneaky in ${not_what_you_think[@]}; do\n
    </span><span style="color:#323232;">  echo "This is sneaky: ${sneaky}"\n
    </span><span style="color:#323232;">done\n
    </span>\n
    ```\n
    \n
    ```\n
    \n
    <span style="color:#323232;">This is sneaky: a\n
    </span><span style="color:#323232;">This is sneaky: b\n
    </span><span style="color:#323232;">This is sneaky: c\n
    </span><span style="color:#323232;">This is sneaky: d\n
    </span>\n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1698910390 {#4191
    date: 2023-11-02 08:33:10.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@danielquinn@lemmy.ca"
    "@suprjami@lemmy.sdf.org"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4194 …}
  +nested: Doctrine\ORM\PersistentCollection {#4196 …}
  +votes: Doctrine\ORM\PersistentCollection {#4198 …}
  +reports: Doctrine\ORM\PersistentCollection {#4200 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4202 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4204 …}
  -id: 85587
  -bodyTs: "'advantag':12 'b':36,60 'c':37,64 'd':38,68 'doesn':19 'done':52 'echo':47 'either':23 'far':2 'got':27 'provid':10 'seen':6 'sneaki':40,50,51,55,59,63,67 'space':17,30 'string':15 'think':34,45 'valu':28 've':5,26 'well':22 'work':21"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ca/comment/4499222"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698910390 {#4192
    date: 2023-11-02 08:33:10.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
27 DENIED edit
App\Entity\EntryComment {#4193
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4100
    +user: App\Entity\User {#4084 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "What have you found bad about bash arrays? I have some simple usage of those (in bash) and they work fine."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1698959287 {#4106
      date: 2023-11-02 22:08:07.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@danielquinn@lemmy.ca"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4092 …}
    +nested: Doctrine\ORM\PersistentCollection {#4095 …}
    +votes: Doctrine\ORM\PersistentCollection {#4093 …}
    +reports: Doctrine\ORM\PersistentCollection {#4091 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4090 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4081 …}
    -id: 84331
    -bodyTs: "'array':8 'bad':5 'bash':7,17 'fine':21 'found':4 'simpl':12 'usag':13 'work':20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/5000228"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698888407 {#4104
      date: 2023-11-02 02:26:47.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4100}
  +body: """
    As far as I’ve seen, they don’t provide any advantage over a string with spaces, which doesn’t work well either when you’ve got values with spaces:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">not_what_you_think=( "a b" "c" "d" )\n
    </span><span style="color:#323232;">for sneaky in ${not_what_you_think[@]}; do\n
    </span><span style="color:#323232;">  echo "This is sneaky: ${sneaky}"\n
    </span><span style="color:#323232;">done\n
    </span>\n
    ```\n
    \n
    ```\n
    \n
    <span style="color:#323232;">This is sneaky: a\n
    </span><span style="color:#323232;">This is sneaky: b\n
    </span><span style="color:#323232;">This is sneaky: c\n
    </span><span style="color:#323232;">This is sneaky: d\n
    </span>\n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1698910390 {#4191
    date: 2023-11-02 08:33:10.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@danielquinn@lemmy.ca"
    "@suprjami@lemmy.sdf.org"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4194 …}
  +nested: Doctrine\ORM\PersistentCollection {#4196 …}
  +votes: Doctrine\ORM\PersistentCollection {#4198 …}
  +reports: Doctrine\ORM\PersistentCollection {#4200 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4202 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4204 …}
  -id: 85587
  -bodyTs: "'advantag':12 'b':36,60 'c':37,64 'd':38,68 'doesn':19 'done':52 'echo':47 'either':23 'far':2 'got':27 'provid':10 'seen':6 'sneaki':40,50,51,55,59,63,67 'space':17,30 'string':15 'think':34,45 'valu':28 've':5,26 'well':22 'work':21"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ca/comment/4499222"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698910390 {#4192
    date: 2023-11-02 08:33:10.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
28 DENIED moderate
App\Entity\EntryComment {#4193
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Ash-Vs-Bash"
    +title: "Ash Vs Bash"
    +url: null
    +body: """
      [For reference, I’m talking about Ash in Alpine Linux here, which is part of BusyBox.]\n
      \n
      I thought I knew the big differences, but it turns out I’ve had false assumptions for years. Ash *does* support `[[ double square brackets ]]` and (as best I can tell) all of Bash’s logical trickery inside them. It also supports ${VARIABLE_SUBSTRINGS:5:12}` which was another surprise.\n
      \n
      At this stage, the only things I’ve found that Bash can do that Ash can’t are:\n
      \n
      - Arrays, which Bash doesn’t seem to do well anyway\n
      - Brace expansion, which is awesome but I can live without it.\n
      \n
      What else is there? Did Ash used to be more limited? The double square bracket thing really surprised me.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 6
    +favouriteCount: 9
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699031270 {#2414
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 9053
    -titleTs: "'ash':1 'bash':3 'vs':2"
    -bodyTs: "'12':61 '5':60 'alpin':9 'also':56 'anoth':64 'anyway':93 'array':84 'ash':7,35,80,110 'assumpt':32 'awesom':98 'bash':49,76,86 'best':43 'big':22 'brace':94 'bracket':40,119 'busybox':16 'differ':23 'doesn':87 'doubl':38,117 'els':106 'expans':95 'fals':31 'found':74 'insid':53 'knew':20 'limit':115 'linux':10 'live':102 'logic':51 'm':4 'part':14 'realli':121 'refer':2 'seem':89 'squar':39,118 'stage':68 'substr':59 'support':37,57 'surpris':65,122 'talk':5 'tell':46 'thing':71,120 'thought':18 'trickeri':52 'turn':26 'use':111 'variabl':58 've':29,73 'well':92 'without':103 'year':34"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1698934182
    +visibility: "visible             "
    +apId: "https://lemmy.ca/post/8481479"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698887182 {#1793
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4100
    +user: App\Entity\User {#4084 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "What have you found bad about bash arrays? I have some simple usage of those (in bash) and they work fine."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1698959287 {#4106
      date: 2023-11-02 22:08:07.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@danielquinn@lemmy.ca"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4092 …}
    +nested: Doctrine\ORM\PersistentCollection {#4095 …}
    +votes: Doctrine\ORM\PersistentCollection {#4093 …}
    +reports: Doctrine\ORM\PersistentCollection {#4091 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4090 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4081 …}
    -id: 84331
    -bodyTs: "'array':8 'bad':5 'bash':7,17 'fine':21 'found':4 'simpl':12 'usag':13 'work':20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/5000228"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698888407 {#4104
      date: 2023-11-02 02:26:47.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4100}
  +body: """
    As far as I’ve seen, they don’t provide any advantage over a string with spaces, which doesn’t work well either when you’ve got values with spaces:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">not_what_you_think=( "a b" "c" "d" )\n
    </span><span style="color:#323232;">for sneaky in ${not_what_you_think[@]}; do\n
    </span><span style="color:#323232;">  echo "This is sneaky: ${sneaky}"\n
    </span><span style="color:#323232;">done\n
    </span>\n
    ```\n
    \n
    ```\n
    \n
    <span style="color:#323232;">This is sneaky: a\n
    </span><span style="color:#323232;">This is sneaky: b\n
    </span><span style="color:#323232;">This is sneaky: c\n
    </span><span style="color:#323232;">This is sneaky: d\n
    </span>\n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1698910390 {#4191
    date: 2023-11-02 08:33:10.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@danielquinn@lemmy.ca"
    "@suprjami@lemmy.sdf.org"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4194 …}
  +nested: Doctrine\ORM\PersistentCollection {#4196 …}
  +votes: Doctrine\ORM\PersistentCollection {#4198 …}
  +reports: Doctrine\ORM\PersistentCollection {#4200 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4202 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4204 …}
  -id: 85587
  -bodyTs: "'advantag':12 'b':36,60 'c':37,64 'd':38,68 'doesn':19 'done':52 'echo':47 'either':23 'far':2 'got':27 'provid':10 'seen':6 'sneaki':40,50,51,55,59,63,67 'space':17,30 'string':15 'think':34,45 'valu':28 've':5,26 'well':22 'work':21"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ca/comment/4499222"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698910390 {#4192
    date: 2023-11-02 08:33:10.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
29 DENIED edit
App\Entity\Magazine {#265
  +icon: Proxies\__CG__\App\Entity\Image {#246 …}
  +name: "linux@lemmy.ml"
  +title: "linux"
  +description: """
    From Wikipedia, the free encyclopedia\n
    \n
    Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
    \n
    Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
    \n
    ### Rules\n
    \n
    - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
    - No misinformation\n
    - No NSFW content\n
    - No hate speech, bigotry, etc\n
    \n
    ### Related Communities\n
    \n
    - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
    - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
    - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
    - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
    \n
    Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 1406
  +entryCommentCount: 28632
  +postCount: 6
  +postCommentCount: 214
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729583542 {#275
    date: 2024-10-22 09:52:22.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#237 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
  +entries: Doctrine\ORM\PersistentCollection {#180 …}
  +posts: Doctrine\ORM\PersistentCollection {#138 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
  +bans: Doctrine\ORM\PersistentCollection {#117 …}
  +reports: Doctrine\ORM\PersistentCollection {#103 …}
  +badges: Doctrine\ORM\PersistentCollection {#81 …}
  +logs: Doctrine\ORM\PersistentCollection {#71 …}
  +awards: Doctrine\ORM\PersistentCollection {#1346 …}
  +categories: Doctrine\ORM\PersistentCollection {#1823 …}
  -id: 73
  +apId: "linux@lemmy.ml"
  +apProfileId: "https://lemmy.ml/c/linux"
  +apPublicUrl: "https://lemmy.ml/c/linux"
  +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
  +apInboxUrl: "https://lemmy.ml/inbox"
  +apDomain: "lemmy.ml"
  +apPreferredUsername: "linux"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1729583596 {#269
    date: 2024-10-22 09:53:16.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1698929468 {#271
    date: 2023-11-02 13:51:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details