Search Results

Search: Posts Made By: mariner
2,259
Posted By mariner
Shell Script not working on new RS/6000
The company i am working for has just bought two new RS/6000's.

We have copied all scripts over from our current system onto the two new boxes and we are testing them before we go live with the...
3,777
Posted By mariner
Redirection or piping error message
I have written a script that appears to work correctly in testing, but is coming up with a starnge error message,

script_name[187]: test: 0403-004 Specify a parameter with this command.
...
1,809
Posted By mariner
Manipulating output file
I have a file containing two fields, Name and Time, with about 57 lines in this file. I am struggling to create a loop that will cut out the first ten lines of this file and echo it to the screen....
64,077
Posted By mariner
If statement
Hi i am trying to set up an IF statement that says if FILE1 exists or FILE2 exists do a command. I am struggling to remember what i need to put in for the OR statement. i have the following

if [...
4,753
Posted By mariner
The problem has now been solved thank you for...
The problem has now been solved thank you for your help.
1,591
Posted By mariner
Operatoring system AIX 5.1 example code, ...
Operatoring system AIX 5.1

example code,


function error_routine
{
while read user_id day_no month time error_file
do
USER=`grep ${user_id} $passwordfile | sed 's/:/ /g' | awk '{...
1,591
Posted By mariner
loops within a function
I have a function where i am imputting data to the function. Within the function is a while loop reading the data put into the function. I want to put a FOR loop within the while loop but it keeps...
4,753
Posted By mariner
grep command
Hi

i am trying to grep a specific word out of a file but it is bring up every instance of the word even if it is part of another word.

For example i am trying to grep the word ist, now there...
12,063
Posted By mariner
paste command
I wonder if any body can help me with a command i am struggling with. I have a file with around 400 lines in, in a program i have it pulls out each line at a time so that data from the line can be...
2,272
Posted By mariner
Thank you for your assistance, your suggestion...
Thank you for your assistance, your suggestion works fine.
2,272
Posted By mariner
grepping lines out of files
Hi, I wonder if anyone can help me. I have a file with about 200 lines in it. I am wanting to set up a Count so that it picks out each line at turn and edits the line. However i am having trouble...
2
2,334
Posted By mariner
Thanks for that, i had just thought of that as...
Thanks for that, i had just thought of that as well. Problem is now solved.
2
2,334
Posted By mariner
Loops
Can anybody help please.

I am trying to right a script which will loop until a certain action has been performed. For example i current have two batch jobs i would like to put into a wait status....
2,125
Posted By mariner
Looping a command more than once
Hi could someone help please,

The problem i have is that within a for loop in Unix scripting i want to loop a line seven times before it continues onto the next part of the script. I am...
4,667
Posted By mariner
Thanks Ygor, i am humble to your superior...
Thanks Ygor, i am humble to your superior knowledge. It works what you suggested but could you please give my a brief summary of how it works it out.
4,667
Posted By mariner
I do not think this will work as it will on pick...
I do not think this will work as it will on pick out the first couple of lines. I need something that will pick up lines 1&2 use them in the script, then loop back and use lines 2&3, then loop back...
4,667
Posted By mariner
Reading lines within a Unix file.
I have a file that has a list of numbers in it. Each line has a different number. I am trying to create some sort of loop within a script that will pick the numbers up on lines 1 and 2 and then put...
Showing results 1 to 17 of 17

 
All times are GMT -4. The time now is 02:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy