10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Dear All,
I want to run a shell script with out logging to putty but configuring it to a keyboard short cut it windows PC. Can this be done? I want this to rename a log in a specified folder in a system
Thanks (8 Replies)
Discussion started by: Chi_SL
8 Replies
2. 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
3. UNIX for Dummies Questions & Answers
Hi,
I ahve come across one of the trickier scenario and wanted to check anyone came across this:
i have a file called file1:
pandi.desktop% cat file1
aa
cc
ds
wwe
bb
pandi.desktop%
I want to read input from keyboard and append into the original file. besides that i want to sort the... (1 Reply)
Discussion started by: pandeesh
1 Replies
4. Shell Programming and Scripting
Hi All,
I'm writing a script to read a file line by line and then perform awk function on it. I am getting an error . My file has one name in it "James". I'm expecting my o/p to be youareJamesbond
James
./users.sh: line 7: =: command not found
#script to read file line by line
#adding... (5 Replies)
Discussion started by: Irishboy24
5 Replies
5. Shell Programming and Scripting
Hello All,
I wounder if any one know if perl have the ability to run script in the background which record each keyboard keystorke?
If yes , how can I implement the part which reading the keyboard keystroke?
Is there any moudle that handle it ?
Thanks a head
Alalush (1 Reply)
Discussion started by: Alalush
1 Replies
6. Shell Programming and Scripting
Hello,
I've managed to get my .procmailrc file to work. At least it triggers a script which creates a file. But the file is empty. How do I get at the data that's been piped? I've done much creative googling to no avail. I belive it should be in stdin, but I can't figure out how to access... (4 Replies)
Discussion started by: mmesford
4 Replies
7. Shell Programming and Scripting
Hi,
Iam new to shell scripting.I have below urgent requirement
I want to read attributes (transaction,documentmode) in xml tag with shell scripting and create a filename with these attribues
Xml :
<PURCHASE_10 partner="food" version="1.50" timestamp="2009-03-10T09:56:55"... (3 Replies)
Discussion started by: swetha123
3 Replies
8. Shell Programming and Scripting
For reading a file through shell script I am using yhe code :
while read line
do
echo $line
done<data.txt
It reads all the line of that file data.txt.
Content of data.txt looks like:
code=y
sql=y
total no of sql files=4
a.sql
b.sql
c.sql
d.sql
cpp=n
c=y
total no of c files=1 (4 Replies)
Discussion started by: Dip
4 Replies
9. Shell Programming and Scripting
Hello! I am writing a program that reads a bunch of arguments from the command line,then read information from a file(passed as one of the arguments) and do some computation. The problem I am facing is when a backslash(\) is present as one of the arguments, suppose $ myprog \ abc xyz,the backslash... (2 Replies)
Discussion started by: rossi143
2 Replies
10. Shell Programming and Scripting
Dear all:
I want to write a script capable of reading specific rows and collumns of a table, into a variable.
Just imagine i have a file named table.dat which contains:
GENERAL INFORMATION
Col 1 Col2 Col3
1 1
2 2
3 3
4 4
What i want to do... (13 Replies)
Discussion started by: luiscarvalheiro
13 Replies