Questions tagged [inplace-editing]
51 questions
179
votes
4 answers
sed command with -i option (in-place editing) works fine on Ubuntu but not Mac
I know nothing about Sed but need this command (which works fine on Ubuntu) to work on a Mac OSX:
sed -i "/ $domain .*#drupalpro/d" /etc/hosts
I'm getting:
sed: 1: "/etc/hosts": extra characters at the end of h command

Michelle Williamson
- 2,516
- 4
- 18
- 19
74
votes
8 answers
sed -i command for in-place editing to work with both GNU sed and BSD/OSX
I've got a makefile (developed for gmake on Linux) that I'm attempting to port to MacOS, but it seems like sed doesn't want to cooperate. What I do is use GCC to autogenerate dependency files, and then tweak them a bit using sed. The relevant…

Chris Tonkinson
- 13,823
- 14
- 58
- 90
10
votes
1 answer
How do I activate an in-place editor for a grid cell that displays as a progress bar?
One of the cells in my DBTreeListView is bound to a repository item that is a progress bar.
I want to be able to edit the progress displayed by clicking on this cell. At this stage my application should change its cell to another repository item: a…

svsiko
- 111
- 5
9
votes
3 answers
Save modifications in place with NON GNU awk
I have come across a question(on SO itself) where OP has to do edit and save operation into Input_file(s) itself.
I know for a single Input_file we could do following:
awk '{print "test here..new line for saving.."}' Input_file > temp && mv temp…

RavinderSingh13
- 130,504
- 14
- 57
- 93
6
votes
3 answers
Inplace Editing vs. Edit Page
When you develop web applications, especially ones that deal with a good amount of data management (e.g. contacts, addresses, orders and so forth), do you usually create the interface as in-place edit or make a separate "edit" page (and a view-only…

Alex
- 75,813
- 86
- 255
- 348
5
votes
0 answers
Acessing Angular NgForOfContext in a directive
I'm developing an Angular directive to detect (and delete) an empty item in an *ngFor list.
Instead of adding an X button (per item) that will trigger deletion, I'm more for a content based approach: if the user erases -- either completely or just…

rslemos
- 2,454
- 22
- 32
5
votes
2 answers
How to enable in-place editing in an asp:GridView?
How can i add edit boxes, and read their values during submit, with an asp:Repeater?
i have an asp:GridView which is displaying a read-only (i.e. non-editable) set of data, e.g.:
How can i enabled the cells of the GridView to be editable, e.g…

Ian Boyd
- 246,734
- 253
- 869
- 1,219
4
votes
1 answer
Parentheses over selected words in Eclipse
A few days back I felt this question to be dumb and dint post it here, but after even after searching a lot I dint find a proper solution.
For those of you who used TextEdit (on Mac), they will perfectly know what I am talking about.
While coding I…

svabhishek
- 83
- 1
- 7
4
votes
4 answers
Read entire file then print when editing inplace?
Most examples of inplace editing are one-liners that iterate through a file or files, reading and printing one line at a time.
I can't find any examples of reading an entire file into an array, modifying the array as needed, and then printing the…

d5e5
- 432
- 3
- 10
4
votes
0 answers
Innovastudio Content Builder alternatives?
Are there any alternatives to Innovastudio Content Builder?
http://www.innovastudio.com/content-builder.aspx
Features:
In-place editing contents
Creating custom templates
Save output server-side
I've found Spark theme for Drupal…

watb
- 81
- 6
4
votes
2 answers
How to change persistence property of cq:inplaceEditing
I wish to use cq:inplaceEditing to modify a property on my JCR whenever it is used by the AEM authors. Unfortunately, I do not know how to modify the name of the property that it actually modifies in the JCR. It appears that it only modifies the…

idungotnosn
- 2,001
- 4
- 29
- 36
4
votes
2 answers
Why doesn't perl inplace editing work if I read user input before that?
I am trying to edit a cfg file inplace inside a perl script, but it doesn't work if I read user input before that. Here is a test script to recreate the problem I am seeing.
#!/usr/bin/perl -w
use strict;
my $TRACE_CFG = "trace.cfg";
print…

pkamala
- 43
- 3
3
votes
2 answers
How can I do inplace editing (-i) with perl on windows?
In the unix/linux version, I'd simply change the first line:
#!perl -i.bak
Using Activestate perl on windows, where I've created the association with .pl, I can run a perl script directly from the command line.
myScript.pl
How can I do inplace…

chris
- 36,094
- 53
- 157
- 237
3
votes
2 answers
How Can I Exit My Inplace-Editor AND Process the Button in Delphi?
In my Delphi 2009 application, I have this window:
It has a TPageControl that has a TTabSheet on it as well as buttons at the bottom that operate on all sheets.
On the left of the TTabSheet is a TElXTree (a tree/grid component by LMD) and on the…

lkessler
- 19,819
- 36
- 132
- 203
3
votes
1 answer
Perl's autosplit function with in place editing
I just had a task in where I needed to replace each 3rd value in a tabulator separated file with a fixed value. I guess it can be done in Perl on a Unix shell like so
$perl -a -n -i -F'/\t/' -e '$F[2]="THE FIXED VALUE";print join "\t", @F'…

René Nyffenegger
- 39,402
- 33
- 158
- 293