Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11809

Re: SIGSTOP and bash's time built-in

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: SIGSTOP and bash's time built-in
Date 2015-10-30 14:00 -0400
Message-ID <mailman.1343.1446228032.7904.bug-bash@gnu.org> (permalink)
References <20151026165906.3ceb8d0a@tauner-w510> <20151030165022.GM5154@vapier.lan>

Show all headers | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/30/15 12:50 PM, Mike Frysinger wrote:
> On 26 Oct 2015 16:59, Stefan Tauner wrote:
>> I was creating some exercises for my students when I noticed very
>> strange behavior of the time built-in when sending SIGSTOP to a timed
>> command interactively (via ^Z):
> 
> you could always install the dedicated time program and then do:
> $ /usr/bin/time sleep 5
> 
> that'll handle ^Z and such

It's probably already installed, and \time will work to invoke it.

Chet
- -- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlYzsCMACgkQu1hp8GTqdKukYwCfRgKGybozsGMUw82Vormjf582
K+gAnRraGragv+veg8MU2oLOM4NUVa/4
=b7J7
-----END PGP SIGNATURE-----

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: SIGSTOP and bash's time built-in Chet Ramey <chet.ramey@case.edu> - 2015-10-30 14:00 -0400

csiph-web