![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sed-Special character replacement | usshell | Shell Programming and Scripting | 3 | 05-22-2008 07:06 AM |
| convert special character like £ | cynnie | Shell Programming and Scripting | 1 | 08-08-2007 03:37 AM |
| Special character in my file | Ryan2786 | UNIX for Dummies Questions & Answers | 3 | 07-05-2007 08:35 PM |
| separate information with a space character | remid1985 | UNIX for Dummies Questions & Answers | 2 | 10-31-2006 03:36 AM |
| special character ? | mile1982 | High Level Programming | 1 | 10-19-2004 05:15 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Separate special character fields
Hi,
I have a file with User ID and User Name. Sometimes the file has speical characters in the USer ID and it creates problems. I want to allow all those fields to be processed which have only numbers and characters. I do NOT want to process those fields with Speical Characters. How to search and filter? Appreciate your help. Regards |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Pseudo-code:
Code:
for field in (all fields)
do
if echo $field | grep[list of ok characters]
then
process_the_field
fi
done
|
||||
| Google The UNIX and Linux Forums |