![]() |
|
|
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 |
| execute | bkan77 | Shell Programming and Scripting | 3 | 07-20-2007 02:42 PM |
| script execute or no execute | Kespinoza97 | Shell Programming and Scripting | 4 | 06-23-2007 10:27 AM |
| How can I do a rexec to execute un C exe ? | Lika | Shell Programming and Scripting | 4 | 02-22-2007 10:17 AM |
| Need to execute 2 scripts, wait, execute 2 more wait, till end of file | halo98 | Shell Programming and Scripting | 1 | 08-01-2006 05:42 PM |
| Can't execute a script | ssmiths001 | Shell Programming and Scripting | 3 | 06-02-2006 06:50 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Ahoy, New to Ksh and Perl. Spent days googling and trying things before finding this site. Search this site for solution. What I want is to automate the typing of a command on a HPUX 11 server. The command is particular to Perforce and their excellent tech support suggested I do this in Perl. Tried Perl but think I need to install a pm for Perforce which the sys admin of the server won't like. So then I tried ksh. I have a long list of branches (stored as a list of single words in a file called p4branch.txt) in Perforce to delete and I got a short test list to just print, but then I get nothing when I try it using the perforce (p4) command. No error. Just nothing. The command (p4 branch -d -f branchname) works when I type it in a terminal window. Code:
awk '{p4 branch -d -f $1}' p4branch.txt
Thanks for any insight! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|