Can some one tell me how I can insert a "|" (pipe) at the 15th column throughout a file?
examples:
to insert at begining of line i use :g/^/s//\|/
to insert at ene of line i use :g/$/s//\|/
how can i insert at the 15th column position.
Thanks in advance (2 Replies)
Hello all and thanks in advance!
What I'm looking to do is insert a blank line, anytime the first 9 characters of a given line don't match the first 9 characters of the previous line.
i.e.
Convert the data set
1 45 64 89
1 89 69 235
2 89 234 67
2 56 90... (1 Reply)
Hi,
I want to insert data into a table from a flat file, the file is having around 25 columns and some 10,000 records.
The columns values are seperated by a space.
Thanks (1 Reply)
Could anyone help me with an efficient(and easy) way to insert data in a file directly(with out using temp file).
example
open the file1.txt
11112222
333333
44444444
and insert something say " 99999 " somewhere inside the file
as
11112222
333 99999 333
44444444 (2 Replies)
Hi,
i am doing a simple script to insert logs into particular table through shell script
when i run the script, it is inserting null value.
Any explanation on this. Here is my script.
#!/bin/sh
export db_connection_url=apps/apps@VIS
... (2 Replies)
Hi,
Please help me on this.
I want to insert data from text file to excel using shell script
nawk -v r=4 -v c=4 -v val=$a -F, 'BEGIN{OFS=","}; NR != r; NR == r {$c = val; print}' "file.csv"
I used above one to insert $a value in 4th row, 4th column in an excel file.csv and it... (3 Replies)
Hi Experts,
I have a config file (file1) & a data file (file2) :
- The file1 I want to modify : to replace "2nd fields c7? & m7? from the data from file2,
-The below CPU line fields need to fill by file2's 1st colmns correspoding data.
- The below MEM lines to be replaced by... (3 Replies)
Dear experts,
I am new to linux programming. I have a shell script which i should run it on all my samples.
I only define input and out put for this script. The inputs are 3 numbers(coordination numbers) which are available in a series of text file.
Since i have a lots of samples, it takes a... (5 Replies)
Hi, I am creating a script using Vi to go out on emails. Each email has is own set of attachments, each with a unique number eg Q12343 and Q67897. I have managed to get the script to put in the first attachment customer number ie Q12343, but can't figure out how to get the second one to come in ie... (4 Replies)
Discussion started by: Cheryl1234
4 Replies
LEARN ABOUT DEBIAN
makensis
NSIS(1) makensis NSIS(1)NAME
makensis - A program to create Windows installers.
SYNOPSIS
makensis [script.nsi] [-CMDHELP item] [-HDRINFO] [-LICENSE] [-VERSION] [-Vx] [-Ofile] [-PAUSE] [-NOCONFIG] [-NOCD] [-Ddefine=value]
[-Xscriptcmd]
DESCRIPTION
This manual page documents briefly the makensis command.
This manual page was written for the Debian (TM) distribution because the original program does not have a manual page. Instead, it has
documentation in the HTML format; see below.
makensis is a program that creates installer programs for Windows.
OPTIONS
Parameters are processed by order (-Ddef ins.nsi != ins.nsi -Ddef) for script file name, you can use - to read from the standard input. For
a complete description, see the HTML files.
-Vx
Verbosity where x is 4=all, 3=no script, 2=no info, 1=no warnings, 0=none.
-Ofile
Specifies a text file to log compiler output (default is stdout).
-PAUSE
Pauses after execution.
-NOCONFIG
Disables inclusion of /etc/nsisconf.nsh.
-NOCD
Disable changing the current directory to that of the .nsi file.
-Ddefine=value
Defines the symbol "define" for the script to [value].
-Xscriptcmd
Executes scriptcmd in the script (i.e. "-XOutFile poop.exe")
-CMDHELP item
Prints out help for 'item', or lists all commands.
-HDRINFO
Prints information about what options makensis was compiled with.
-LICENSE
Prints the makensis software license.
-VERSION
Prints the makensis version and exits.
FILES
/etc/nsisconf.nsh
System wide configuration file.
~/.nsisconf.nsh
Per-user configuration file.
SEE ALSO
NSIS is documented more fully in the HTML files in /usr/share/doc/nsis/Docs.
AUTHOR
This manual page was written by Paul Wise pabs@debian.org for the Debian (TM) system.
AUTHOR
Paul Wise
Created man page
COPYRIGHT
Copyright (C) 2005 Paul Wise
makensis manual October 5, 2005 NSIS(1)