![]() |
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 |
| Korn Shell Script to find out error in logfile | jithu | Shell Programming and Scripting | 2 | 04-24-2008 02:12 PM |
| need a quick basic shell script help | eb222 | Shell Programming and Scripting | 6 | 11-22-2007 09:00 AM |
| find and FTP multiple files in Korn Shell | lambjam | UNIX for Dummies Questions & Answers | 2 | 08-13-2007 10:50 PM |
| how to convert from korn shell to normal shell with this code? | forevercalz | Shell Programming and Scripting | 21 | 11-23-2005 02:18 AM |
| Find -name "*.txt" in Korn Shell Script | jwperry | Shell Programming and Scripting | 3 | 07-19-2002 12:51 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Need quick help with basic FIND in korn shell
I gotta make a script to find files, not quite sure whats wrong...
filename is search i run it search ass* $HOME ass* is the filename and in my script i have... find $2 -name $1 -print but it never works, anyone know what i gotta fix? and does anyone know the difference bettwen regular expressions and file expansion char's when it comes to seraching? i know reg exp is but not expan. thanks, steve |
|
||||
|
You guys are going off topic, lol
sorry, im making a script for school that runs like this file is called search search [filename] [top dir] and in my code i have find $2 -name "$1" -print but thats not working, am i supposed to declare some variable or something to get this to work? it just gives that error i posted above, something about USage: thanks, steve |
![]() |
| Bookmarks |
| Tags |
| regex, regular expressions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|