[wplug] leftover operation?

Jonathan Billings billings at negate.org
Thu Jan 21 16:34:42 EST 2010


On Thu, Jan 21, 2010 at 04:16:44PM -0500, Weber, Lawrence A wrote:
>
> When I open a terminal window, I get a "sed: no input file" message.  I
> had recently worked on a script that called sed but that script should
> be terminated.  Also I noted that there is(was) a file with my script
> name with # signs before and after it.  I deleted that file but the
> message is still present.  It doesn't seem to hurt anything but I need
> to know why it is there.

If your shell is bash, you can run:

echo exit | script -c '/bin/bash -v' bash_output.log


This should show you all that bash is doing when you start a new
shell.  Most likely you are calling sed in some script that is invoked
in your bashrc.  That kind of output might actually cause harm if
something is expecting bash to produce output when it is invoked and
it gets extra output.




> Lawrence. A. Weber 
> Consulting Engineer
> 
>  
> 
> Ansaldo STS USA, Inc.
> Union Switch & Signal Building
> 1000 Technology Drive
> Pittsburgh, PA 15219-3120
> USA
> Telephone:  1-412-688-2319
> Telefax:  1-412-688-2398
> 
> www.ansaldo-sts.com <http://www.ansaldo-sts.com/> 
> 
> CONFIDENTIALITY:
> This message is strictly confidential. Its content and use is restricted
> to the designated recipient(s). The use, copy, reproduction or
> transmittal by any process or means without prior written notice of the
> author or Ansaldo STS USA, Inc. office of the Legal Counsel is strictly
> prohibited. If you have received this message in a transmission error,
> please inform the sender immediately and destroy any copy, saved file or
> print you have erroneously made.
> 
> PRIVACY:
> Meeting the needs and expectations of our customers and employees has
> always been our highest priority and that includes protecting their
> privacy in compliance with local, state and federal laws and in
> accordance to Ansaldo STS USA, Inc. Privacy Code.
> 
> ENVIRONMENTAL NOTE:
> IN SUPPORT OF OUR ENVIRONMENT, WE RECOMMEND NOT PRINTING EMAILS EXCEPT
> WHEN ABSOLUTELY NECESSARY
> 
>  

That's quite a signature you've got there.  I updated mine because I
felt left out.

-- 
Jonathan Billings <billings at negate.org>

NOTE: By reading any part of this message you agree to give Jonathan
Billings $100 in US dollars and stand on one leg for 45 minutes
singing the Soviet national anthem at full volume.


More information about the wplug mailing list