On 6 Apr 2021, at 3:42, Bruce Van Allen wrote:
I’ve tried variations on pipes etc, and this might be a limitation
of Perl’s `system` function.
Correct, don't use `system`. Try this instead of the `system` line:
```
open(my $bb_fh, '|-', "bbedit —-worksheet —-append
$worksheet_filename")
or die "Couldn't open a pipe to bbedit: $!";
print $bb_fh $initial_content;
```
Or at least something close to that. See here for more info:
- https://perldoc.perl.org/perlopentut#Opening-a-pipe-for-writing
-cng
--
Charlie Garrison <[email protected]>
Garrison Computer Services <http://www.garrison.com.au>
PO Box 380
Tumbarumba NSW 2653 Australia
--
This is the BBEdit Talk public discussion group. If you have a feature request or need
technical support, please email "[email protected]" rather than posting here.
Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bbedit/4744F087-9E92-4891-9F99-E9299154836A%40garrison.com.au.