Search Results

Search: Posts Made By: cengiz
19,309
Posted By cengiz
I've solved this problem and indeed if [...
I've solved this problem and indeed

if [ $MOD -eq 0 ] ; then
echo "ja" ;
fi
243,821
Posted By cengiz
ok pixelbeat thanks
ok pixelbeat
thanks
19,309
Posted By cengiz
it just prints me: ksh: syntax error: 'then'...
it just prints me: ksh: syntax error: 'then' unmatched
19,309
Posted By cengiz
when i try your code the pormpt prints: then...
when i try your code the pormpt prints: then unmatched
19,309
Posted By cengiz
if Statement...
...doesnt work :(

my Code


MOD=`expr $count % 2`
if ($MOD == 0) then echo "example"


in the prompt it prints me: ksh: syntax error: 'if' unmatched

why this problem?

I've tried...
243,821
Posted By cengiz
thank you now it works
thank you

now it works
243,821
Posted By cengiz
increment a Variable
hi,

i want to increment a Variable but it doesnt work.

here my codé

COUNT=1
COUNT= 'expr $COUNT + 1'

i've tried it in the prompt but it print me:
expr: syntaxerror

What does I make...
1,601
Posted By cengiz
I'm trying it with javascript before i print i...
I'm trying it with javascript before i print i want a preview window which shows me the same list but a little bit smaller so that matches on piece of paper.

my problem is i have javascript...
1,601
Posted By cengiz
how to print?
morning,

i have shell script which generates a HTML-File that lists printers. I should programme under the List an button if you click it the list goes to the Printer and to print me the list.
...
11,361
Posted By cengiz
@r2007 I've tried this but when i execute it he...
@r2007
I've tried this but when i execute it he say --time-style="long-iso" not found an the second example, too.

@bakunin
thank you for your opinion. I try your solution and if it works i apply...
11,361
Posted By cengiz
Yeah I have solved this problem problem with...
Yeah

I have solved this problem problem with

ls -al $PFAD$DR | awk '{printf("<TD>%s %s %s\n", $6, $7, $8)}' | tee -a $HTMLFILE



and now i need the german format of the date

it...
11,361
Posted By cengiz
it doesnt work modiDate = "$( ls -al...
it doesnt work

modiDate = "$( ls -al $PFAD$DR | sed 's/ */ /g* | cut -d ' ' -f6,7)"


i have Hp-Unix System
11,361
Posted By cengiz
yeah that's the problem i have no error...
yeah that's the problem

i have no error message it print's me the table with the data out.

here is a screeshot
http://img156.echo.cx/my.php?image=screen4cf.jpg
11,361
Posted By cengiz
it doesnt work grep Kostenstelle ...
it doesnt work


grep Kostenstelle $PFAD$DR | awk '{printf("<TD>%s\n",$2)}' | tee -a $HTMLFILE
grep Bemerkung $PFAD$DR | awk '{printf("<TD>%s %s %s %s %s\n",$2,$3,$4,$5,$6)}' ...
11,361
Posted By cengiz
thanks it's not working, well it is working...
thanks

it's not working, well it is working but the date of last modified ist not working.

It print's it out if it is a string


awk '/Kostenstelle/ {printf("<TD>%s\n",$2)}'$PFAD$DR ...
11,361
Posted By cengiz
Last Modified Date
Hello,

I'm on a practical training and i have to change a shell script which print out a HTML-File with all Printers (and features example: IP, Mac etc.) they have in the factory.
The Features of...
Showing results 1 to 16 of 16

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