Sponsored Content
Operating Systems AIX Search a string having spaces Post 302823411 by in2nix4life on Wednesday 19th of June 2013 09:15:54 AM
Old 06-19-2013
Ran on AIX 5.3:

Code:
find /tmp -name '*:83D:*summer*hot*' -type f -print

/tmp/file-:83D: summer hot.txt

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl: Search for string on line then search and replace text

Hi All, I have a file that I need to be able to find a pattern match on a line, search that line for a text pattern, and replace that text. An example of 4 lines in my file is: 1. MatchText_randomNumberOfText moreData ReplaceMe moreData 2. MatchText_randomNumberOfText moreData moreData... (4 Replies)
Discussion started by: Crypto
4 Replies

2. UNIX for Dummies Questions & Answers

Read a string with leading spaces and find the length of the string

HI In my script, i am reading the input from the user and want to find the length of the string. The input may contain leading spaces. Right now, when leading spaces are there, they are not counted. Kindly help me My script is like below. I am using the ksh. #!/usr/bin/ksh echo... (2 Replies)
Discussion started by: dayamatrix
2 Replies

3. Shell Programming and Scripting

Search string with invariable spaces

I need to grep for pattern "enable_cal = true".The problem is that different file has different no of spaces in that string. for eg one file will have "enable_cal <space><space><space>=true" next file will have "enable_cal= <space><space>true" other one will have... (5 Replies)
Discussion started by: villain41
5 Replies

4. Shell Programming and Scripting

sed: replace string with another string (with spaces)

Hi I have an XML file with strings XABCD, XEFGHX and XIJKLX. I would like to replace XABCDX with "This is the first string", XEFGHX with "This is the second string" and XIJKLX with "This is the third string". What is the best way to implement this? Should I have a file with the data that is... (4 Replies)
Discussion started by: zmfcat1
4 Replies

5. Shell Programming and Scripting

Using sed to replace a string in file with a string in a variable that contains spaces

Hi, i call my shell like: my_shell "my project name" my script: #!/bin/bash -vx projectname=$1 sed s/'PROJECT_NAME ='/'PROJECT_NAME = '$projectname/ <test_config_doxy >temp cp temp test_config_doxy the following error occurres: sed s/'PROJECT_NAME ... (2 Replies)
Discussion started by: vivelafete
2 Replies

6. Shell Programming and Scripting

search pattern that has spaces with nawk

Hi guys, I need a help ! I need do grab some string from file and then count n lines after that pattern. This is working fine, but my problem is that the string to be searched has spaces within, like an example : LINK COUNTERS what I am using is: nawk... (2 Replies)
Discussion started by: robdcb
2 Replies

7. Shell Programming and Scripting

Search several string and convert into a single line for each search string using awk command AIX?.

I need to search the file using strings "Request Type" , " Request Method" , "Response Type" and by using result set find the xml tags and convert into a single line?. below are the scenarios. Cat test Nov 10, 2012 5:17:53 AM INFO: Request Type Line 1.... (5 Replies)
Discussion started by: laknar
5 Replies

8. Shell Programming and Scripting

Search string within a file and list common words from the line having the search string

Hi, Need your help for this scripting issue I have. I am not really good at this, so seeking your help. I have a file looking similar to this: Hello, i am human and name=ABCD. How are you? Hello, i am human and name=PQRS. I am good. Hello, i am human and name=ABCD. Good bye. Hello, i... (12 Replies)
Discussion started by: royzlife
12 Replies

9. Shell Programming and Scripting

Search for an undetermined number of spaces

I would like to find an undetermined number of spaces and shorten them to one space. I am running Debian in mksh. Script running in #!/bin/sh. Sorry to not include all code. The program is too big and involves an online file... too much hassle to solve a simple issue. Ex., I start with... (11 Replies)
Discussion started by: bedtime
11 Replies

10. UNIX for Beginners Questions & Answers

How to use a grep search to search for a specific string within multiple directories?

Lets say I have a massive directory which is filled with other directories all filled with different c++ scripts and I want a listing of all the scripts that contain the string: "this string". Is there a way to use a grep search for that? I tried: grep -lr "this string" * but I do not... (3 Replies)
Discussion started by: Circuits
3 Replies
Gtk2::SourceView2::View(3pm)				User Contributed Perl Documentation			      Gtk2::SourceView2::View(3pm)

NAME
Gtk2::SourceView2::View HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::TextView +----Gtk2::SourceView2::View INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable METHODS
widget = Gtk2::SourceView2::View->new widget = Gtk2::SourceView2::View->new_with_buffer ($buffer) o $buffer (Gtk2::SourceView2::Buffer) boolean = $view->get_auto_indent $view->set_auto_indent ($enable) o $enable (boolean) drawspacesflags = $view->get_draw_spaces $view->set_draw_spaces ($flags) o $flags (Gtk2::SourceView2::DrawSpacesFlags) boolean = $view->get_highlight_current_line $view->set_highlight_current_line ($show) o $show (boolean) boolean = $view->get_indent_on_tab $view->set_indent_on_tab ($enable) o $enable (boolean) integer = $view->get_indent_width $view->set_indent_width ($width) o $width (integer) boolean = $view->get_insert_spaces_instead_of_tabs $view->set_insert_spaces_instead_of_tabs ($enable) o $enable (boolean) color = $view->get_mark_category_background ($category) o $category (string) $view->set_mark_category_background ($category, $color) o $category (string) o $color (Gtk2::Gdk::Color or undef) pixbuf or undef = $view->get_mark_category_pixbuf ($category) o $category (string) $view->set_mark_category_pixbuf ($category, $pixbuf) o $category (string) o $pixbuf (Gtk2::Gdk::Pixbuf or undef) integer = $view->get_mark_category_priority ($category) o $category (string) $view->set_mark_category_priority ($category, $priority) o $category (string) o $priority (integer) integer = $view->get_right_margin_position $view->set_right_margin_position ($pos) o $pos (integer) boolean = $view->get_show_line_marks $view->set_show_line_marks ($show) o $show (boolean) boolean = $view->get_show_line_numbers $view->set_show_line_numbers ($show) o $show (boolean) boolean = $view->get_show_right_margin $view->set_show_right_margin ($show) o $show (boolean) smarthomeendtype = $view->get_smart_home_end $view->set_smart_home_end ($smart_he) o $smart_he (Gtk2::SourceView2::SmartHomeEndType) integer = $view->get_tab_width $view->set_tab_width ($width) o $width (integer) PROPERTIES
'auto-indent' (boolean : default false : readable / writable) Whether to enable auto indentation 'completion' (Glib::Object::_Unregistered::GtkSourceCompletion : default undef : readable) The completion object associated with the view 'draw-spaces' (Gtk2::SourceView2::DrawSpacesFlags : default : readable / writable) Set if and how the spaces should be visualized 'highlight-current-line' (boolean : default false : readable / writable) Whether to highlight the current line 'indent-on-tab' (boolean : default true : readable / writable) Whether to indent the selected text when the tab key is pressed 'indent-width' (integer : default -1 : readable / writable) Number of spaces to use for each step of indent 'insert-spaces-instead-of-tabs' (boolean : default false : readable / writable) Whether to insert spaces instead of tabs 'right-margin-position' (Glib::UInt : default 80 : readable / writable) Position of the right margin 'show-line-marks' (boolean : default false : readable / writable) Whether to display line mark pixbufs 'show-line-numbers' (boolean : default false : readable / writable) Whether to display line numbers 'show-right-margin' (boolean : default false : readable / writable) Whether to display the right margin 'smart-home-end' (Gtk2::SourceView2::SmartHomeEndType : default "disabled" : readable / writable) HOME and END keys move to first/last non whitespace characters on line before going to the start/end of the line 'tab-width' (Glib::UInt : default 8 : readable / writable) Width of a tab character expressed in spaces SIGNALS
undo (Gtk2::SourceView2::View) redo (Gtk2::SourceView2::View) show-completion (Gtk2::SourceView2::View) line-mark-activated (Gtk2::SourceView2::View, Gtk2::TextIter, Gtk2::Gdk::Event) move-lines (Gtk2::SourceView2::View, boolean, integer) ENUMS AND FLAGS
flags Gtk2::SourceView2::DrawSpacesFlags o 'space' / 'GTK_SOURCE_DRAW_SPACES_SPACE' o 'tab' / 'GTK_SOURCE_DRAW_SPACES_TAB' o 'newline' / 'GTK_SOURCE_DRAW_SPACES_NEWLINE' o 'nbsp' / 'GTK_SOURCE_DRAW_SPACES_NBSP' o 'leading' / 'GTK_SOURCE_DRAW_SPACES_LEADING' o 'text' / 'GTK_SOURCE_DRAW_SPACES_TEXT' o 'trailing' / 'GTK_SOURCE_DRAW_SPACES_TRAILING' o 'all' / 'GTK_SOURCE_DRAW_SPACES_ALL' enum Gtk2::SourceView2::SmartHomeEndType o 'disabled' / 'GTK_SOURCE_SMART_HOME_END_DISABLED' o 'before' / 'GTK_SOURCE_SMART_HOME_END_BEFORE' o 'after' / 'GTK_SOURCE_SMART_HOME_END_AFTER' o 'always' / 'GTK_SOURCE_SMART_HOME_END_ALWAYS' SEE ALSO
Gtk2::SourceView2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::TextView COPYRIGHT
Copyright (C) 2009 by Emmanuel Rodriguez perl v5.14.2 2011-11-16 Gtk2::SourceView2::View(3pm)
All times are GMT -4. The time now is 04:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy