if possible can you please tell me how to replace only the header & trailer of the file rest of the records need to be the same
---------- Post updated 08-03-13 at 12:48 AM ---------- Previous update was 08-02-13 at 07:17 PM ----------
This command is actually replacing the value of all the records in the file.But I need to replace the value of header & trailer only .Please some one help here
Hi, I have two input files.
File1:
ID Name Place
1-234~name1~Newyork
1-34~name2~Boston
1-2345~name3~Hungary
File1 is a variable length file where each column is seperated by delimitter "~".
File2:
ID Country
1-34<<11 SPACES>>USA<<7 spaces>>
1-234<<10 SPACES>>UK<<8... (5 Replies)
Col1 Col2 Col3 Col4
12 Completed 08 0830
12 In Progress 09 0829
11 For F U 07 0828
Considering the file above, how could i replace the third column the most efficient way? The actual file size is almost 1G. I am... (10 Replies)
Hi, Iam new to unix. I have one input file .
Input file :
ID1~Name1~Place1
ID2~Name2~Place2
ID3~Name3~Place3
I need output such that only first column should change to fixed width column of 15 characters of length.
Output File:
ID1<<12 spaces>>Name1~Place1
ID2<<12... (5 Replies)
Hi,
How to output the duplicate record to another file. We say the record is duplicate based on a column whose position is from 2 and its length is 11 characters.
The file is a fixed width file.
ex of Record:
DTYU12333567opert tjhi kkklTRG9012
The data in bold is the key on which... (1 Reply)
Hi,
I have a fixed width text file without any header row. One of the columns contains a date in YYYYMMDD format.
If the original file contains 3 dates, I want my shell script to split the file into 3 small files with data for each date.
I am a newbie and need help doing this. (14 Replies)
Input eg:
Ouput Expected.
The #rd line had the unexpted new line, which need to be replaced with space.
I was planing to go with checking the length of each line using awk and if the length is less than the defeined limit, (12 in above case) will replace the newline with space.
... (5 Replies)
hi,
i have a fixed width file with multiple columns and need to print data using awk command.
i use: awk -F "|" '($5 == BH) {print $1,$2,$3}' <non_AIM target>.txt for a delimiter file.
but now i have a fixed width file like below:
7518 8269511BH 20141224951050N8262
11148 8269511BH... (5 Replies)
All,
I used to use following command to replace specific location in a fixed width file.
Recently looks like my command stopped working as intended. We are on AIX unix.
awk 'function repl(s,f,t,v)
{ return substr(s,1,f-1) sprintf("%-*s", t-f+1, v) substr(s,t+1) }
NR<=10 {... (3 Replies)
Hi Forum.
I tried searching for a solution using the internet search but I haven't been able to find any solution for what I'm trying to accomplish.
I have a fixed width column file where I need to search for any occurrences of "D0" in col pos.#1-2, 10-11, 20-21 and replaced it with "XD".
... (2 Replies)
Discussion started by: pchang
2 Replies
LEARN ABOUT DEBIAN
docker
DOCKER(1) General Commands Manual DOCKER(1)NAME
docker - System tray for KDE3/GNOME2 docklet applications
SYNOPSIS
docker [options]
DESCRIPTION
This manual page documents briefly the docker command. This manual page was written for the Debian distribution because the original pro-
gram does not have a manual page.
docker is a docking application (WindowMaker dock app) which acts as a system tray for KDE3 and GNOME2. It can be used to replace the panel
in either environment, allowing you to have a system tray without running the KDE/GNOME panel.
Docker was written and designed to work with Openbox 2, but it should work fine in any window manager that supports WindowMaker dock apps.
OPTIONS -h-help
Show summary of options.
-display DISPLAY
The X display to connect to.
-border N
The width of the border to put around the system tray icons. Defaults to 1.
-vertical
Line up the icons vertically. Defaults to horizontally.
-wmaker
WindowMaker mode. This makes docker a fixed size (64x64) to appear nicely in in WindowMaker. Note: In this mode, you have a fixed
number of icons that docker can hold.
-iconsize SIZE
The size (width and height and height) to display icons as in the system tray. Defaults to 24.
-color COLOR
The background color to use for the tray. Defaults to whatever color the window manager specifies.
AUTHOR
This manual page was written by Ari Pollak <ari@debian.org>, for the Debian GNU/Linux system (but may be used by others).
November 2, 2002 DOCKER(1)