The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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 exists routine kamathg Shell Programming and Scripting 9 12-16-2008 04:56 AM
how to cp files to dir,using routine? wrapster Shell Programming and Scripting 4 05-21-2008 11:41 PM
how to cp files to dir,using routine? wrapster UNIX for Advanced & Expert Users 1 05-21-2008 03:18 PM
sub routine call sekar sundaram Shell Programming and Scripting 2 11-10-2005 08:30 PM
Entry Points Routine S.P.Prasad High Level Programming 9 10-21-2002 12:34 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-22-2009
vgersh99's Avatar
vgersh99 vgersh99 is online now Forum Staff  
Moderator
  
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 5,131

Code:
awkfunction () {
nawk '
{
all your awk code goes here
.....
.....
}' q="'" OFS=, type="$2" "$1"

}##end of awk function.

  #2 (permalink)  
Old 04-22-2009
fwellers fwellers is offline
Registered User
  
 

Join Date: Mar 2008
Location: Northern, VA
Posts: 23
Oh yea sorry.
I tried that before with the double quotes and it didn't work, but then we didn't change the argument line to awk.

Hey thanks for all your help. It looks good.

Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:22 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0