[HPADM] Problem in awk script
From: Lal, Neeraj (Neeraj.Lal_at_pfizer.com)
Date: 12/16/03
- Previous message: Paul.Soltermann_at_vonroll-isola.com: "[HPADM] problems printing umlaute Q=F6=FC_?="
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "'hpux-admin@dutchworks.nl'" <hpux-admin@dutchworks.nl> Date: Tue, 16 Dec 2003 11:12:05 -0500
Hi Admins
I have script
SRC_DIR_NAME='e:/kshell_test/data/outfiles/notif'
RUN_DIR='e:/kshell_test/ftp_ksh_script'
cd $SRC_DIR_NAME
ls PAPER*.TXT > $RUN_DIR/printfile_name
awk <$RUN_DIR/printfile_name >
e:/kshell_test/ftp_ksh_script/printfile_name.bat \
'
{
print "copy e:\kshell_test\data\outfiles\notif\" $0 " \\abc\efg_pop
<\\abc\efg_pop> ";
}
'
When I run this scripti get following error what is mistake I am doing
awk: file "[command line]": line 2: Syntax error Context is:
>>> "copy e:\kshell_test\data\outfiles\notif\" $0 " \
Thanks
Neeraj Lal
Pfizer Inc.
Consultant CHC-IS
973-385-2734
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl
Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
- Previous message: Paul.Soltermann_at_vonroll-isola.com: "[HPADM] problems printing umlaute Q=F6=FC_?="
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|