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

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 …}
}
3.97 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.17 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 {#2400
  +user: Proxies\__CG__\App\Entity\User {#1973 …}
  +magazine: App\Entity\Magazine {#263
    +icon: Proxies\__CG__\App\Entity\Image {#244 …}
    +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 {#273
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#235 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#231 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#220 …}
    +entries: Doctrine\ORM\PersistentCollection {#178 …}
    +posts: Doctrine\ORM\PersistentCollection {#136 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#198 …}
    +bans: Doctrine\ORM\PersistentCollection {#115 …}
    +reports: Doctrine\ORM\PersistentCollection {#101 …}
    +badges: Doctrine\ORM\PersistentCollection {#79 …}
    +logs: Doctrine\ORM\PersistentCollection {#69 …}
    +awards: Doctrine\ORM\PersistentCollection {#1830 …}
    +categories: Doctrine\ORM\PersistentCollection {#1863 …}
    -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 {#267
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#269
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
  +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 {#2420
    date: 2023-11-03 18:07:50.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1408 …}
  +votes: Doctrine\ORM\PersistentCollection {#1961 …}
  +reports: Doctrine\ORM\PersistentCollection {#1972 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
  +badges: Doctrine\ORM\PersistentCollection {#2436 …}
  +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 {#1816
    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 {#2400
  +user: Proxies\__CG__\App\Entity\User {#1973 …}
  +magazine: App\Entity\Magazine {#263
    +icon: Proxies\__CG__\App\Entity\Image {#244 …}
    +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 {#273
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#235 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#231 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#220 …}
    +entries: Doctrine\ORM\PersistentCollection {#178 …}
    +posts: Doctrine\ORM\PersistentCollection {#136 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#198 …}
    +bans: Doctrine\ORM\PersistentCollection {#115 …}
    +reports: Doctrine\ORM\PersistentCollection {#101 …}
    +badges: Doctrine\ORM\PersistentCollection {#79 …}
    +logs: Doctrine\ORM\PersistentCollection {#69 …}
    +awards: Doctrine\ORM\PersistentCollection {#1830 …}
    +categories: Doctrine\ORM\PersistentCollection {#1863 …}
    -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 {#267
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#269
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
  +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 {#2420
    date: 2023-11-03 18:07:50.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1408 …}
  +votes: Doctrine\ORM\PersistentCollection {#1961 …}
  +reports: Doctrine\ORM\PersistentCollection {#1972 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
  +badges: Doctrine\ORM\PersistentCollection {#2436 …}
  +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 {#1816
    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 {#2400
  +user: Proxies\__CG__\App\Entity\User {#1973 …}
  +magazine: App\Entity\Magazine {#263
    +icon: Proxies\__CG__\App\Entity\Image {#244 …}
    +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 {#273
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#235 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#231 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#220 …}
    +entries: Doctrine\ORM\PersistentCollection {#178 …}
    +posts: Doctrine\ORM\PersistentCollection {#136 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#198 …}
    +bans: Doctrine\ORM\PersistentCollection {#115 …}
    +reports: Doctrine\ORM\PersistentCollection {#101 …}
    +badges: Doctrine\ORM\PersistentCollection {#79 …}
    +logs: Doctrine\ORM\PersistentCollection {#69 …}
    +awards: Doctrine\ORM\PersistentCollection {#1830 …}
    +categories: Doctrine\ORM\PersistentCollection {#1863 …}
    -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 {#267
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#269
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
  +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 {#2420
    date: 2023-11-03 18:07:50.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1408 …}
  +votes: Doctrine\ORM\PersistentCollection {#1961 …}
  +reports: Doctrine\ORM\PersistentCollection {#1972 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
  +badges: Doctrine\ORM\PersistentCollection {#2436 …}
  +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 {#1816
    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 {#4036
  +user: App\Entity\User {#3984 …}
  +entry: App\Entity\Entry {#2400
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#263
      +icon: Proxies\__CG__\App\Entity\Image {#244 …}
      +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 {#273
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#235 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#231 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#220 …}
      +entries: Doctrine\ORM\PersistentCollection {#178 …}
      +posts: Doctrine\ORM\PersistentCollection {#136 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#198 …}
      +bans: Doctrine\ORM\PersistentCollection {#115 …}
      +reports: Doctrine\ORM\PersistentCollection {#101 …}
      +badges: Doctrine\ORM\PersistentCollection {#79 …}
      +logs: Doctrine\ORM\PersistentCollection {#69 …}
      +awards: Doctrine\ORM\PersistentCollection {#1830 …}
      +categories: Doctrine\ORM\PersistentCollection {#1863 …}
      -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 {#267
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#269
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +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 {#2420
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +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 {#1816
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#263}
  +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 {#4045
    date: 2023-11-03 18:07:52.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@danielquinn@lemmy.ca"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4034 …}
  +nested: Doctrine\ORM\PersistentCollection {#4032 …}
  +votes: Doctrine\ORM\PersistentCollection {#4030 …}
  +reports: Doctrine\ORM\PersistentCollection {#4028 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3996 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4000 …}
  -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 {#3981
    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 {#4036
  +user: App\Entity\User {#3984 …}
  +entry: App\Entity\Entry {#2400
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#263
      +icon: Proxies\__CG__\App\Entity\Image {#244 …}
      +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 {#273
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#235 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#231 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#220 …}
      +entries: Doctrine\ORM\PersistentCollection {#178 …}
      +posts: Doctrine\ORM\PersistentCollection {#136 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#198 …}
      +bans: Doctrine\ORM\PersistentCollection {#115 …}
      +reports: Doctrine\ORM\PersistentCollection {#101 …}
      +badges: Doctrine\ORM\PersistentCollection {#79 …}
      +logs: Doctrine\ORM\PersistentCollection {#69 …}
      +awards: Doctrine\ORM\PersistentCollection {#1830 …}
      +categories: Doctrine\ORM\PersistentCollection {#1863 …}
      -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 {#267
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#269
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +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 {#2420
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +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 {#1816
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#263}
  +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 {#4045
    date: 2023-11-03 18:07:52.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@danielquinn@lemmy.ca"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4034 …}
  +nested: Doctrine\ORM\PersistentCollection {#4032 …}
  +votes: Doctrine\ORM\PersistentCollection {#4030 …}
  +reports: Doctrine\ORM\PersistentCollection {#4028 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3996 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4000 …}
  -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 {#3981
    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 {#4036
  +user: App\Entity\User {#3984 …}
  +entry: App\Entity\Entry {#2400
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#263
      +icon: Proxies\__CG__\App\Entity\Image {#244 …}
      +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 {#273
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#235 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#231 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#220 …}
      +entries: Doctrine\ORM\PersistentCollection {#178 …}
      +posts: Doctrine\ORM\PersistentCollection {#136 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#198 …}
      +bans: Doctrine\ORM\PersistentCollection {#115 …}
      +reports: Doctrine\ORM\PersistentCollection {#101 …}
      +badges: Doctrine\ORM\PersistentCollection {#79 …}
      +logs: Doctrine\ORM\PersistentCollection {#69 …}
      +awards: Doctrine\ORM\PersistentCollection {#1830 …}
      +categories: Doctrine\ORM\PersistentCollection {#1863 …}
      -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 {#267
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#269
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +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 {#2420
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +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 {#1816
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#263}
  +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 {#4045
    date: 2023-11-03 18:07:52.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@danielquinn@lemmy.ca"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4034 …}
  +nested: Doctrine\ORM\PersistentCollection {#4032 …}
  +votes: Doctrine\ORM\PersistentCollection {#4030 …}
  +reports: Doctrine\ORM\PersistentCollection {#4028 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3996 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4000 …}
  -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 {#3981
    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 {#4068
  +user: App\Entity\User {#4057 …}
  +entry: App\Entity\Entry {#2400
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#263
      +icon: Proxies\__CG__\App\Entity\Image {#244 …}
      +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 {#273
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#235 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#231 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#220 …}
      +entries: Doctrine\ORM\PersistentCollection {#178 …}
      +posts: Doctrine\ORM\PersistentCollection {#136 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#198 …}
      +bans: Doctrine\ORM\PersistentCollection {#115 …}
      +reports: Doctrine\ORM\PersistentCollection {#101 …}
      +badges: Doctrine\ORM\PersistentCollection {#79 …}
      +logs: Doctrine\ORM\PersistentCollection {#69 …}
      +awards: Doctrine\ORM\PersistentCollection {#1830 …}
      +categories: Doctrine\ORM\PersistentCollection {#1863 …}
      -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 {#267
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#269
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +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 {#2420
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +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 {#1816
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#263}
  +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 {#4074
    date: 2023-11-02 22:08:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@danielquinn@lemmy.ca"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4073 …}
  +nested: Doctrine\ORM\PersistentCollection {#4072 …}
  +votes: Doctrine\ORM\PersistentCollection {#4063 …}
  +reports: Doctrine\ORM\PersistentCollection {#4066 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4061 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4059 …}
  -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 {#4079
    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
11 DENIED edit
App\Entity\EntryComment {#4068
  +user: App\Entity\User {#4057 …}
  +entry: App\Entity\Entry {#2400
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#263
      +icon: Proxies\__CG__\App\Entity\Image {#244 …}
      +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 {#273
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#235 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#231 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#220 …}
      +entries: Doctrine\ORM\PersistentCollection {#178 …}
      +posts: Doctrine\ORM\PersistentCollection {#136 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#198 …}
      +bans: Doctrine\ORM\PersistentCollection {#115 …}
      +reports: Doctrine\ORM\PersistentCollection {#101 …}
      +badges: Doctrine\ORM\PersistentCollection {#79 …}
      +logs: Doctrine\ORM\PersistentCollection {#69 …}
      +awards: Doctrine\ORM\PersistentCollection {#1830 …}
      +categories: Doctrine\ORM\PersistentCollection {#1863 …}
      -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 {#267
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#269
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +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 {#2420
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +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 {#1816
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#263}
  +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 {#4074
    date: 2023-11-02 22:08:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@danielquinn@lemmy.ca"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4073 …}
  +nested: Doctrine\ORM\PersistentCollection {#4072 …}
  +votes: Doctrine\ORM\PersistentCollection {#4063 …}
  +reports: Doctrine\ORM\PersistentCollection {#4066 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4061 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4059 …}
  -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 {#4079
    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
12 DENIED moderate
App\Entity\EntryComment {#4068
  +user: App\Entity\User {#4057 …}
  +entry: App\Entity\Entry {#2400
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#263
      +icon: Proxies\__CG__\App\Entity\Image {#244 …}
      +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 {#273
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#235 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#231 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#220 …}
      +entries: Doctrine\ORM\PersistentCollection {#178 …}
      +posts: Doctrine\ORM\PersistentCollection {#136 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#198 …}
      +bans: Doctrine\ORM\PersistentCollection {#115 …}
      +reports: Doctrine\ORM\PersistentCollection {#101 …}
      +badges: Doctrine\ORM\PersistentCollection {#79 …}
      +logs: Doctrine\ORM\PersistentCollection {#69 …}
      +awards: Doctrine\ORM\PersistentCollection {#1830 …}
      +categories: Doctrine\ORM\PersistentCollection {#1863 …}
      -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 {#267
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#269
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +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 {#2420
      date: 2023-11-03 18:07:50.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +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 {#1816
      date: 2023-11-02 02:06:22.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#263}
  +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 {#4074
    date: 2023-11-02 22:08:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@danielquinn@lemmy.ca"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4073 …}
  +nested: Doctrine\ORM\PersistentCollection {#4072 …}
  +votes: Doctrine\ORM\PersistentCollection {#4063 …}
  +reports: Doctrine\ORM\PersistentCollection {#4066 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4061 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4059 …}
  -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 {#4079
    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
13 DENIED edit
App\Entity\Magazine {#263
  +icon: Proxies\__CG__\App\Entity\Image {#244 …}
  +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 {#273
    date: 2024-10-22 09:52:22.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#235 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#231 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#220 …}
  +entries: Doctrine\ORM\PersistentCollection {#178 …}
  +posts: Doctrine\ORM\PersistentCollection {#136 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#198 …}
  +bans: Doctrine\ORM\PersistentCollection {#115 …}
  +reports: Doctrine\ORM\PersistentCollection {#101 …}
  +badges: Doctrine\ORM\PersistentCollection {#79 …}
  +logs: Doctrine\ORM\PersistentCollection {#69 …}
  +awards: Doctrine\ORM\PersistentCollection {#1830 …}
  +categories: Doctrine\ORM\PersistentCollection {#1863 …}
  -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 {#267
    date: 2024-10-22 09:53:16.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1698929468 {#269
    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