10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Experts,
Anybody out there figure out on how to achieve in shell scripts or tools. I have done googling to find solutions but no luck.
I have thousands of .txt files to batch process, please see the below sample text content after -------- start here --------. What I want to achieve is to... (10 Replies)
Discussion started by: lxdorney
10 Replies
2. Shell Programming and Scripting
Hi,
I have following text file. I want to convert it into the below HTML format. Kindly help.
Input Text File
Header 1
=======
Name:***
Age:***
Address:***
Work Phone:***
Email:***
Mobile:***
Country:***
City:***
Pincode:***
some text here **** (10 Replies)
Discussion started by: ctrld
10 Replies
3. Shell Programming and Scripting
Dear community,
probably is quite easy, but I'm scratching my head to find a solution on Red Hat bash. What I have to do is to allign the result of a for/next cicle, something like:
$ printf("%-5s %05x %5d\n", $next, $Server, $Client)
-sh: syntax error near unexpected token `"%-5s %05x... (4 Replies)
Discussion started by: Lord Spectre
4 Replies
4. Shell Programming and Scripting
Hi there, I'm quite new to the forum and shell scripting.
I want to filter out the "166.0 points". The results, that i found in google / the forum search didn't helped me :(
<a href="/user/test" class="headitem menu" style="color:rgb(83,186,224);">test</a><a href="/points" class="headitem... (1 Reply)
Discussion started by: Mysthik
1 Replies
5. Shell Programming and Scripting
Hi
I have an SQL which returns me the o/p as below in an unformatted manner
Table Size No.
=============================================
DEF 22 2
PAF 3 1
99D 12 1
USERS 6 1
04D 4 ... (4 Replies)
Discussion started by: jjoy
4 Replies
6. Web Development
Hi,
I have 3 lines in a text and i want to indent the 2nd line of the text. How can i do that in html?
Here is the text.
1: XYZ. 2009 Jul 14.
Perl is a scripting language. Perl is a high-level, general-purpose, interpreted, dynamic programming language
ID: 2547999
The output... (1 Reply)
Discussion started by: vanitham
1 Replies
7. Shell Programming and Scripting
is there anyway i can paste/cat a text file into a html paragraph <p>
function html_header
{
cat <<END
<html>
<head><title>${1}</title></head>
<body>
<p>
${2}
</p>
END
}
function html_footer
{
cat <<END
</body>
</html>
END (2 Replies)
Discussion started by: magnia
2 Replies
8. Shell Programming and Scripting
Hi,
I need to convert a text file formatted like this ("tshark -z conv,ip" output) to HTML:
=====================================================================================================
IPv4 Conversations
Filter:<No Filter>
| <- ... (4 Replies)
Discussion started by: ph0enix
4 Replies
9. UNIX for Dummies Questions & Answers
I have a html file called myfile. If I simply put "cat myfile.html" in UNIX, it shows all the html tags like <a href=r/26><img src="http://www>. But I want to extract only text part.
Same problem happens in "type" command in MS-DOS.
I know you can do it by opening it in Internet Explorer,... (4 Replies)
Discussion started by: los111
4 Replies
10. Shell Programming and Scripting
Hi - not sure if this is the correct forum but maybe you can help all the same.
I have an ascii file on my server that I log events to..
I have samba and apache running on this server also - although I am not currently using them and have just started them up. They both appear fine so far.
I... (5 Replies)
Discussion started by: frustrated1
5 Replies