02-17-2008
Thank's. I tried the echo command in the terminal and it works with the regular carachter's but not with the extended.
The script doesn't work either. I did the following to test the script. First an explaining what the script is doing.
It put files in Library—>Application Support and then moves them to the Application folder if there's no such files. It don't overwrite. This is also working with files without accentuated letters.
So, I did used the letter lowercase "o" instead wich have the octal code "0157" like this:
#!/bin/bash
cp -R -n -p "/Library/Application Support/MakeMusic/Finale 2008/Komponenter/Jazz filf\0157rval" "/Applications/Finale 2008/Komponentfiler".
The script didn't respond to this, so it seems to me that octal ascii code doesn't work in this kind of script?
peli
10 More Discussions You Might Find Interesting
1. Programming
Hi all,
I would like to change the extended ascii code ( 128 - 255).
I tried to change LC_ALL and LANG in current session ( values from locale -a) and for no good.
Thanks. (0 Replies)
Discussion started by: avis
0 Replies
2. Shell Programming and Scripting
Hi.
I have files in my OS that has weird file names with not-conventional ascii characters.
I would like to run them but I can't refer them.
I know the ascii # of the problematic characters.
I can't change their name since it belongs to a 3rd party program... but I want to run it.
is there... (2 Replies)
Discussion started by: yamsin789
2 Replies
3. Shell Programming and Scripting
hi i would like to check text files if they contain extended ascii characters within or not. i really dont have any idea how to start your kind help would be very much appreciated thanks. (7 Replies)
Discussion started by: smooth
7 Replies
4. Shell Programming and Scripting
Can someone help me to write a script / command to read in a file, character by character, replace any unknown ASCII characters with space. then write out the file to a new filename/
Thanks! (1 Reply)
Discussion started by: raghav525
1 Replies
5. AIX
Hi All,
I'm trying to send extended ascii characters to my HP2055 as part of PCL printer control codes. What I want to do is select a bar code font, print the bar code and reset the printer to the default font.
Selecting the bar code font works good. Printing the bar code goes almost ok too. ... (5 Replies)
Discussion started by: petervg
5 Replies
6. Shell Programming and Scripting
Hi everyone,
I'm echo some text with extended ascii characters as below:
echo -e "Pr\xE9sentation du spectacle" > output
or
echo -e "Présentation du spectacle" > outputIf I open the file created I see this text
Présentation du spectacleThe text is shown correctly in this created file when... (7 Replies)
Discussion started by: Ophiuchus
7 Replies
7. Shell Programming and Scripting
Hi,
Is there a way to identify the lines in a file having extended ascii characters and display the same?
For instance I have a file abc.txt having below data
aaa|bbb|111|This is first line
aaa|bbb|222|This is secõnd line
aaa|bbb|333|This is third line
aaa|bbb|444|This is foùrth line... (3 Replies)
Discussion started by: decci_7
3 Replies
8. Shell Programming and Scripting
Hi All,
I am trying to remove (SELECTIVE - passed as argument) Extended ASCII using Awk based on adhoc basis. Can you please let me know how to do it. I have to implement this using awk only.
Thanks & Regads (14 Replies)
Discussion started by: tostay2003
14 Replies
9. UNIX for Beginners Questions & Answers
I have variable that contains multiple values of number and also include overpunch(i.e. # $ % etc) character so we want to replace it with numbers.
here are the example:
Code:
11500#.0#
28575$.5$
527#.7#
42".2"
2794 .4
2279!.9!
1067&.7&
926#.6#
2279!.9!
885".5"
11714$.4$
27361'.1'... (1 Reply)
Discussion started by: nadeemrafikhan
1 Replies
10. UNIX for Beginners Questions & Answers
Hello,
I am on AIX.
When I encounter extended ascii characters and special characters on a file I need to print..
Byte position, actual character and line number.
Is there a simple command that can give me the above result ?
Thanks in advance (38 Replies)
Discussion started by: rosebud123
38 Replies
LEARN ABOUT DEBIAN
cgi::application::plugin::dbiprofile::graph::html
CGI::Application::Plugin::DBIProfile::Graph::HTML(3pm) User Contributed Perl Documentation CGI::Application::Plugin::DBIProfile::Graph::HTML(3pm)
NAME
CGI::Application::Plugin::DBIProfile::Graph::HTML - VERY basic pure html vertical bar graphing for CAP:DBIProfile.
SYNOPSIS
# in httpd.conf
SetVar CAP_DBIPROFILE_GRAPHMODULE CGI::Application::Plugin::DBIProfile::Graph::HTML
PerlSetVar CAP_DBIPROFILE_GRAPHMODULE CGI::Application::Plugin::DBIProfile::Graph::HTML
DESCRIPTION
This module is provided as a basic implementation of graphing for CAP:DBIProfile. It can be used as an example to develop other, more
sophisticated, graphing solutions.
GRAPH PLUGIN DEVELOPMENT
The graphing plugin must have a method called "build_graph", which must accept options as a hash.
It should return a scalar or scalar ref holding the HTML output needed to generate your graph.
The following options will be passed to the "build_graph" method:
self
The cgiapp object.
mode_param
$self->mode_param - the runmode variable used to determine runmode (useful for creating links back to ourselves).
title
A textual title for your graph. You don't have to use this, but is there if you want it.
ylabel
Label for values we're graphing. Either "Count" or "Seconds".
data
An array of the datapoints to graph.
tags
Labels for each datapoint which match the labels that will be used on the sql statement list (1 to however many items there are).
The easiest graphs to implement are fully inline - ie. it doesn't need to make any external calls (no <image> or <embed> tags and such).
CGI::Application::Plugin::DBIProfile::Graph::HTML is an example of this. Other possible candidates are Plotr and Open Flash Chart (using js
interface to populate data).
Another inline solution is to use the <img src="data:uri"> scheme. An example of this can be found in
CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline. Please note, this isn't supported under MSIE.
In order to generate a graph that isn't inline, you'll need to pass the data to be graphed with your call to the external object. For
example, if you want to use GDGraph, you could create a separate cgi script that returns graphs based on params passed to it, and return an
approapriate image tag to from your graphing module. For example:
<img src="/cgi-bin/graph.pl?data=20,14,42&tags=1,2,3">
Another way, would be to add a runmode in a CGI::Application "init" hook, and pass that runmode in a link back to the same script, and
include your graph module in our script with a use statement. An example of this can be found in
CGI::Application::Plugin::DBIProfile::Graph::SVGTT.
REQUIREMENTS
L<HTML::Template>
SEE ALSO
L<CGI::Application::Plugin::DBIProfile>
L<CGI::Application::Plugin::DBIProfile::Graph::GDGraphInline>
L<CGI::Application::Plugin::DBIProfile::Graph::SVGTT>
AUTHOR
Joshua I Miller, L<unrtst@cpan.org>
COPYRIGHT & LICENSE
Copyright 2007 Joshua Miller, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.4 2011-11-10 CGI::Application::Plugin::DBIProfile::Graph::HTML(3pm)