Search Results

Search: Posts Made By: ezee
Forum: Web Development 07-09-2014
1,795
Posted By Neo
OBTW, I looked further into this; and the WP...
OBTW, I looked further into this; and the WP theme appears to be a custom theme written by the website owner (infobeans), because the theme name is also "infobeans" and this does not appear to be a...
Forum: Web Development 07-09-2014
1,795
Posted By Neo
You don't really need an app to tell you the CMS...
You don't really need an app to tell you the CMS (for this site, anyway).

If you look at the HTML source code, you will see it is a Wordpress site, for exampleL


<script...
Forum: Web Development 07-09-2014
1,795
Posted By hicksd8
Using: CMS detection What CMS Is This?...
Using: CMS detection

What CMS Is This? (http://whatcmsisthis.com/)

it seems like the CMS is Wordpress (although other detectors don't see that)

Using:

WordPress Theme Detector...
Forum: Web Development 07-09-2014
1,795
Posted By Akshay Hegde
Go through https://iosscripts.com/ its...
Go through

https://iosscripts.com/

its jQuery Plugins
Forum: Programming 05-19-2014
929
Posted By jim mcnamara
This looks like homework to me, but I'll give you...
This looks like homework to me, but I'll give you a start. Bit inversion is usually taken to mean reversing the order of bits, BTW. "flip" means change from 1->0 or 0->1.

Use a bit field to...
759
Posted By SriniShoo
awk '$2 ~ /DMX/' input.txt > output.txt
awk '$2 ~ /DMX/' input.txt > output.txt
919
Posted By rbatte1
Reversing the sort.
Reversing the sort.
919
Posted By gary_w
Set a variable called TEMP to the value of the...
Set a variable called TEMP to the value of the variable PATH_PROC_USER if PATH_PROC_USER has a value. If PATH_PROC_USER does not have a value (is null), set Temp to a null string (the ""). Which is...
1,314
Posted By agama
To my knowledge there is no equivalent of a set...
To my knowledge there is no equivalent of a set -x for an awk programme. I usually add printf() statements at key points and print the information I am interested in seeing.

EDIT: @Corona688, ...
2,791
Posted By Scrutinizer
Two issues: To stop read from interpreting the...
Two issues: To stop read from interpreting the line using read and losing beginning and ending tabs you can use:
while IFS= read -r FXML_line
to not lose those tabs during variable expansion use ...
890
Posted By Scrutinizer
Well that is what I mean, 07 produces 7 digit...
Well that is what I mean, 07 produces 7 digit wide numbers with 0-padding, so 23 becomes 0000023
890
Posted By Scrutinizer
Try: printf "%07d"
Try: printf "%07d"
2,368
Posted By Scrutinizer
I am guessing your shell does not support this....
I am guessing your shell does not support this. You would need bash or ksh93.
2,368
Posted By Scrutinizer
Try putting double quotes around the back...
Try putting double quotes around the back ticks...

-or alternatively make use of grep's return code, perhaps this will also server your purpose-
if grep -Fq "${TARGET_PATH_OK}"...
2,368
Posted By Scrutinizer
Or remove the outer brackets..
Or remove the outer brackets..
2,368
Posted By gull04
Hi try if [[ -n `grep ${TARGET_PATH_OK}...
Hi try

if [[ -n `grep ${TARGET_PATH_OK} ${PREPAVAL_TRAVAIL}/${EDI_DIRS_list}` ]] && [[ -d `grep ${TARGET_PATH_OK} ${PREPAVAL_TRAVAIL}/${EDI_DIRS_list}` ]]

There should be no spaces between the...
1,039
Posted By methyl
@mayursinguru Contains the same error - using...
@mayursinguru
Contains the same error - using an integer compare -eq when it needs a string compare = and the values on both sides of the compare encased with double quotes.
964
Posted By itkamaraj
nom_PDF=substr($3,2,length($3))
nom_PDF=substr($3,2,length($3))
964
Posted By itkamaraj
awk -F\; '{ nom_PDF=$3; svar=$0; gsub(/[...
awk -F\;
'{
nom_PDF=$3;
svar=$0;
gsub(/[ \t]+$/,"",svar)
printf("%s%-56s;\n",svar,name_PDF);
}' one_text_file > second_text_file
1,899
Posted By itkamaraj
Answer for your questions ...
Answer for your questions

${string##substring} Deletes longest match of $substring from front of $string

${string%%substring} Deletes longest match of $substring from back of $string.

...
1,238
Posted By itkamaraj
you tried like below ? $ cat one.sh ...
you tried like below ?


$ cat one.sh
#!/bin/sh -vx
a()
{
echo "ABCD"
return 0
}
a
echo "Finished"

$ ./one.sh
#!/bin/sh -vx
a()
{
echo "ABCD"
...
1,314
Posted By balajesuri
This is how it works: #! /bin/bash functB...
This is how it works:

#! /bin/bash
functB () {
echo "Im in functB"
}

functA () {
echo "Im in functA. Going to functB"
functB
echo "Im back in functA"
}
...
1,685
Posted By balajesuri
$ i=1 $ i=`print "%06d" $i` $ echo $i ...
$ i=1
$ i=`print "%06d" $i`
$ echo $i
000001
1,685
Posted By balajesuri
See if this works for you: printf "%06d"...
See if this works for you:
printf "%06d" $i
76,453
Posted By gary_w
You also need a space before the square bracket. ...
You also need a space before the square bracket.

Actually if your shell supports string operations, you might find this simpler and save a cpl of processes...
Showing results 1 to 25 of 28

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