Visit Our UNIX and Linux User Community

Top Forums UNIX for Dummies Questions & Answers Doubt with regexp-meta character Post 302452680 by dragon.1431 on Sunday 12th of September 2010 04:12:20 PM
Old 09-12-2010
oh! i got it now.

Last edited by dragon.1431; 09-12-2010 at 05:17 PM.. Reason: doubt is cleared.
Test Your Knowledge in Computers #982
Difficulty: Medium
NetBSD is a free and open-source Unix-like operating system based on the Berkeley Software Distribution (BSD).
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

tcl: regexp matching special character

Hello Experts, Can someone help me here: I have a variable which contains a string with "". set var1 {a} set str1 {a is the element i want to match} Now "regexp $var1 $str1" does not work? ("regexp {a\} $str1" works, but var1 gets it's value automatically from another script) Is... (6 Replies)
Discussion started by: sumitgarg
6 Replies

2. Shell Programming and Scripting

Perl RegExp to remove last character from strings

I use SAS (a statistical software) and have to remove last character or the last 1/2 numbers that appear after characters from the string using Perl Regular Expression (which is recognized by SAS). Input: f183ii10 f183ii2 f182ii1 f182ii2 f183iim f22ii f22ii11 f22ii12 pmh4 pmhm Desired... (2 Replies)
Discussion started by: ospreyeagle
2 Replies

3. Shell Programming and Scripting

What is the meta character for the Ctrl button?

In this script I have, it says press Ctrl+W+? for help, but it doesn't do anything. I looked in the script and it binds: bind ^W meta2_character. How do I make it the Ctrl button so I can do Ctrl+W? (There are some other commands that use Ctrl+W+another character/letter/number.) (4 Replies)
Discussion started by: guitarscn
4 Replies

4. UNIX for Dummies Questions & Answers

print the line immediately after a regexp; but regexp is a sentence

Good Day, Im new to scripting especially awk and sed. I just would like to ask help from you guys about a sed command that prints the line immediately after a regexp, but not the line containing the regexp. sed -n '/regexp/{n;p;}' filename What if my regexp is 3 word or a sentence. Im... (3 Replies)
Discussion started by: ownins
3 Replies

5. Shell Programming and Scripting

rename - change n'th character of regexp

Hi, I wonder if its possible to do the following task using rename (perl v5.8.8). I want to find filenames matching the specific pattern and then change chosen character of this pattern to a given character, e.g. do the following renaming: regexp: 'ab' -----> 'a0b' What's the simplest... (0 Replies)
Discussion started by: pms
0 Replies

6. UNIX for Dummies Questions & Answers

Perl Meta character understanding

Hello All, I have some expression: if (/^(\d\d\d\d\d\.\d\d\d\d\d\d)\s+(.+)$/) { warn "$argv0(" . __LINE__ . "): rbl2ts{$2} == '$rbl2ts{$2}' \$1==$1\n" if ($debug); $rbl2ts{$2} = $1 if (!defined($rbl2ts{$2}) or ($1 le $rbl2ts{$2})); warn "$argv0(" . __LINE__ . "):... (3 Replies)
Discussion started by: suvenduperl
3 Replies

7. UNIX for Dummies Questions & Answers

List files using { } meta character

p { margin-bottom: 0.08in; } How to match all files that end with the release number using the { } meta character in /boot. (2 Replies)
Discussion started by: farash
2 Replies

8. Shell Programming and Scripting

Regexp for string that might contain a given character

I'm probably just not thinking of the correct term to search for :-) But I want to match a pattern that might be 'ABC' or '1ABC' there might be three characters, or there might be four, but if there are four, the first has to be 1 (1 Reply)
Discussion started by: jnojr
1 Replies

9. Shell Programming and Scripting

Filter non-alpha character with grep/regexp

Hi all, I am trying to filter out those lines that contain a "non-alpha" character. An example of my input is the following: zygnematales grb zygocactus grb zygocactus_truncatus plt zygodactyl_foot prt zygoma prt zygomatic prt zygomatic_arch prt zygomatic_bone ... (2 Replies)
Discussion started by: owwow14
2 Replies

10. UNIX for Beginners Questions & Answers

awk or sed to print the character from the previous line after the regexp match

Hi All, I need to print the characters in the previous line just before the regular expression match Please have a look at the input file as attached I need to match the regular expression ^ with the character of the previous like and also the pin numbers and the output file should be like... (6 Replies)
Discussion started by: kshitij
6 Replies
ROBOCUT(1)							   User Commands							ROBOCUT(1)

Robocut - is used with cutting plotters. DESCRIPTION
The `Robocut' program plots or cuts SVG files on a Craft Robo or Silhouette SD or most likely any other customer grade Graphtec cutting plotter. Usage: robocut [OPTIONS...] [File] Help Options: --help Show summary of options. --version Show version information and copyright details. --show Show all the parameters entered and the defaults. Application Options: -s, --no-sort Stop sort the objects from the SVG before plotting. -t, --bb-sort Sort the objects by bounding box, good for letters. This will cut out the inside first and than the outside. --cut Shows the cutting dialogue after start. --media INT Select the media. See drop down box. -g, --speed INT The speed between 1 and 33. -p, --pressure INT The pressure between 1 and 10. --track-enhancing Move three times back and forward to create a track. --margin-top DOUBLE Define the margin on top in mm. --margin-right DOUBLE Define the margin right in mm. Registration Mark Options: -r, --reg-mark-auto Use registration marks and find the marks automatically. --reg-mark Use registration marks but set the knife manually on top the round mark. -a, --reg-dimension-width DOUBLE Specify the length in mm between the the two horizontal marks. -b, --reg-dimension-height DOUBLE Specify the length in mm between the the two vertical marks. -c, --reg-origin-width DOUBLE Specify the length in mm between the the edge of the paper and the first horizontal mark. -d, --reg-origin-height DOUBLE Specify the length in mm between the the edge of the paper and the first vertical mark. Device Options: --usb-vendor-id INT Try this program with other usb hardware on your own risk. You need to convert hex to dec. --usb-product-id INT May also work with other hardware, try usb-devices program to scan your computer. ENVIRONMENT
QT SVG only supports the SVG 1.2 Tiny standard and this has a limited SVG support. For example multiline text is something that is no sup- ported by Robocut, however you can export your text to a path or just create each line separate. AUTHOR
Written by Tim Hutt and Markus Schulz <> REPORTING BUGS
Report bugs to COPYRIGHT
Copyright (C) 2010 This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. Robocut V1.0.8 August 2011 ROBOCUT(1)

Featured Tech Videos

All times are GMT -4. The time now is 03:36 PM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy