Search Results

Search: Posts Made By: whamchaxed
5,223
Posted By whamchaxed
perfect
perfect thank you
5,223
Posted By whamchaxed
works step by step on command line but not in script
Hi all,
The following script is fine when I work via command line


m=1
c=0
while [ $c = 0 ]
do
echo $m
gnokii --getsms IN $m > out.txt;
m=`expr $m + 1`;
cat out.txt >> message_log;...
2,836
Posted By whamchaxed
thank you
now with them two bits of info I should be able to sort the rest of this.

Adam
2,239
Posted By whamchaxed
thanks.. that works
Still trying to figure out how it works but thanks.

Adam
2,239
Posted By whamchaxed
intending
I have log files which has the single word 'Text' on the line prior to the actual text I need. I tried using

grep -n PATTERN FILE

to get the line numbers with Text in it but that led to more...
2,836
Posted By whamchaxed
assigning variables from standard output
What am I doing wrong? I was searching for the answer to assigning variables from output. I found this simple response

ls -l apply_want.m | read perms links owner group size mtime1 mtime2 mtime3...
2,239
Posted By whamchaxed
get data from next line
Hi using awk I know I can get all the lines with gold from a file called "gold.txt" like the one below:

gold 1 1986 USA American Eagle
gold 1 1908 ...
Showing results 1 to 7 of 7

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