Skip to main content
13 events
when toggle format what by license comment
Sep 14, 2020 at 5:27 comment added nohillside Also, replacing '..."foo" ...‘ by “... \"foo\" ..." is technically a no-op, both versions work the same.
Sep 14, 2020 at 5:25 comment added nohillside You can run the steps manually to see which one is slow. Most likely the osascript calls take their time.
Sep 14, 2020 at 3:57 comment added user956609 Thank you, I removed eval, but the shell script still running slow(response slow),
Sep 14, 2020 at 3:54 vote accept user956609
Sep 14, 2020 at 3:54 history edited user956609 CC BY-SA 4.0
added 5 characters in body
Sep 11, 2020 at 8:14 comment added nohillside Removed the unnecessary evals.
Sep 11, 2020 at 8:13 history edited nohillside CC BY-SA 4.0
deleted 50 characters in body
Sep 11, 2020 at 6:57 history edited user956609 CC BY-SA 4.0
[Edit removed during grace period]
Sep 10, 2020 at 15:17 comment added user3439894 In this use case, there is absolutely no good reason whatsoever to be using eval, it's just isn't necessary here!
Sep 10, 2020 at 9:33 comment added nohillside Even the first eval isn't strictly necessary, you can just run the command within $() directly.
Sep 10, 2020 at 9:19 comment added anki If this is shell script, then how is eval useful for the second and the third use etc? wouldn't it work directly ?
Sep 10, 2020 at 9:18 history edited anki CC BY-SA 4.0
added 7 characters in body
Sep 10, 2020 at 8:35 history answered user956609 CC BY-SA 4.0