shell script problem

shell script problem

Post by Toby Darlin » Thu, 11 Sep 1997 04:00:00

> I have tried explicitly labelling the stdout filehandler to redirect
> to the filename but this doesnt work either.

It would help to know the syntax you used when you tried this.

Try replacing
/home/pauld/stats/ /path_to_log_file/access_log>

Quote:>/path_to_stats_output_page/stats`date '+%j%H%M'`.html

/home/pauld/stats/ /path_to_log_file/access_log
1>/path_to_stats_output_page/stats`date '+%j%H%M'`.html 2>&1

The ordering of the redirections is important.



1. Shell script problem


I have a script below but it doesn't print any text. Does anybody has an
idea what can be the problem?


if [[ $X = +([0?]) ]]; then
   print "$X is a number"

2. Q: [Apache] name-based virtual hosting + proxying

3. Bash Shell Script Problems - Advice Needed

4. Problem with imagemaps

5. shell script problem

6. HELP: Suse & ibm thinkpad 770e

7. Help - UNIX Shell script problem

8. lsps

9. running 'alias' from inside shell script problem

10. login shell script problem...

11. Unix Shell Script Problem

12. ppp -> shell script problems

13. Shell SCript problem