Search Results

Search: Posts Made By: Lukasito
2,155
Posted By Lukasito
I've surrounded the $1 with "" and it works...
I've surrounded the $1 with "" and it works :P
2,155
Posted By Lukasito
Problem with parameters ( $1, $2... )
I have problem with params...I have created a script, which needs a path to PDF file as parameter.

for instance:

sh myScript.sh $HOME/myPdf.pdf

the problem is, when the PDF's name is not...
2,226
Posted By Lukasito
what does [ $? -eq 0 ] means //ah i've...
what does [ $? -eq 0 ] means

//ah i've already noticed the $? is number of errors occured.

thanks
2,226
Posted By Lukasito
how to make some condition when program/tool unsuccesfully ends with error..
Simply, when i have tool "pdftotext", "sed" or "wget" and if this tool make an error in converting or downloading or something, I want to terminate my script...something like:

if [ pdftotext...
5,472
Posted By Lukasito
Thanks a lot...yop you're right, it is more...
Thanks a lot...yop you're right, it is more accurate...mine was just only for ISBN10, thanks :)
5,472
Posted By Lukasito
you've already answer your question ...
you've already answer your question

anyway...so is my regexp correct? Or can you modify it to works with grep?

// I guess i've solve it... the -E param helps
5,472
Posted By Lukasito
help me create regexp for ISBN
ISBN 10:
it has 4 groups separated with ' ' or '-'
1. group need to has 1-5 digits
2. group need to has max 7
3. max 6
4. 1 digit or letter 'X'

ISBN 13
5 groups separated with ' ' or '-'
1....
12,937
Posted By Lukasito
ah..i see, thanks :b:
ah..i see, thanks :b:
12,937
Posted By Lukasito
non of those works (output was empty)..ill give...
non of those works (output was empty)..ill give you 1 row from my html...
;_OC_timingAction('search');</script><div class="scontentarea" id="scontentarea"><table style="width:100%"><tr><td...
12,937
Posted By Lukasito
still everything in the output file :confused::(
still everything in the output file :confused::(
12,937
Posted By Lukasito
How to remove all text except pattern
i have nasty html file with 2000+ simbols in 1 row...i need to remove whole the code except title="Some title..." and store those into file with titles (the whole text is in variable text)
i've...
Showing results 1 to 11 of 11

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