Search Results

Search: Posts Made By: dazdseg
5,277
Posted By dazdseg
hi can you give an example of the output you are...
hi can you give an example of the output you are looking for??

lets just say your script's output file name is out_file
you can put this code in your script where its generating the file.
$ cat...
2,692
Posted By dazdseg
you have a output file something like:-- OCS4...
you have a output file something like:--
OCS4 001 181455Z/NOV/09 34 31,03 S 49 18,04 W 3305 X
OCS4 002 182057Z/NOV/09 34 12,40 S 49 56,21 W 2601 X
OCS4 003 190240Z/NOV/09 33 53,45 S 50 35,37 W...
2,000
Posted By dazdseg
have you used the method that i suggested......
have you used the method that i suggested... above??
9,013
Posted By dazdseg
you can do something like this:--- for old...
you can do something like this:---

for old files
for file in `ls *`
do
cksum $file >> old_file (this is for the old files)
done
for file in `ls *`
do
cksum $file >> ftp_file (this is for...
2,678
Posted By dazdseg
which command ## shows which command is being...
which command ## shows which command is being executed
man command ## shows everything about the command.


and if the command doesnt exist on that machine it tells you. if you use man
6,256
Posted By dazdseg
ls -l > tmp.txt awk '{print $9}' tmp.txt >...
ls -l > tmp.txt
awk '{print $9}' tmp.txt > ouput.txt

mv `head -200 output.txt` ${UR_FOLDER}
u might have to do this 5times. for moving all 1000files.

try this also
3,748
Posted By dazdseg
i will try to explain whts happeing in the The...
i will try to explain whts happeing in the The UNIX School: How to connect to sqlplus from Shell? (http://unix-school.blogspot.com/2010/04/how-to-connect-to-sqlplus-from-shell.html)

#!/usr/bin/ksh...
4,255
Posted By dazdseg
as per what methyl said it would be the best way....
as per what methyl said it would be the best way. but i am not able execute whole of it.

wht i can do for u from above understanding is given below:-


if u manually find out which is the 1st...
5,359
Posted By dazdseg
there can be an error anywhere else in the...
there can be an error anywhere else in the code.... before line 111. if ur mising any brackets, paranthesis or some small syntax error u will have to check that very carefully.
10,518
Posted By dazdseg
Content-Type: text/plain; charset=ISO-8859-1this...
Content-Type: text/plain; charset=ISO-8859-1this will be the starting pattern but what will be the ending pattern?

is this ur ending pattern ??
--001485f1ea94fa4e4aaaa8b1d13c--
if this is...
10,518
Posted By dazdseg
if there is only 1 file. then u can do the below...
if there is only 1 file. then u can do the below code:-

egrep "Subject|From|Text" infile

but as far as ur text is considered i am sure it has more than one line. is their any specific pattern...
3,796
Posted By dazdseg
while [ $x -ge 50 ] || [ $x -eq 0]
while [ $x -ge 50 ] || [ $x -eq 0]
4,039
Posted By dazdseg
jobcc=${?} echo "THE EXIT CODE IS: ${jobcc}"...
jobcc=${?}
echo "THE EXIT CODE IS: ${jobcc}" >>$ofl

if [[ $? ]]
then
echo "the exit code is : ${jobcc}" >> $ofl

try this it might work.. for u looking for
Showing results 1 to 13 of 13

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