9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need help writing a Unix shell script that does the following:
1) Searches all of the files in a given directory that have the .acl file extension
2) Redirects the output of the search to a column in a .xls or .cvs file
(Note: The column name in the spreadsheet file needs to be named... (2 Replies)
Discussion started by: ijmoore
2 Replies
2. UNIX for Dummies Questions & Answers
Hi I want a script which should basically do
1. If the size of the file is 0kb,
send email to some list od ppl
2. if the size of the file is other than 0kb
send email to someother list...
Pls help (2 Replies)
Discussion started by: win4luv
2 Replies
3. Shell Programming and Scripting
#!/bin/sh
#Displaying every argument
while ;
do
echo Moving file $0;
shift;
done
exit 0;
For the above script i get the below o/p when 2 arguments are passed when invoking the script
dmlFileCopy.sh: line 3:
Can you let me know how to rectify the error? (2 Replies)
Discussion started by: Anand86
2 Replies
4. UNIX for Dummies Questions & Answers
hi friends,
I would like to do the certification in Korn shell scripts { i am using HP UNIX machine }. is there any certification for UNIX shell script . If yes please tell me the details . i am junior level oracle plsql developer . i interseted in unix shell scripting . i need... (1 Reply)
Discussion started by: rdhaprakasam
1 Replies
5. Shell Programming and Scripting
Hello Friends,
Can you pls advice me on the following requirement:
What we'd like to achieve is the following:
- having a password.properties file which contains some passwords, e.g. BOT_PASSWORD=dog.name
- in the configuration file, insert as the password value something like... (0 Replies)
Discussion started by: pulkit
0 Replies
6. Shell Programming and Scripting
I am trying to query a table having 3 columns, the third column is a field of varchar(1024) with a SQL string in it. I am using cut command to split out the three fields into three variables. I do a db2 command to extract the data into a file.
My problem is with the third field having the SQL... (3 Replies)
Discussion started by: fastgoon
3 Replies
7. Shell Programming and Scripting
I have a file that has text in the format below
ABC
/ Some text /
ABC
/ Some text /
ABC
/ Some text /
ABC
/ Some text /
ABC
/ Some text /
How can I seperate the text between a pair of 'ABC' into seperate files ???
any information would be of great help. Thanks (8 Replies)
Discussion started by: garric
8 Replies
8. Shell Programming and Scripting
Could someone tell me the code for doing the below inside a k shell?
I have a file file below:
$ more file1
>>>>>
AAA
BBB
CCC
<<<<<
>>>>>
DDD
EEE
FFF
<<<<<
I want the lines between ">>>>>" and "<<<<<" to be one line like below:
AAA BBB CCC (2 Replies)
Discussion started by: stevefox
2 Replies
9. Shell Programming and Scripting
Could someone tell me how to do the below in Korn Shell or SED?
If the 1st word (i.e. 1st character to the one character before the 1st space) of a line is the same as the 1st word of the 2nd line then add the 3rd word of the 1st line and the 3rd word of the 2nd line and divide the sum of the... (11 Replies)
Discussion started by: stevefox
11 Replies