06-30-2011
Thanku for pointing out the part causing the problem with the input count...but can u suggest a way to overcome the problem..i couldn't get through it..n a little more on this behaviour of "scanf()" will also be helpful..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
All
I want to reverse and trim a string using UNIX shell scripts.Iam using Bourne shells. Can you help me? Thanx in advance
Regards
Deepak (5 Replies)
Discussion started by: DeepakXavier
5 Replies
2. Shell Programming and Scripting
If I have string { I_love_shell_scripts}
anyone knows how to have output {stpircs_llehs_evol_I}
by using shell and perl ?I know in perl, there is reverse() funcation, but
can it be done by not using reverse()? (3 Replies)
Discussion started by: ccp
3 Replies
3. Shell Programming and Scripting
Hello,
I think its a sinple query but somehow i m stucked up here...
I am trying to enter n number of inputs from the user and write them in
an input file ie row wise...
I tried standard commands like
$echo "enter the inputs for the file"
$read var1 var2 var3 var4
test1 test2... (14 Replies)
Discussion started by: er_aparna
14 Replies
4. UNIX for Dummies Questions & Answers
Hello Everybody,
Please help.
I was trying to automate the use of a third-party given shell script. The script is written to be used at run-time to collect a few variables to be provided by the user through key board, in the fashion as below:
./runcommand
please provide a file name to... (6 Replies)
Discussion started by: Dingrong
6 Replies
5. Shell Programming and Scripting
Hi Everyone....I am new to Unix and BASH programming...I just want to read a string and reverse it and display.....can anyone help me out???? (8 Replies)
Discussion started by: nikhilneela
8 Replies
6. Shell Programming and Scripting
ssh servername.com "echo /$APP=$BUSIN >> $URI; echo /$APP/*=$BUSIN >> $URI"
Ok for example here i ssh into a example servername.com, and I think what it does some line gets put into the urifile , my question is, how would i go about removing that in a script.
in summary, the above code is... (3 Replies)
Discussion started by: new2learn09
3 Replies
7. UNIX for Advanced & Expert Users
Hi All,
In my application, I'm getting an error as type mismatch
Let me now explain the scenario,
I ran a shell script which calls some other scripts. All these scripts uses the environment variables.
Take for example, this script uses a variable 'PathDir'. I initiallized the value to... (2 Replies)
Discussion started by: iamgeethuj
2 Replies
8. UNIX for Dummies Questions & Answers
Hello all,
Wondering if anyone can help me out.
Trying to cut the names out of the /etc/passwd file so that they can be displayed first then last name. I cut them out and put them into variables but cant get them to display side by side after cutting. Anyone able to help a newbie? (1 Reply)
Discussion started by: losingit
1 Replies
9. Shell Programming and Scripting
Hi..!
I'm stuck with my automation of starting a process and keeping it running even after the current ssh session has exited..
So i'm trying to use command 'screen'. which is doing exactly what i wanted, But the problem is automation of the same.
i will have to press Ctrl+a and Ctrl+d for... (2 Replies)
Discussion started by: chandana hs
2 Replies
10. UNIX for Dummies Questions & Answers
I have a unix command that prompts for 'y'. How do I run this from my shell script? (4 Replies)
Discussion started by: Sree10
4 Replies
ACC(4) Kernel Interfaces Manual ACC(4)
NAME
acc - ACC LH/DH IMP interface
SYNOPSIS
/sys/conf/SYSTEM:
NACC 0 # ACC LH/DH ARPAnet IMP interface
PLI YES # LH/DH is connected to a PLI
DESCRIPTION
The acc device provides a Local Host/Distant Host interface to an IMP. It is normally used when participating in the DARPA Internet. The
controller itself is not accessible to users, but instead provides the hardware support to the IMP interface described in imp(4). When
configuring, the imp(NIMP) pseudo-device must also be included.
DIAGNOSTICS
acc%d: not alive. The initialization routine was entered even though the device did not autoconfigure. This indicates a system problem.
acc%d: can't initialize. Insufficient UNIBUS resources existed to initialize the device. This is likely to occur when the device is run
on a buffered data path on an 11/750 and other network interfaces are also configured to use buffered data paths, or when it is configured
to use buffered data paths on an 11/730 (which has none).
acc%d: imp doesn't respond, icsr=%b. The driver attempted to initialize the device, but the IMP failed to respond after 500 tries. Check
the cabling.
acc%d: stray xmit interrupt, csr=%b. An interrupt occurred when no output had previously been started.
acc%d: output error, ocsr=%b, icsr=%b. The device indicated a problem sending data on output.
acc%d: input error, csr=%b. The device indicated a problem receiving data on input.
acc%d: bad length=%d. An input operation resulted in a data transfer of less than 0 or more than 1008 bytes of data into memory (according
to the word count register). This should never happen as the maximum size of a host-IMP message is 1008 bytes.
3rd Berkeley Distribution July 26, 1987 ACC(4)