Search Results

Search: Posts Made By: cynosure2009
4,073
Posted By cynosure2009
Cutting characters in a variable
I have a variable var which contains "ABCDEFDH"
Now I have to remove the first 4 characters that is "ABCD"
so my variable should contain only "DEFH"
plzz tell me how to do that .
i am using...
6,727
Posted By cynosure2009
what is arrays out of arrays..
plzz give me an example of arrays out of array ..
my file contain 4 col and i have to generate a xml file form it..
2,428
Posted By cynosure2009
is there any other module provided by anyone...
is there any other module provided by anyone which can be used to generate xml file using shell scripting...
4,829
Posted By cynosure2009
No, this is not a homework.. i was facing problem...
No, this is not a homework.. i was facing problem in finding difficulty in printing /bin/*
(it always prints /bin/alsacrad/* ) thats why i posted a thread
6,727
Posted By cynosure2009
Store text file into a datastructure using Shell script
i have a text file and want to store it in a appropriate data structure (2-d is preferable) . The contents are as follows.. plzzz suggest an appropriate way to store the contents by using shell...
2,428
Posted By cynosure2009
using XML::simple in shell scripting
CPAN provide xml::simple module which can be used to generate XML files.
can i use this module in shell scripting? how? plzz give me an example to generate xml file using this module . you can also...
4,829
Posted By cynosure2009
print /* not just *
i tries ur code ..
echo -n "$1"
echo "$1" | grep -q '*' || echo '/*'
its prints :
for sh file.sh /bin
--> /bin/*

for sh file.sh /bin/*
--> /bin/alsacard/*

so can you plzz see that...
11,393
Posted By cynosure2009
how to use xml::simple
i am not finding a way to use xml::simple.
if possible plzz write a shell script for that...
11,393
Posted By cynosure2009
Not working
# awk 'BEGIN{print "<data>"}
{cou++;for(i=1;i<=NF;i++)
{ if(i==1) { print "< Filed"cou" name=\"" $1 "\">" }
else {print "<Otherfield name=\"" $i "\"><\Otherfield>" }
} {print "<\/Filed"cou">"...
3,754
Posted By cynosure2009
Not able to solve these questions plzz help
1.Display a list of /usr/share/doc subdirectories containing information about shells.How many README files do these subdirectories contain? Don't count anything in the form of "README.a_string".
...
4,829
Posted By cynosure2009
finding * in command line argument
I have to write a script to determine whether given command line argument ($1) contains "*" symbol or not, if $1 does not contains "*" symbol add it to $1, otherwise show message "Symbol is not...
11,393
Posted By cynosure2009
Reply to Frans
ok frans ... please tell me to generate xml file directly

---------- Post updated at 07:09 AM ---------- Previous update was at 07:01 AM ----------

thanks frans ... its working ...
...
11,393
Posted By cynosure2009
XML output format
the format of XML is


<data>
< Field1 name="Abc">
<Otherfield name="Def"><\Otherfield>
<Otherfield name="Ghi"><\Otherfield>
<Otherfield ...
11,393
Posted By cynosure2009
Generating XMLfile using shellscript
I have a text file in the following form and i want to store it in 2-d array. After that i have to generate a XMLfile using the elements of array.
Please tell me :how store this file in the form of...
Showing results 1 to 14 of 14

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