zsh-users
 help / color / mirror / code / Atom feed
* Vanishing files ?
@ 2006-05-28 15:24 Meino Christian Cramer
  2006-05-28 18:32 ` Bart Schaefer
  2006-05-28 18:37 ` Vanishing files ? DervishD
  0 siblings, 2 replies; 15+ messages in thread
From: Meino Christian Cramer @ 2006-05-28 15:24 UTC (permalink / raw)
  To: zsh-users

Hi,

 got a mysterious (at least for me) effect:

        Script started on Sun May 28 17:14:22 2006
        solfire:/home/mccramer>ls -l /bin/zsh
        rwxr-xr-x 2 root root 754456 Mar 28 18:32 /bin/zsh
        solfire:/home/mccramer>cat ~/bin/tempwatch
        #!/bin/zsh
        while true
        do
            sensors
            sleep 10
        done | grep 'CPU Temp'
        
        solfire:/home/mccramer>~/bin/tempwatch
 ???>>> zsh: no such file or directory: /home/mccramer/bin/tempwatch
        solfire:/home/mccramer>while true
        while> do
        while> sensors
        while> sleep 10
        while> done | grep 'CPU Temp'
        CPU Temp:  +45.5 C  (high =   +80 C, hyst =   +75 C)   sensor = thermistor
        CPU Temp:  +46.5 C  (high =   +80 C, hyst =   +75 C)   sensor = thermistor
        
        solfire:/home/mccramer>
        
        Script done on Sun May 28 17:15:52 2006

 Why can I execute the contents of the script "tempwatch" but not the
 script itsself?

 By the way: Does anyone know a trick how to remove _all_
 Escape-Sequences from a script generated by the command "script" ...
 "col -b" does not catch all.

 Keep hacking!
 Meino


 


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2006-05-30 21:59 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-28 15:24 Vanishing files ? Meino Christian Cramer
2006-05-28 18:32 ` Bart Schaefer
2006-05-28 18:38   ` Meino Christian Cramer
2006-05-28 23:24     ` Bart Schaefer
2006-05-29  2:38       ` Meino Christian Cramer
2006-05-29  7:57   ` Anssi Saari
2006-05-29 15:32     ` Peter Stephenson
2006-05-29 17:51     ` Paul Lew
2006-05-29 18:16     ` De-script (Re: Vanishing files ?) Bart Schaefer
2006-05-28 18:37 ` Vanishing files ? DervishD
2006-05-28 18:44   ` Meino Christian Cramer
2006-05-29  6:11     ` DervishD
2006-05-29  8:56       ` Meino Christian Cramer
2006-05-29  8:58         ` DervishD
2006-05-30 21:59         ` Tobias Gruetzmacher

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).