Sponsored Content
Full Discussion: Bash encoding, how to change
Top Forums UNIX for Dummies Questions & Answers Bash encoding, how to change Post 302356626 by jim mcnamara on Saturday 26th of September 2009 12:42:03 PM
Old 09-26-2009
Even better show the output of
Code:
locale

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to change shell from BASH to C

hi all, how can i change my shell from BASH to C shell? i am using cygwin. (3 Replies)
Discussion started by: npatwardhan
3 Replies

2. Shell Programming and Scripting

change the font size in bash

Hi, I would like to change the font size in bash. I know how do it in ksh: F_VDOBLE="\033#6" print "${F_VDOBLE}Esto es..." But in bash I don't know Could you help me please? Many thanks! (5 Replies)
Discussion started by: mierdatuti
5 Replies

3. Shell Programming and Scripting

How can i change my bash prompt ?

It looks like, user@hostname:/auto/home3/user$ Desired, user@hostname$ I added following line in .bashrc, but still its same. export PS1=" $ " Please help me :confused: (13 Replies)
Discussion started by: admax
13 Replies

4. Shell Programming and Scripting

How to find the file encoding and updating the file encoding?

Hi, I am beginner to Unix. My requirement is to validate the encoding used in the incoming file(csv,txt).If it is encoded with UTF-8 format,then the file should remain as such otherwise i need to chnage the encoding to UTF-8. Please advice me how to proceed on this. (7 Replies)
Discussion started by: cnraja
7 Replies

5. Shell Programming and Scripting

change precision of bash variable

I have a variable in a bash script, DISTANCE=`awk 'BEGIN {FS="\t"} {if (NR==2) print $3;}' $OUTFILE` this is a real number taken from a file. The value are like, 0.334561754018 I am using this value in a file name, '$NAME'_'$DISTANCE'.txt I would like to shorten the number some to... (4 Replies)
Discussion started by: LMHmedchem
4 Replies

6. Shell Programming and Scripting

using awk or bash to change the format

tenxun-glibc_code-x86-64-linux-20120713190049.root.tar.bz2 To tenxun-glibc_code-x86-64-linux.root.tar.bz2 (3 Replies)
Discussion started by: yanglei_fage
3 Replies

7. Shell Programming and Scripting

bash commands to change processor

Say you got a for loop where each execution has 0 dependence on the other. Thus ideally you'd like to executed them all concurrently rather than iteratively (if you had enough CPUs). We don't quite have that many CPUs but I would like to instead partition the iterations between them. Or maybe... (10 Replies)
Discussion started by: stevensw
10 Replies

8. Shell Programming and Scripting

Bash code change

I have the below bash which runs great. Before I make a change I wanted to check with experts (as I am not one). After the perl code completes, I am going to display "annotation complete" then go into the remove function . annovar() { # combine id and position files cd... (2 Replies)
Discussion started by: cmccabe
2 Replies

9. Solaris

View file encoding then change encoding.

Hi all!! I´m using command file -i myfile.xml to validate XML file encoding, but it is just saying regular file . I´m expecting / looking an output as UTF8 or ANSI / ASCII Is there command to display the files encoding? Thank you! (2 Replies)
Discussion started by: mrreds
2 Replies

10. UNIX for Beginners Questions & Answers

Change encoding, no removing special chars. inconv

Hi all, I'm using iconv command to change files encoding to UTF-8 If my input file has chars as those are removed creating the file without those special chars. I tried using iconv -c, but there is still the removal. Is there a way to keep those special chars changing just the... (6 Replies)
Discussion started by: mrreds
6 Replies
CUPS-GENPPD(8)                                                Gutenprint Manual Pages                                               CUPS-GENPPD(8)

NAME
cups-genppd - generate Gutenprint PPD files for use with CUPS SYNOPSIS
cups-genppd [-c localedir] [-l locale] [-p prefix] [-q] [-v] model1 [model2, ...modeln] cups-genppd -L [-c localedir] cups-genppd -M [-v] cups-genppd -h cups-genppd -V DESCRIPTION
cups-genppd generates Gutenprint PPD files for use with CUPS. The default behavior is to output PPD files for all models of printer that the Gutenprint printer driver library supports. You may restrict the models by listing either the driver names or the full names of the printers you wish to generate PPD files for after any options. Additionally, the PPD files may be localised, that is, translated, to use your native language rather than US English. There are commands to find out what printer models and languages are supported. EXAMPLES
cups-genppd -v bjc-6200 'Epson Stylus Photo 1280' 'HP DeskJet 850C' verbosely generate three PPD files, listing the driver name in the first case, and the full name in the second. LANG=de_DE genppd -p ppd -c /usr/share/locale generate PPDs for all available models, in directory ppd using the locale data found under /usr/share/locale. The language to use is taken from the environment (de_DE). cups-genppd -L -c /usr/local/share/locale list available languages using the locale data found under /usr/local/share/locale. cups-genppd -M -v list available drivers, with long model descriptions COMMANDS
-h show a help message -L list available translations (message catalogs). If a locale is used for which there is not a corresponding translation, then then US English will be used. -M list available printer models. By default, only driver names are listed; if verbose mode is used, the full model name will also be printed -V show version information and defaults The default behavior is to output PPDs if no command is given. OPTIONS
-c localedir use localedir as the base directory for locale data -l locale output PPDs translated with messages for locale. Note that locale must be a locale as shown by locale -a. For example, the de translation is used by the de_DE locale; de alone will not work. -p prefix output PPDs in directory prefix. Directories are not recursively created. -q Quiet mode. -v Verbose mode. models a list of printer models, either the driver or quoted full name. SEE ALSO
CUPS Software Administrators Manual, http://localhost:631/documentation.html COPYRIGHT
Copyright (C) 1992-2002 Michael Sweet (mike@easysw.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. This manual page was written by Roger Leigh (rleigh@debian.org). Version 5.2.4 26 Jul 2009 CUPS-GENPPD(8)
All times are GMT -4. The time now is 03:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy