Sponsored Content
Top Forums Shell Programming and Scripting perl string matching problem (two backslash) Post 302323249 by ahsog on Saturday 6th of June 2009 02:38:06 AM
Old 06-06-2009
this is insane!
I've run the same command many times (at least I thought so).
Never mind, it works as expected.
Thanks
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sed problem - replacement string should be same length as matching string.

Hi guys, I hope you can help me with my problem. I have a text file that contains lines like this: 78 ANGELO -809.05 79 ANGELO2 -5,000.06 I need to find all occurences of amounts that are negative and replace them with x's 78 ANGELO xxxxxxx 79... (4 Replies)
Discussion started by: amangeles
4 Replies

2. UNIX for Advanced & Expert Users

How to handle backslash in grep string

Hi , I am doing invert grep using -v but the string contain "/" which break the grep command and it do not skip the lines with "/" on it. Diffu.txt ======== 1159c1159 < <td align="right" valign="middle" class="paddingRight2px" id="featureListItemChannelButton7466"> --- > <td... (6 Replies)
Discussion started by: rajbal
6 Replies

3. Shell Programming and Scripting

string matching in perl

Hi, I have to search for a string in a variable. Say the variable is var1='ERROR: Make java] as enabled' here i want to match which are in red color. other like abc etc could change. Can you tell me the exact command something like the below in perl if ($var1=~ m/ERROR: Make... (3 Replies)
Discussion started by: ammu
3 Replies

4. Shell Programming and Scripting

Pattern matching problem in PERL script

Hi Friends, As my old friends knows, I'm old to shell script but very new to perl script, currently I'm writing a PERL script with the following functionality: I've multiple product directories, like BUSS, FIN, SALES, MKT etc., : /export/home/GLK/BUSS, /export/home/GLK/FIN, ... (11 Replies)
Discussion started by: ganapati
11 Replies

5. Shell Programming and Scripting

awk BEGIN END and string matching problem

Hi, Contents of BBS-list file: foo foo foo awk ' BEGIN { print "Analysis of \"foo\"" } /foo/ { ++n } END { print "\"foo\" appears", n, "times." }' BBS-list Output: Analysis of "foo" "foo" appears 3 times. awk ' (3 Replies)
Discussion started by: cola
3 Replies

6. Shell Programming and Scripting

problem in matching two string variable.

Plz Ignore this. already solved (2 Replies)
Discussion started by: saluja.deepak
2 Replies

7. Shell Programming and Scripting

Perl: Regex, string matching

Hi, I've a logfile which i need to parse and get the logs depending upon the user input. here, i'm providing an option to enter the string which can be matched with the log entries. e.g. one of the logfile entry reads like this - $str = " mpgw(BLUESOAPFramework):... (6 Replies)
Discussion started by: butterfly20
6 Replies

8. Shell Programming and Scripting

PERL : pattern matching a string stored in a variable

I have two variables, my $filename = "abc_yyyy_mm_dd.txt"; my $filename1 = " abc_2011_11_07.txt"; I need to perform some operations after checking if $filename has $filename1 in it i have used the below code, if($filename =~ /^$filename1/) { ---- -- } (2 Replies)
Discussion started by: irudayaraj
2 Replies

9. Shell Programming and Scripting

Perl: backslash in front of integer like \32768

In Perl, what does a backslash preceding an integer do like \32768 ? The $/ section of perlvar writes: local $/ = \32768; # or \"32768", or \$var_containing_32768 How is \32768 different from just 32768 without backslash? I do not understand the backslashes in \"32768" and... (1 Reply)
Discussion started by: LessNux
1 Replies

10. Shell Programming and Scripting

Add backslash and apostrophe to string in variable.

Hi All I want to add backslash and apostrophe to variable in my bash script. I have my variable: USER_LIST=USER1,USER2,USER3 and I want something like this: USER_LIST_DEL=/'USER1/',/'USER2/',/'USER3/' any ideas ?? (1 Reply)
Discussion started by: primo102
1 Replies
PDFTEX(1)						      General Commands Manual							 PDFTEX(1)

NAME
pdftex, pdfinitex, pdfvirtex - PDF output from TeX SYNOPSIS
pdftex [options] [commands] DESCRIPTION
This manual page is not meant to be exhaustive. The complete documentation for this version of TeX can be found in the info file or manual Web2C: A TeX implementation. pdfTeX is a version of TeX that can create PDF files as well as DVI files. The typical use of pdfTeX is with a pregenerated formats for which PDF output has been enabled. The pdftex command uses the equivalent of the plain TeX format, and the pdflatex command uses the equivalent of the LaTeX format. The pdfinitex and pdfvirtex commands are pdfTeX's analogues to the initex and virtex commands. In this installation, they are symlinks to the pdftex executable. pdfTeX's handling of its command-line arguments is similar to that of TeX. pdfTeX is beta software. OPTIONS
This version of pdfTeX understands the following command line options. --fmt format Use format as the name of the format to be used, instead of the name by which pdfTeX was called or a %& line. --help Print help message and exit. --ini Be pdfinitex, for dumping formats; this is implicitly true if the program is called as pdfinitex. --interaction mode Sets the interaction mode. The mode can be one of batchmode, nonstopmode, scrollmode, and errorstopmode. The meaning of these modes is the same as that of the corresponding commands. --ipc Send DVI or PDF output to a socket as well as the usual output file. Whether this option is available is the choice of the install- er. --ipc-start As --ipc, and starts the server at the other end as well. Whether this option is available is the choice of the installer. --kpathsea-debug bitmask Sets path searching debugging flags according to the bitmask. See the Kpathsea manual for details. --maketex fmt Enable mktexfmt, where fmt must be one of tex or tfm. --no-maketex fmt Disable mktexfmt, where fmt must be one of tex or tfm. --output-comment string Use string for the DVI file comment instead of the date. --progname name Pretend to be program name. This affects both the format used and the search paths. --shell-escape Enable the write18{command} construct. The command can be any Bourne shell command. This construct is normally disallowed for security reasons. --translate-file tcxname Use the tcxname translation table. --version Print version information and exit. ENVIRONMENT
See the Kpathsearch library documentation (the `Path specifications' node) for precise details of how the environment variables are used. The kpsewhich utility can be used to query the values of the variables. One caveat: In most pdfTeX formats, you cannot use ~ in a filename you give directly to pdfTeX, because ~ is an active character, and hence is expanded, not taken as part of the filename. Other programs, such as Metafont, do not have this problem. TEXMFOUTPUT Normally, pdfTeX puts its output files in the current directory. If any output file cannot be opened there, it tries to open it in the directory specified in the environment variable TEXMFOUTPUT. There is no default value for that variable. For example, if you say tex paper and the current directory is not writable, if TEXMFOUTPUT has the value /tmp, pdfTeX attempts to create /tmp/paper.log (and /tmp/paper.pdf, if any output is produced.) TEXINPUTS Search path for input and openin files. This should probably start with ``.'', so that user files are found before system files. An empty path component will be replaced with the paths defined in the texmf.cnf file. For example, set TEXINPUTS to ".:/home/usr/tex:" to prepend the current direcory and ``/home/user/tex'' to the standard search path. TEXFONTS Search path for font metric (.tfm) files. TEXFORMATS Search path for format files. TEXPOOL search path for pdfinitex internal strings. TEXEDIT Command template for switching to editor. The default, usually vi, is set when pdfTeX is compiled. FILES
The location of the files mentioned below varies from system to system. Use the kpsewhich utility to find their locations. pdftex.pool Encoded text of pdfTeX's messages. texfonts.map Filename mapping definitions. *.tfm Metric files for pdfTeX's fonts. *.fmt Predigested pdfTeX format (.fmt) files. BUGS
This version of pdfTeX fails to trap arithmetic overflow when dimensions are added or subtracted. Cases where this occurs are rare, but when it does the generated DVI file will be invalid. Whether a generated PDF file would be usable is unknown. pdfTeX is beta software. Subscribe to the pdftex mailing list pdftex@tug.org if you intend to use it. This is a majordomo list, to sub- scribe send a message containing subscribe pdftex to majordomo@tug.org. SEE ALSO
tex(1), mf(1), undump(1). AUTHORS
The primary authors of pdfTeX are Han The Thanh, Petr Sojka, and Jiri Zlatuska. Web2C 7.3.1 29 March 1999 PDFTEX(1)
All times are GMT -4. The time now is 10:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy