« first day (1004 days earlier)      last day (2049 days later) » 

5:59 AM
@Ungeheuer not really, as a general rule anything you type on the command line should work in a script too
do you need the user to input the password somehow? that's often tricky to script
@Queen k chepner
 
 
7 hours later…
1:17 PM
@tripleee no. Gpg reports file not found, however when I execute the commands in terminal the file is found everything works fine.
I think the params are getting bored, however, they are quoted and I use {} correctly.
 
@Ungeheuer and you are running in the correct directory?
 
Yes. Even then, the file to extract from is given by absolute path. The extracted file is done relatively
 
1:50 PM
@Ungeheuer without your script there's nothing really to go on, maybe post a question on the main site
I'll be gone for the weekend so responses in this room are likely to be far between
 
 
1 hour later…
 
2 hours later…
 
2 hours later…
9:11 PM
@tripleee I brought it up with my tech lead, and he couldn't figure it out. But I fixed it!
it was the last thing I thought it would be...I had changed IFS so I could iterate over a set of sentences, and that changed borked the substitution of the gpg command
I had a variable: GPG="gpg --lock-never...." that I used for invoking gpg. Non-default IFS broke this. I'm not sure why it broke it, but it did.
 

« first day (1004 days earlier)      last day (2049 days later) »