![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with find command when used with mtime | arunkumar_mca | UNIX for Dummies Questions & Answers | 4 | 01-08-2008 12:37 AM |
| result of find | mpang_ | Shell Programming and Scripting | 1 | 05-01-2006 11:00 PM |
| Setting a variable to result of FIND command | JP Favara | Windows & DOS: Issues & Discussions | 2 | 03-09-2005 10:17 PM |
| find command not returning any result | rraajjiibb | UNIX for Advanced & Expert Users | 4 | 07-23-2004 05:05 PM |
| Problem with find command | nattynatty | Shell Programming and Scripting | 7 | 05-16-2002 12:16 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi
I'm working on solaris and I'm trying to run a script. The part listed here does not work properly, the result of the find command is not in the output file /tmp/result (I've checked the find command , executing the shell with sh -x , it seems correct). It seems like I've lost the standard output somewhere If anyone could help, Thanks !! (the file /tmp/list_day contains one date per line, YYMMDD) #!/bin/sh requete="" for ligne in `cat /tmp/list_day` do if [ "$requete" = "" ]; then requete="$requete -name \"*$ligne.txt*\"" else requete="$requete -o -name \"*$ligne.txt*\"" fi done find . $requete -print | tee /tmp/result |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|