Thanks for the reply.
Is it possible to Open the InputFile and write back to the same one rather than generating a Temp file and moving it.
---------- Post updated at 01:14 AM ---------- Previous update was at 01:05 AM ----------
Hi,
I pass the value to your script this way.
The text displayed in RED is the file that is been passed to Test.sh ( The script ).
I was looking for something which can open this file and rewrite back to it.
Hope u have a clear picture now.
Regards
Ashesh
Last edited by Franklin52; 09-18-2012 at 06:14 AM..
Reason: Please use code tags for data and code samples
Hi,
I ahve a file where the format is as given below:
qqq dfsf gdfjkg gjdosjg jkflsjd 21
fdksdlf fsdnkfl lkdfsgjld 45
laefsdl fsdlfksl fsdklflk gfsdl 56
I need to replace the last number by space or delete the last number in each line. (by using... (6 Replies)
Hi,
I have a ksh which peocess and get me data from 3 days...
ie if i process it on jan 28.. it gets data for 25, 26 and 27.... the process run every day and get previous 3 days data...all this data is appened to a file lets call time.out
Now time.out cannot have deplicate data so what i want... (10 Replies)
OK I will do my best to explain what I need help with.
I am trying to format an ldif file so I can import it into Oracle oid.
I need the file to look like this example. Keep in mind there are 3000 of these in the file.
changetype: modify
replace: userpassword
dn:... (0 Replies)
Hello,
I am having flat file (Comma Delimiter) and the data in the file is as given below.
EMPNO, ENAME, DESIGNATION, SALARY
10979, Arun Kumar, Cosultant, 35000
13555, Bidhu Shekar, Senior Consultant, 45000
15000, Kiran, Kumar, Senior, Consultant, 40000
If... (9 Replies)
Hi.. I'm facing a trouble in replacing two blank lines in a file using shell script...
I used sed to search a line and insert two blank lines after the searchd line using the following sed command.
Sed "/data/{G;G;}/" filename. In the file, after data tag, two lines got inserted blank lines.. Now... (1 Reply)
Hi.. I'm facing a trouble in replacing two blank lines in a file using shell script...
I used sed to search a line and insert two blank lines after the searchd line using the following sed command.
sed "/data/{G;G;}/" filename . In the file, after data tag, two lines got inserted blank lines..... (4 Replies)
Hello,
I have 2 files delimited by "|".
File1:
1|New York
12| Buffalo
599| Syracuse
File2:
56 Kennedy |1
9 Burridge Pl|15
98 BELL ROCK |599
My goal: Is to replace the numerical numbers in "File 2" (second field, not street address) with the corresponding city names from... (2 Replies)
Hi Guys,
Please help me with my problem here:
I have a source file:
1212 23232 343434 ASAS1 4
3212 23232 343434 ASAS2 4
3234 23232 343434 QWQW1 4
1134 23232 343434 QWQW2 4
3212 23232 343434 QWQW3 4
and a mapping... (4 Replies)
Dears,
I'm new to shell scripting and i was wondering if you can help me with following matter.
I have a file containing 400,000 records. The file contains two columns like:
00611291,0270404000005453
25262597,1580401000016155
25779812,1700403000001786
00388934,1200408000000880... (1 Reply)
i have a real data prod file with 80+ fields containing 1k -2k records. i have to extract say 12 columns out of this which are sensitive fields along with one primary key say SEQ_ID (like DOB,account no, name, SEQ_ID, govtid etc) in a lookup file. i have to replace these sensitive fields in... (11 Replies)
Discussion started by: megh12
11 Replies
LEARN ABOUT DEBIAN
sapphire
SAPPHIRE(1) General Commands Manual SAPPHIRE(1)NAME
sapphire -- minimal but configurable window manager
SYNOPSIS
sapphire [-display displayname | -version ]
DESCRIPTION
This manual page documents briefly the sapphire command.
This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.
sapphire is a minimal but configurable window manager for X11R6. It supports themes in the form of X resource files, and has a customisable
menu.
The Debian version receives Debian menu entries automatically in a "Debian" submenu by default, you can add entries specifically to sap-
phire (in the rest of the menu) in the default-menu file. For more information, see update-menus (1) and the FILES section below.
Users can also set their own options in $HOME/.sapphire/wmconf (an X resource file).
OPTIONS -display displayname
Use the X-server display 'displayname'.
-version Show version of program.
FILES
/etc/X11/sapphire/menu/default-menu
menu entries specific to sapphire (you can edit this one, it's a conffile)
/etc/X11/sapphire/menu/menudefs.hook
Debian menu entries in sapphire's format, not read directly, do not edit (edit default-menu instead)
/etc/X11/sapphire/menu/default
this menu file is the one sapphire actually reads, it is automatically generated from the other two by update-menus, do not edit
(edit default-menu instead)
$HOME/.sapphire/wmconf
user-specific options
/usr/share/sapphire/themes
themes directory, all of the above may refer to themes from here (the files themselves are X resource files)
HISTORY
Sapphire was originally developed from Decklin Foster's aewm, and also uses some code from Blackbox (for gradients).
SEE ALSO
XFree86 (1), update-menus (1).
AUTHOR
This manual page was written by Chris Boyle <cmb@debian.org> for the Debian GNU/Linux system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later
version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
SAPPHIRE(1)