Sponsored Content
Full Discussion: Command line overwrite
Operating Systems SCO Command line overwrite Post 303031178 by steveo314 on Friday 22nd of February 2019 12:18:24 PM
Old 02-22-2019
I had myself screwed up. Its not the backspace that puts in special characters.
Its when you arrow left.
Code:
# cat /esc/hosts

Like if I arrow over to replace the s with a t
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Overwrite

if i want to pipe output to a file, say, cat abc.dat > abc.txt, how do i make it replace the existing file? (9 Replies)
Discussion started by: Duckman
9 Replies

2. UNIX for Dummies Questions & Answers

overwrite problem

Hi im using the following to copy a file to a directory, the user being prompted to overwrite if the file already exists in that directory, cp -i myfile /home/brief/bin2 but this reveals the path of the directory when being prompted to overwrite (below) cp: overwrite... (2 Replies)
Discussion started by: ali999
2 Replies

3. Shell Programming and Scripting

sed command to overwrite

Hi, i have a file ver.sql with the following contents , Here i need to put a in the next line of END statment . So iam doing the following D:\>type ver.sql begin ctxsys.driimp.set_value('STOP_WORD','yours'); ctxsys.driimp.set_object('STORAGE','BASIC_STORAGE',2);... (1 Reply)
Discussion started by: mhdmehraj
1 Replies

4. UNIX for Dummies Questions & Answers

overwrite problem

my script is: awk '...mycode...' file1.txt > file2.txt and i want to overwrite file2.txt eachtime I run this script. but it says:File exists! :( I have tried awk '...mycode...' file1.txt >| file2.txt but it again says:Missing name for redirect! :confused::confused: what is this? (2 Replies)
Discussion started by: gc_sw
2 Replies

5. Shell Programming and Scripting

Better to Delete or Overwrite

Hello All, I had just a question about my Bash Script I'm currently writing. The script I have writes some text to a output file. After I write to the output file I send the file to another server to do some stuff with it. After the file sends in the script, I don't need the output/txt... (4 Replies)
Discussion started by: mrm5102
4 Replies

6. Shell Programming and Scripting

sed command to replace a line at a specific line number with some other line

my requirement is, consider a file output cat output blah sdjfhjkd jsdfhjksdh sdfs 23423 sdfsdf sdf"sdfsdf"sdfsdf"""""dsf hellow there this doesnt look good et cetc etc etcetera i want to replace a line of line number 4 ("this doesnt look good") with some other line ... (3 Replies)
Discussion started by: vivek d r
3 Replies

7. Shell Programming and Scripting

sed command to replace a line in a file using line number from the output of a pipe.

Sed command to replace a line in a file using line number from the output of a pipe. Is it possible to replace a whole line piped from someother command into a file at paritcular line... here is some basic execution flow.. the line number is 412 lineNo=412 Now i have a line... (1 Reply)
Discussion started by: vivek d r
1 Replies

8. Shell Programming and Scripting

Overwrite bash system command

Hello, The problem I met is the conflict between the default command /usr/bin/sometools, which is an very old version at system setup, and an updated one I have installed in $HOME/download-software/sometools How do I tell a third program to use the customized sometools instead of the default... (6 Replies)
Discussion started by: yifangt
6 Replies

9. Shell Programming and Scripting

Overwrite specific column in xml file with the specific column from adjacent line

I have an xml file dumped from rrd file, that I want to "patch" so the xml file doesn't contain any blank hole in the resulting graph of the rrd file. Here is the file. <!-- 2015-10-12 14:00:00 WIB / 1444633200 --> <row><v> 4.0419731265e+07 </v><v> 4.5045912770e+06... (2 Replies)
Discussion started by: rk4k
2 Replies
Gtk2::Gdk::Cursor(3)					User Contributed Perl Documentation				      Gtk2::Gdk::Cursor(3)

NAME
Gtk2::Gdk::Cursor HIERARCHY
Glib::Boxed +----Gtk2::Gdk::Cursor METHODS
cursor = Gtk2::Gdk::Cursor->new ($cursor_type) o $cursor_type (Gtk2::Gdk::CursorType) cursor = Gtk2::Gdk::Cursor->new_for_display ($display, $cursor_type) o $display (Gtk2::Gdk::Display) o $cursor_type (Gtk2::Gdk::CursorType) Since: gtk+ 2.2 cursor = Gtk2::Gdk::Cursor->new_from_name ($display, $name) o $display (Gtk2::Gdk::Display) o $name (string) Since: gtk+ 2.8 cursor = Gtk2::Gdk::Cursor->new_from_pixbuf ($display, $pixbuf, $x, $y) o $display (Gtk2::Gdk::Display) o $pixbuf (Gtk2::Gdk::Pixbuf) o $x (integer) o $y (integer) Since: gtk+ 2.4 cursor = Gtk2::Gdk::Cursor->new_from_pixmap ($source, $mask, $fg, $bg, $x, $y) o $source (Gtk2::Gdk::Pixmap) o $mask (Gtk2::Gdk::Pixmap) o $fg (Gtk2::Gdk::Color) o $bg (Gtk2::Gdk::Color) o $x (integer) o $y (integer) display = $cursor->get_display Since: gtk+ 2.2 pixbuf = $cursor->get_image Since: gtk+ 2.8 cursortype = $cursor->type ENUMS AND FLAGS
enum Gtk2::Gdk::CursorType o 'x-cursor' / 'GDK_X_CURSOR' o 'arrow' / 'GDK_ARROW' o 'based-arrow-down' / 'GDK_BASED_ARROW_DOWN' o 'based-arrow-up' / 'GDK_BASED_ARROW_UP' o 'boat' / 'GDK_BOAT' o 'bogosity' / 'GDK_BOGOSITY' o 'bottom-left-corner' / 'GDK_BOTTOM_LEFT_CORNER' o 'bottom-right-corner' / 'GDK_BOTTOM_RIGHT_CORNER' o 'bottom-side' / 'GDK_BOTTOM_SIDE' o 'bottom-tee' / 'GDK_BOTTOM_TEE' o 'box-spiral' / 'GDK_BOX_SPIRAL' o 'center-ptr' / 'GDK_CENTER_PTR' o 'circle' / 'GDK_CIRCLE' o 'clock' / 'GDK_CLOCK' o 'coffee-mug' / 'GDK_COFFEE_MUG' o 'cross' / 'GDK_CROSS' o 'cross-reverse' / 'GDK_CROSS_REVERSE' o 'crosshair' / 'GDK_CROSSHAIR' o 'diamond-cross' / 'GDK_DIAMOND_CROSS' o 'dot' / 'GDK_DOT' o 'dotbox' / 'GDK_DOTBOX' o 'double-arrow' / 'GDK_DOUBLE_ARROW' o 'draft-large' / 'GDK_DRAFT_LARGE' o 'draft-small' / 'GDK_DRAFT_SMALL' o 'draped-box' / 'GDK_DRAPED_BOX' o 'exchange' / 'GDK_EXCHANGE' o 'fleur' / 'GDK_FLEUR' o 'gobbler' / 'GDK_GOBBLER' o 'gumby' / 'GDK_GUMBY' o 'hand1' / 'GDK_HAND1' o 'hand2' / 'GDK_HAND2' o 'heart' / 'GDK_HEART' o 'icon' / 'GDK_ICON' o 'iron-cross' / 'GDK_IRON_CROSS' o 'left-ptr' / 'GDK_LEFT_PTR' o 'left-side' / 'GDK_LEFT_SIDE' o 'left-tee' / 'GDK_LEFT_TEE' o 'leftbutton' / 'GDK_LEFTBUTTON' o 'll-angle' / 'GDK_LL_ANGLE' o 'lr-angle' / 'GDK_LR_ANGLE' o 'man' / 'GDK_MAN' o 'middlebutton' / 'GDK_MIDDLEBUTTON' o 'mouse' / 'GDK_MOUSE' o 'pencil' / 'GDK_PENCIL' o 'pirate' / 'GDK_PIRATE' o 'plus' / 'GDK_PLUS' o 'question-arrow' / 'GDK_QUESTION_ARROW' o 'right-ptr' / 'GDK_RIGHT_PTR' o 'right-side' / 'GDK_RIGHT_SIDE' o 'right-tee' / 'GDK_RIGHT_TEE' o 'rightbutton' / 'GDK_RIGHTBUTTON' o 'rtl-logo' / 'GDK_RTL_LOGO' o 'sailboat' / 'GDK_SAILBOAT' o 'sb-down-arrow' / 'GDK_SB_DOWN_ARROW' o 'sb-h-double-arrow' / 'GDK_SB_H_DOUBLE_ARROW' o 'sb-left-arrow' / 'GDK_SB_LEFT_ARROW' o 'sb-right-arrow' / 'GDK_SB_RIGHT_ARROW' o 'sb-up-arrow' / 'GDK_SB_UP_ARROW' o 'sb-v-double-arrow' / 'GDK_SB_V_DOUBLE_ARROW' o 'shuttle' / 'GDK_SHUTTLE' o 'sizing' / 'GDK_SIZING' o 'spider' / 'GDK_SPIDER' o 'spraycan' / 'GDK_SPRAYCAN' o 'star' / 'GDK_STAR' o 'target' / 'GDK_TARGET' o 'tcross' / 'GDK_TCROSS' o 'top-left-arrow' / 'GDK_TOP_LEFT_ARROW' o 'top-left-corner' / 'GDK_TOP_LEFT_CORNER' o 'top-right-corner' / 'GDK_TOP_RIGHT_CORNER' o 'top-side' / 'GDK_TOP_SIDE' o 'top-tee' / 'GDK_TOP_TEE' o 'trek' / 'GDK_TREK' o 'ul-angle' / 'GDK_UL_ANGLE' o 'umbrella' / 'GDK_UMBRELLA' o 'ur-angle' / 'GDK_UR_ANGLE' o 'watch' / 'GDK_WATCH' o 'xterm' / 'GDK_XTERM' o 'last-cursor' / 'GDK_LAST_CURSOR' o 'blank-cursor' / 'GDK_BLANK_CURSOR' o 'cursor-is-pixmap' / 'GDK_CURSOR_IS_PIXMAP' SEE ALSO
Gtk2, Glib::Boxed COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.12.1 2010-07-05 Gtk2::Gdk::Cursor(3)
All times are GMT -4. The time now is 08:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy