01-20-2020
Copy and past html text use wrong character set - Firefox
Hello.
The source code is here :
WMI query to find memory slot and installed memory on each slot
at post nbr 7
Looking at the text from firefox show nothing special.
Then I Copy the text to notepad and make some change and save to file.
Then I open the file in powershell and try to run it.
I got errors because quotes are partly english quotes and partly open/close french quote
Any help is welcome
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a webpage, http://my.dns.com/~zp523/index.html,
I want all people to have read and execute privileges. I want to extend it with execute privilege. Which command should be used in chmod?
is it only give read(r) & execute(x) parameter in 'chmod ??? index.html'
thk a lot!! (1 Reply)
Discussion started by: zp523444
1 Replies
2. UNIX for Dummies Questions & Answers
I have an RPM that I am trying to install and it keeps coming back with:
I know I could kill the bird by throwing a "yum install *perl*" at it, but this seems like hurling a skyscraper at an ant...
any better suggestions? (2 Replies)
Discussion started by: jjinno
2 Replies
3. 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
4. UNIX for Dummies Questions & Answers
Hi,
I have learned some of the Unix commands a way back and not sure of how to code them when needed in certain way, especially sed command. Here is my situation. I have an xml file with several tags. most of the tags start on the same line and end on the same line. However, data for some tags... (8 Replies)
Discussion started by: girish312
8 Replies
5. Web Development
Here is a bit of code I wrote that includes some HTML (table and image code) based on the width of the browser. It works in Firefox. I am not sure if it works for IE. (Need to test.)
<script type="text/javascript"><!--
var winWidth = window.innerWidth;
if (winWidth > 750) {... (0 Replies)
Discussion started by: Neo
0 Replies
6. Shell Programming and Scripting
Hi!
I am not a whiz at awk and very unsure about the aplication of awk solve my problem. I was hoping for some quick pointers so I can figure this out.
I have a file that looks like so:
label.Asked=\u8CEA\u554F\u6E08\u307F
button.Edit=\u7DE8\u96C6... (3 Replies)
Discussion started by: pinnochio
3 Replies
7. Shell Programming and Scripting
hello all
i request you to give the solution for the following problem..
I want read the text file.and print the contents character by character..like if the text file contains google means..i want to print
g
go
goo
goog
googl
google
like this Using unix Shell scripting...
without using... (1 Reply)
Discussion started by: samupnl
1 Replies
8. Shell Programming and Scripting
hey huys,
i'm extacting some data from a webpage. I used
lynx -dump URL > temp.dat
its working fine, but I need some data that is in the html code, so how could I store the whole html code of the URL in a file and exit like the above code. (2 Replies)
Discussion started by: Johanni
2 Replies
9. 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
10. Web Development
hi,
i have a list box , a text box and a button in a html form.
list box displays some values, when a user selects a value from the list box and press the button. the selected value should be copied to the text box value.
can any1 give me a html and javascript code to do this facility.
... (1 Reply)
Discussion started by: Little
1 Replies
LEARN ABOUT REDHAT
amlabel
AMLABEL(8) System Manager's Manual AMLABEL(8)
NAME
amlabel - label an Amanda tape
SYNOPSIS
amlabel [-f] config label [ slot slot ]
DESCRIPTION
All Amanda tapes must be pre-labeled before they are used. Amanda verifies the label in amdump and amflush before writing to make sure the
proper tape is loaded.
Amlabel writes an Amanda label on the tape in the device specified by the amanda.conf file in /etc/amanda/config. Label may be any string
that does not contain whitespace and that matches the amanda.conf labelstr regular expression option. It is up to the system administrator
to define a naming convention.
Amlabel appends the new tape to the tapelist file so it will be used by Amanda before it reuses any other tapes. When you amlabel multiple
tapes, they will be used in the order you amlabel them.
Amlabel will not write the label if the tape contains an active Amanda tape or if the label specified is on an active tape. The -f (force)
flag bypasses these verifications.
An optional slot may be specified after the tape label. If a tape changer is in use, amlabel will label the tape in the specified slot
instead of the currently loaded tape.
See the amanda(8) man page for more details about Amanda.
EXAMPLE
Write an Amanda label with the string "DMP000" on the tape loaded in the device named in the tapedev option in /etc/amanda/Daily-
Set1/amanda.conf:
% amlabel DailySet1 DMP000
Label the tape in slot 3 of the currently configured tape changer with the string "DMP003":
% amlabel DailySet1 DMP003 slot 3
MESSAGES
label label doesn't match labelstr "str"
Label label on the command line does not match the labelstr regular expression str from amanda.conf.
label label already on a tape
Label label is already listed as an active Amanda tape.
no tpchanger specified in "path", so slot command invalid
The command line has the slot parameter but the amanda.conf file in path does not have a tape changer configured.
reading label label, tape is in another amanda configuration
This tape appears to be a valid Amanda tape, but label does not match labelstr for this configuration so it is probably part of a
different Amanda configuration.
reading label label, tape is active
Tape label appears to already be part of this Amanda configuration and active, i.e. has valid data on it.
no label found, are you sure tape is non-rewinding?
While checking that the label was written correctly, amlabel got an error that might be caused by mis-configuring Amanda with a
rewinding tape device name instead of a non-rewinding device name for tape.
AUTHOR
James da Silva <jds@cs.umd.edu>
University of Maryland, College Park
SEE ALSO
amanda(8) amdump(8) amflush(8)
AMLABEL(8)