![]() |
|
|
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 |
| File filter | Dastard | Shell Programming and Scripting | 3 | 09-06-2007 02:50 PM |
| Filter using awk | arun_st | UNIX for Dummies Questions & Answers | 3 | 03-21-2007 08:20 AM |
| Mail Filter | collins | UNIX for Advanced & Expert Users | 4 | 11-16-2004 06:46 AM |
| ftp by date filter | campbem | UNIX for Dummies Questions & Answers | 1 | 02-11-2004 02:44 PM |
| spam filter | fnoyan | High Level Programming | 2 | 11-16-2003 10:10 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Filter passwd
Hello,
I have to build a temp. passwd-file without looked passwd entries in the /etc/passwd. The looked passwd fields have an "*" in the passwd-filed (2nd field). I think, it's possible to solve this problem with a small awk, but I don't know how ??? Normal users lines should be still in the new file, all lines with the following example "*" in the second field should be filtered, like: otto:***LOCKED***:.... Mueller:*:.... Klaus:*TTT*: What is the syntax (in awk) ? Thx, Martin |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|