how to start co- process in ftp054 (7/17/2003 5:26:45 PM) I just wana know, how I can start co process running ftp. The code below give error: #!/usr/bin/ksh Box=bediord7 file=file.txt function sendfile { echo >&3 "> $*" print -p "put $*" } FTP_Con... parth002000
grep problem359 (7/17/2003 9:33:52 AM) Hi I am having a problem using grep that I hope someone has a solution for. I am using it in a script and the pattern I want to search for is in a variable. this variable is a string like "0.0 3.0 0 0". when I... doc123
kshell: var. within a var.544 (7/14/2003 8:50:22 PM) I'm trying to assign a var. with an existing var. as part of the var. definition. Like the following: build_type=DEV let current_emb_${build_type}_num=$last_emb_${build_type}_num}+1 I get the following error:... georgethiel
Extracting patterns from input734 (7/14/2003 6:28:24 PM) I've been struggling with a problem that seemed to have an easy canned answer, but then expanded into a general Unix methodology question that remains unsettled. My initial problem was finding the best method ... stutz
see command output when it fails/hangs395 (7/17/2003 2:57:52 AM) $ ksh save_output.ksh ^Ccat: input/output files '/tmp/1.1' identical $ cat save_output.ksh #!/bin/ksh trap "echo in trap; cat /tmp/1.1" exit { echo a; sleep 120; } >/tmp/1.1 Anyone knows why I should get ... mwang
Problem with processing attribute=value pairs from arrays2108 (7/15/2003 4:41:58 PM) Hi, I have the following array: attribute1=Basic attribute2=May use or avoid attribute3=500 attribute4=0 attribute5=Enable When I process the array using the following logic, I don't get the results I want b... gninnacj
pad with '0'1751 (7/10/2003 12:57:06 PM) Hi, If I have a number vareg=12 I want to print with 10 digit with leading '0'. How do I achieve this? Thanks and regards ... Terence
sed: file sedd line 13: Unknown command: ``-''5102 (7/15/2003 7:42:32 PM) Would someone please explain why I get that error message when I run this script which is in a file and sourced by sed -f scriptfile file ? When I escape the "-" I get: sed: file sedd line 13: Unknown comman... Alan
Tape operations... #2060 (7/16/2003 7:37:13 PM) In VMS systems to see all tape devices I issue: $ sh mag mk Which command need I issue to see all tape devices in Tru64 and Solaris? Which command can I issue to see all files stored in a tape ? Another day in ... contracer11
Tape operations...035 (7/16/2003 7:33:08 PM) In Vms systems, to see all magtape devices I issue: $ sh mag m Which command in Tru64 and Solaris can I issue to discover all installed magtape units ? Which commands can I issue to see all files in a tape ?... contracer11