qx{ echo $Str | xclip -selection primary };
passes syntax, but hangs when run
Hi All,
Is there a $*DISTRO or some such that will tell me just "linux"
and not "rhel ..." or "fedora ..."?
Many thanks,
-T
--
~~
Computers are like air conditioners.
They malfunction when you open windows
~~
This is because of how xclip works. It keeps running until you kill it,
or until the number of pastes has been reached that you specify with -loops.
You will want to use Proc::Async or run with an :in parameter instead of
shelling into a redirect with echo, here's why:
timo@schmand ~> cat Bad
On 03/06/2017 01:32 AM, Timo Paulssen wrote:
This is because of how xclip works. It keeps running until you kill it,
or until the number of pastes has been reached that you specify with -loops.
You will want to use Proc::Async or run with an :in parameter instead of
shelling into a redirect with
Doesn't seem to be, but there's $*DISTRO.is-win, which is usually enough
(i.e. you have to do one dumb thing on windows and another sane thing on
literally anything else)
Try $*KERNEL
S
On 6 March 2017 at 09:10, ToddAndMargo wrote:
> Hi All,
>
> Is there a $*DISTRO or some such that will tell me just "linux"
> and not "rhel ..." or "fedora ..."?
>
>
> Many thanks,
> -T
>
> --
> ~~
> Computers are like air conditioners.
> They
On 03/06/2017 01:40 AM, Steve Mynott wrote:
Try $*KERNEL
S
Hi Steve,
That works! Thank you!
-T
$ perl6 -e ' say $*KERNEL;'
linux (3.10.0.514.6.1.el.7.x.86._.64)
C:\perl6 -e "say $*KERNEL;"
win32
By the way win64 also give win32 including with the 64 bit raku
Don't know if I will ever
On 03/06/2017 01:32 AM, Timo Paulssen wrote:
This is because of how xclip works. It keeps running until you kill it,
or until the number of pastes has been reached that you specify with -loops.
You will want to use Proc::Async or run with an :in parameter instead of
shelling into a redirect with
On 03/06/2017 01:35 AM, Timo Paulssen wrote:
Doesn't seem to be, but there's $*DISTRO.is-win, which is usually enough
(i.e. you have to do one dumb thing on windows and another sane thing on
literally anything else)
Thank you!
--
~
I am Windows
I am the Blue Scree
> Is there a way to send and "end of file" marker to terminate the pipe?
That is exactly what the call to .close does.
Hi All,
Is there a list of all the \n pairs out there somewhere?
Many thanks,
-T
On 03/06/2017 01:55 AM, Timo Paulssen wrote:
Is there a way to send and "end of file" marker to terminate the pipe?
That is exactly what the call to .close does.
Looking over at
https://github.com/kmwallio/p6-OS-Clipboard/blob/master/lib/OS/Clipboard.pm6
lines 47 to 52
sub clipboard-cop
# New Ticket Created by Sam S.
# Please include the string: [perl #130930]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130930 >
say X~ (1, 2, 3); # (a1 a2 a3 b1 b2 b3)
say X~ |(1, 2, 3); # (a123 b123)
Can you clarify the request here, I'm not sure what you mean.
On Mon, Mar 6, 2017 at 5:14 AM, ToddAndMargo wrote:
> Hi All,
>
> Is there a list of all the \n pairs out there somewhere?
>
> Many thanks,
> -T
--
Will "Coke" Coleda
On Mon, Mar 6, 2017 at 11:14 AM, ToddAndMargo wrote:
> Hi All,
>
> Is there a list of all the \n pairs out there somewhere?
>
Not sure, but if you mean a newline than I'm aware only of:
- \n (unix)
- \r\n (dos)
- \n\r (old mac)
At least I'm not unlucky enough to have encountered another combinat
On Mon, Mar 6, 2017 at 12:08 PM, Luca Ferrari wrote:
> - \n\r (old mac)
Pre-OS X used simply \r. not \n\r.
--
brandon s allbery kf8nh sine nomine associates
allber...@gmail.com ballb...@sinenomine.net
unix, openafs, kerberos, inf
On Mon, 6 Mar 2017 18:08:47 +0100, Luca Ferrari
wrote:
> On Mon, Mar 6, 2017 at 11:14 AM, ToddAndMargo wrote:
> > Hi All,
> >
> > Is there a list of all the \n pairs out there somewhere?
> >
>
> Not sure, but if you mean a newline than I'm aware only of:
> - \n (unix)
> - \r\n (dos)
> - \n\r
On Mon, Mar 6, 2017 at 12:35 PM, H.Merijn Brand wrote:
> But don't be surprised to see
>
> \r\r\n
>
And other weird stuff. There's at least one program out there where someone
apparently used od on the output of a telnet session, saw an ancient hack
for ancient teletypes involving a NUL, and t
"There's at least one program out there where someone apparently used
od on the output of a telnet session, saw an ancient hack for ancient
teletypes involving a NUL, and thought that was the "right" way to do
it"
Another technological Cheshire Cat bite. :-)*
On 3/6/17, Brandon Allbery wrote
# New Ticket Created by Timothy Bollman
# Please include the string: [perl #130940]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130940 >
If you pass an undefined value into starts-with, it loops forever because the
Cool cl
On 03/06/2017 12:20 AM, ToddAndMargo wrote:
qx{ echo $Str | xclip -selection primary };
passes syntax, but hangs when run
I figured it out. I will get back later today with
and explanation and examples
--
~~
Computers are like air conditioners.
They malfun
# New Ticket Created by Zoffix Znet
# Please include the string: [perl #130941]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130941 >
Original user with the problem:
https://irclog.perlgeek.de/perl6/2017-03-06#i_14216611
T
On 03/06/2017 12:20 AM, ToddAndMargo wrote:
qx{ echo $Str | xclip -selection primary };
passes syntax, but hangs when run
Hi All,
I figured it out. The reason the above "hangs" is
because it is "ambiguous". What is Perl and what is
bash are not tightly delineated. Is "$Str" the
name of a
On 03/06/2017 02:21 AM, ToddAndMargo wrote:
Why is he
putting the commands into an array
He's being "fancy".
--
~~
Computers are like air conditioners.
They malfunction when you open windows
~~
24 matches
Mail list logo