Thread 106109933 - /g/ [Archived: 491 hours ago]

Anonymous
8/2/2025, 12:33:06 AM No.106109933
bocchi neutral tranime girl
bocchi neutral tranime girl
md5: 9bbabb8e5dba530d8cd1cddcca2b493f🔍
>run a set of commmands from my interactive shell session
>it works as expected
>put those same commands together in a script
>everything breaks
i know you're going to tell me that im making some stupid syntax error or something like that but i swear that im not.
a demonic force has taken over my computer and is trying to make me go insane.
Replies: >>106110091
Anonymous
8/2/2025, 12:42:44 AM No.106110013
Is your script running in the same context as you were in the shell?
Replies: >>106110018
Anonymous
8/2/2025, 12:43:31 AM No.106110018
>>106110013
im running it from the same session, but i assume that it forks its own session to run after that.
Replies: >>106110286
Anonymous
8/2/2025, 12:52:04 AM No.106110091
>>106109933 (OP)
It's your environment variables or something, go tinkertroon bashrc
Replies: >>106110286
Anonymous
8/2/2025, 1:10:46 AM No.106110286
>>106110018
>>106110091
ok nevermind, it was indeed a syntax error
i was checking for a pattern in a file name with the POSIX if statement (single bracket) instead of the Bash if statement (double bracket)
Replies: >>106110810
Anonymous
8/2/2025, 2:00:50 AM No.106110810
>>106110286
It's never demons anon (sadly). It's always (You).