Not sure if this is a bug or not, so here goes: I was trying to figure out why I was having trouble with nt4 seeming to hang when I pass a long list of args to a command. The following command works just fine.
echo *.o > foo.txt The above produces a file that is 1918 characters long; no delay. There are 86 files. The following, ls *.o just hangs and bumps the cpu to 100%. Same deal with ls * rm *.o On the other hand, the following completes instantly: ls -lrt Further, I was able to do this ls [ab]*.o - this worked and this, ls [c]*.o - this worked but not ls [bc]*.o - this hanged It seems like if the path args get too long, bad stuff happens. Same thing happens in tcsh as well as bash. Any ideas? I've attached cygcheck.out as well the file "foo.txt", which contains the list of file names. Context: I originally noticed this problem as part of a unix makefile hang. Part of the "make clean" was to do an "rm *.o". Changing this to "rm $(OBJS)" didn't work, but changing to "rm $(OBJS1)", "rm $(OBJS2)", and "rm $(OBJS3)" worked fine. <<cygcheck.out>> <<foo.txt>>
cygcheck.out
Description: Binary data
anal_price_am_call_div.o approx_am_call.o approx_am_put.o bin_am_call.o bin_am_delta_call.o bin_am_delta_put.o bin_am_div_call.o bin_am_div_put.o bin_am_partials_call.o bin_am_partials_put.o bin_am_prop_div_call.o bin_am_prop_div_put.o bin_am_put.o bin_eur_call.o bin_eur_put.o black_scholes_call.o black_scholes_call_div.o black_scholes_delta_call.o black_scholes_delta_put.o black_scholes_imp_vol_bisect.o black_scholes_imp_vol_newt.o black_scholes_partials_call.o black_scholes_partials_put.o black_scholes_price_payout_call.o black_scholes_price_payout_put.o black_scholes_put.o black_scholes_put_div.o bondopt_call_bs.o bondopt_call_coupon_bs.o bondopt_call_rend_bart.o bondopt_call_vasicek.o bondopt_put_bs.o bondopt_put_coupon_bs.o bondopt_put_vasicek.o bonds_convexity.o bonds_duration.o bonds_duration_macaulay.o bonds_duration_modified.o bonds_price.o bonds_price_both.o bonds_price_discrete.o bonds_yield.o cflow_irr.o cflow_irr_test_unique.o cflow_pv.o cflow_pv_discrete.o currency_opt_bin_call.o currency_opt_bin_put.o currency_opt_euro_call.o currency_opt_euro_put.o exotics_lookback_call.o exotics_lookback_put.o findiff_exp_am_call.o findiff_exp_am_put.o findiff_exp_eur_call.o findiff_exp_eur_put.o futures_opt_call_bin.o futures_opt_call_black.o futures_opt_put_bin.o futures_opt_put_black.o futures_price.o knuthran.o merton_jump_diff_call.o normdist.o random.o simulate_general.o simulate_general_control_variate.o simulate_general_payoff_average.o simulate_general_payoff_bs.o simulate_general_payoff_min_max.o simulate_general_underlying_sequence.o simulate_general_underlying_terminal.o simulated_call_euro.o simulated_delta_call.o simulated_delta_put.o simulated_put_euro.o termstru_discfact_cir.o termstru_discfact_cubic_spline.o termstru_discfact_estimated_cir.o termstru_discfact_vasicek.o termstru_transforms.o termstru_yield_bliss.o termstru_yield_interpolated.o termstru_yield_nels_sie.o
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/