![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with regular expressions | arushunter | Shell Programming and Scripting | 13 | 12-23-2006 09:31 PM |
| regular expressions in c++ | szzz | High Level Programming | 2 | 10-06-2003 07:33 AM |
| Regular Expressions | AresMedia | Shell Programming and Scripting | 1 | 08-22-2002 12:55 PM |
| Regular expressions in sed | mfreemantle | Shell Programming and Scripting | 2 | 02-12-2002 01:43 AM |
| Regular expressions in sed | mfreemantle | UNIX for Dummies Questions & Answers | 3 | 02-11-2002 06:34 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi there,
I'm investigating migrating a system currently running Scos osr5 to Linux (eg RH 7.2) but there are a lot of in house scripts, some of which are probably using "Sco specific" constructs etc. One I have come across is as follows, if [ -d [9a]????? ] then ....etc.etc fi The regular expression allows for a variety of directory matching up in Sco, but so far I've not had any luck getting this to work under Linux. Is there an equivalent? All useful replies gratefully acknowledged |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
What shell script are you using? There are many ways to do what you want to do on Linux depending on the shell you are using? PERL? PHP? KSH?
|
|
#3
|
|||
|
|||
|
The Sco environment I'm attempting to replicate has most of its scripts written in the Korn shell, so I've used pdksh in Linux
|
|||
| Google The UNIX and Linux Forums |