New answers tagged

1

This is almost certainly something in your tcsh configuration (e.g. ~/.login, ~/.cshrc /etc/csh.*) - look for anything that redirects stdin, stdout, stderr. When I run tcsh on my system, I get: $ tcsh > ls -lF /dev/fd/ total 0 lrwx------ 1 cas cas 64 Jun 26 13:28 0 -> /dev/pts/29 lrwx------ 1 cas cas 64 Jun 26 13:28 1 -> /dev/pts/29 lrwx------ 1 ...


1

You can run this code, Sub SaveSheets() Dim strPath As String Dim ws As Worksheet Application.ScreenUpdating = False strPath = ActiveWorkbook.Path & "\" For Each ws In ThisWorkbook.Sheets ws.Copy 'Use this line if you want to break any links: BreakLinks Workbooks(Workbooks.Count) Workbooks(Workbooks....


0

It sounds like csh on your system is really tcsh and it's reading your config when you don't intend it to. Either that or you've configured a history file for both tcsh and csh. If csh is tcsh, you could invoke csh with csh -f to skip reading your .tcshrc file. I'm not sure you can configure it to read an arbitrary file before starting, but it's simple ...



Top 50 recent answers are included