Search Results

Search: Posts Made By: burakkilic
5,955
Posted By burakkilic
Using sed buffer
Hi. I have some questions about using sed. I cannot use the hold buffer. For example i want to put first line to the buffer than take second line and append the buffer to the second line.then 3th to...
4,089
Posted By burakkilic
Thank you very much!.. The code is working...
Thank you very much!.. The code is working properly:)
4,089
Posted By burakkilic
Problems with sum operation
i wrote this code..

#!/bin/sh
sum=0
for i in `cat numbers.txt |cut -f1`
do
sum=expr $sum + $i
done
echo $sum


I want to read the numbers in the file numbers.txt. and find sum of them....
1,622
Posted By burakkilic
But i need some help, where can i find any help...
But i need some help, where can i find any help for those scripts. I will write myself.
1,622
Posted By burakkilic
ok.. sorry.
ok.. sorry.
1,622
Posted By burakkilic
I need some scripts:S
Hi.. I am a beginner in the shell programming. And I have a homework about it. I will be very happy if someone can help me.
those are the questions:
1- Write a shell script which finds the sum of...
Showing results 1 to 6 of 6

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