I have a source that is predominantly delimited by whitespace, so the standard FS is fine. But a single line in the source would be more useful if I could break it up by the '/' character. Is there a way to redefine the FS on a pattern by pattern basis?
Failed example...
Last edited by Franklin52; 07-26-2010 at 04:21 PM..
Reason: Please use code tags
I am trying to do some thing like this ..
In a file , if pattern found insert new pattern at the begining of the line containing the pattern.
example:
in a file I have this.
gtrow0unit1/gctunit_crrownorth_stage5_outnet_feedthru_pin
if i find feedthru_pin want to insert !! at the... (7 Replies)
This is my first post, please be nice. I have tried to google and read different tutorials.
The task at hand is:
Input file input.txt (example)
abc123defhij-E-1234jslo
456ujs-W-abXjklp
From this file the task is to grep the -E- and -W- strings that are unique and write a new file... (5 Replies)
Hi,
I am getting crazy after days on looking at it:
Bash in Ubuntu 12.04.1
I want to do this:
pattern="system /path1/file1 file1"
new_pattern=" data /path2/file2 file2"
file to edit: data.db
- I need to search in the file data.db for the nth occurrence of pattern
- pattern must... (14 Replies)
Hi experts , im new to Unix,AWK ,and im just not able to get this right.
I need to match for some patterns if it matches I need to print the next few words to it.. I have only three such conditions to match… But I need to print only those words that comes after satisfying the first condition..... (2 Replies)
'Hi
I'm using the following code to extract the lines(and redirect them to a txt file) after the pattern match. But the output is inclusive of the line with pattern match.
Which option is to be used to exclude the line containing the pattern?
sed -n '/Conn.*User/,$p' > consumers.txt (11 Replies)
Hi ,
I have a file where i have modifed certain things compared to original file . The difference of the original file and modified file is as follows.
# diff mir_lex.c.modified mir_lex.c.orig
3209c3209
< if(yy_current_buffer -> yy_is_our_buffer == 0) {
---
>... (5 Replies)
The intended result should be :
PDF converters
'empty line'
gpdftext and pdftotext?xml version="1.0"?>
xml:space="preserve"><note-content version="0.1" xmlns:/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size">PDF converters
gpdftext and pdftotext</note-content>... (9 Replies)
I have a file like below.
2018.07.01, Sunday
09:27 some text 123456789 0 21 0.06 0.07 0.00
2018.07.02, Monday
09:31 some text 123456789 1 41 0.26 0.32 0.00
09:39 some text 456789012 1 0.07 0.09 0.09
09:45 some text 932469494 1 55 0.29 0.36 0.00
16:49 some text 123456789 0 48 0.12 0.15 0.00... (9 Replies)
Hello.
Here is a file contents :
declare -Ax NEW_FORCE_IGNORE_ARRAY=(="§" ="§" ="§" ="§" ="§" .................. ="§"Here is a pattern
=I want to extract 'NEW_FORCE_IGNORE_ARRAY' which is the whole word before the first occurrence of pattern '='
Is there a better solution than mine :... (3 Replies)
Discussion started by: jcdole
3 Replies
LEARN ABOUT DEBIAN
robot-playernav
robot-playernav(1) General Commands Manual robot-playernav(1)NAME
robot-playernav - GUI client to control over localize and planner devices
SYNOPSIS
robot-playernav [options] <host:port> [<host:port>...]
DESCRIPTION
robot-playernav is a GUI client that provides control over localize and planner devices. It allows you to set your robots' localization
hypotheses by dragging and dropping them in the map. You can set global goals the same way, and see the planned paths and the robots'
progress toward the goals. robot-playernav can also display (a subset of) the localization system's current particle set, which may help in
debugging localization. You can think of playernav as an Operator Control Unit (OCU). robot-playernav can also be used just to view a map.
OPTIONS -fps dumprate
dump screenshots rate in Hz (default: 5Hz).
-zoom zoomlevel
initial level of zoom in the display (default: 1).
-aa {0|1}
use anti-aliased canvas for display (0 == false; 1 == true). The anti-aliased canvas looks nicer but may require more processor
cycles (default: 1).
-map map_idx
the index of the map to be requested and displayed (default: 0).
AUTHOR
Player was written by Brian Gerkey <gerkey@users.sourceforge.net> and contributors. This manual page was written by Daniel Hess for the
Debian Project.
SEE ALSO
The HTML documentation in /usr/share/doc/player/html of the robot-player-doc package.
Player May 2009 robot-playernav(1)