![]() |
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 |
| awk print redirection to variable file name | nazeeb | Shell Programming and Scripting | 6 | 12-03-2008 08:32 PM |
| echo command and file I/O Redirection | userix | Shell Programming and Scripting | 8 | 05-11-2008 06:08 PM |
| Error file Redirection | maxmave | Shell Programming and Scripting | 3 | 04-23-2008 01:17 PM |
| .forward file for mail redirection | giannicello | UNIX for Dummies Questions & Answers | 3 | 01-12-2002 11:06 AM |
| File redirection | namtab | UNIX for Dummies Questions & Answers | 4 | 01-10-2002 11:48 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
awk two file redirection
Hi,
i use awk -F to print three variable delimited by comma $1 $2 $3 if $2=="" i want to extract this information missing from another file using awk -v + some process. but the problem i can't use the two awk together cause of redirection there's a solution. note: i can't use another command like gawk. the script is like that : awk -F "," '{ {$1; $2; $3 } if ($2 == "") { traitement } else traitement' file1 > file2 awk -v s="$string" 'BEGIN{ traitement to find $2 }' file3 can u suggest a solution to have the two awk in the same one ( file1 file2 file3 are not the same). thanks for u |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|