Sponsored Content
Top Forums Shell Programming and Scripting hash, percent, carret, exclamation, etc special characters use Post 302601558 by ezee on Friday 24th of February 2012 02:07:11 AM
Old 02-24-2012
hash, percent, carret, exclamation, etc special characters use

Hi,

I want to know the meaning of this expression -> ${FicPDF#*.} and ${FicPDF##*.}

Can you please refer me to a guide which has explained all this special use of special charaters

Thanks in advance
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

special characters

I have one file which is named ^? ( the DEL character ) I'd like to know how to rename or copy the file by using its i-node number TYIA (2 Replies)
Discussion started by: nawnaw
2 Replies

2. UNIX for Dummies Questions & Answers

how to see special characters in a file using vi

Hi, I have a file which has special characters. I can't see them when I "vi" the file. But I am sure there are some special un seen characters. How can I see them? Please help. Thx (6 Replies)
Discussion started by: jingi1234
6 Replies

3. UNIX for Dummies Questions & Answers

Array with special Characters

Hi, I would write a shell script to execute a series of command. However, if the cmd contains "-" in the array. It fails to do so. I'd tried use ', " or \ but get the same result. Output: (1 Reply)
Discussion started by: donaldfung
1 Replies

4. Shell Programming and Scripting

Special characters

When I open a file in vi, I see the following characters: \302\240 Can someone explain what these characters mean. Is it ASCII format? I need to trim those characters from a file. I am doing the following: tr -d '\302\240' ---------- Post updated at 08:35 PM ---------- Previous... (1 Reply)
Discussion started by: sid1982
1 Replies

5. UNIX for Dummies Questions & Answers

How to see special characters?

Hi all, I was wondering how can i see the special characters like \t, \n or anything else in a file by using Nano or any other linux command like less, more etc (6 Replies)
Discussion started by: gvj
6 Replies

6. Shell Programming and Scripting

special characters

Hey guys, I'm trying to replace "]Facebook" from the text but sed 's/]Facebook/Johan/g' is not working could you please help me with that? (6 Replies)
Discussion started by: Johanni
6 Replies

7. Shell Programming and Scripting

Replace special characters with Escape characters?

i need to replace the any special characters with escape characters like below. test!=123-> test\!\=123 !@#$%^&*()-= to be replaced by \!\@\#\$\%\^\&\*\(\)\-\= (8 Replies)
Discussion started by: laknar
8 Replies

8. UNIX for Advanced & Expert Users

special characters in IF TEST

I'm using Korn shell. I'm doing an IF TEST for lots of characters and don't know how to also check for single quote and parentheses and slash. I'm reading a file and some records have garbage characters in them. The following works, but how do I add single quote, parentheses and slash to the IF... (3 Replies)
Discussion started by: sboxtops
3 Replies

9. Shell Programming and Scripting

How to replace special characters?

Hi Unix Guru, I have an requirement for replace some specail characters in a file, my file came from mainframe. please see below example: when open it with vi 17896660|89059215|04/24/1998 00:00:00.000000| abc 123-453-1312^M<85>^M<85>|124557 if I run cat -v I got following:... (25 Replies)
Discussion started by: ken002
25 Replies

10. Shell Programming and Scripting

Delete special characters

My sed is not working on deleting the entire special characters and leaving what is necessary.grep connections_per a|sed -e 's/\<\!\-\-//g' INPUT: <!-- <connections_per_instance>1</connections_per_instance> --> <method>HALF</method> <!--... (10 Replies)
Discussion started by: kenshinhimura
10 Replies
sparkmake(1)															      sparkmake(1)

NAME
sparkmake - generates SPARK index and metafiles SYNOPSIS
spark [OPTIONS] [ROOT_FILE] DESCRIPTION
The SPARKMake tool automatically generates two files that can be used as arguments to the Examiner command line: The index file and the meta file. For more information please refer to the full Examiner manual. This manual page only summarises the sparkmake command-line flags, please refer to the full SPARKMake manual for further information. OPTIONS
These options do not quite follow the usual GNU command line syntax. All options start with a single dash instead of the usual two and they can also be abbreviated, as long as the abbreviation is unique. For example -expand can be abbreviated to -expa but not -exp as this clash- es with -export_indent. For a description of the regular expression syntax, please refer to the appropriate section below. If ROOT_FILE is not given then we produce an index and metafile for all files in and under the current directory. -help Display command-line help. -version Display version information. -directory=DIRNAME Look in and under DIRNAME as well as the current working directory. This option can be specified more than once; buy default we only look at the current working directory. -include=REGEXP Only include files if their full path matches the given regular expression. -exclude=REGEXP Exclude files if their full patch matches the given regular expression. -duplicates_are_errors Fail if duplicate units are found. -annotation_character=CHAR Select alternative annotation character. The default is '#'. -language=L This can be one of 83, 95 (the default) or 2005. -index=FILE_SPEC, -noindexfile The index file to generate, by default this is ROOT_FILE.idx. -meta=FILE_SPEC, -nometafile The metafile to generate, by default this is ROOT_FILE.smf. -path_option=MODE Produce 'relative' or 'full' pathnames. By default we produce full pathnames. SPARKMAKE REGULAR EXPRESSION SYNTAX
Please note that the regular expression syntax used by SPARKMake differs from both POSIX and Perl regular expressions. Please also take care to appropriately escape anythign that your shell might replace or expand (such as * or ?). The characters '{' and '}' are not allowed to appear in any regular expression. reg_exp = term term = elmt | elmt elmt ... | * | ? | [char char ...] | [char - char] elmt = nchr | [nchr nchr ...] | [^ nchr nchr ...] | [nchr - nchr] | . | ( reg_exp ) The * has special meaning; it matches any string of 0 or more characters. Note that this differs from POSIX regex where the equivalent would be '.*'. The special characters ? and . have the same meaning, they match any character. Thus, ? does not hold the same meaning it does in a POSIX regular expression. The [ab...] notation means the usual: match any character listed. The [a-f] notation means the usual: match any character in the given range. The [^a-f] notation means the usual: match any character not in the given range. char can be any character, including special characters. nchr can be any character except '', '(', ')', '[', ']', '.', '*', '+', '?' or '^'. It is possible to specify such a special character by escaping it with a backslash. SEE ALSO
spark(1), sparksimp(1), spadesimp(1), zombiescope(1), victor(1), pogs(1) sparkformat(1) AUTHOR
This manual page was written by Florian Schanda <florian.schanda@altran-praxis.com> for the Debian GNU/Linux system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Ver- sion 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. 22 March 2011 sparkmake(1)
All times are GMT -4. The time now is 02:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy