I have a file(Pipe Delimited) where i need to add a blank field before the last field and a blank field after the last field. Please help. I have provided below the sample input records and desired output.
Hi Everybody,
I have an layout file like below
f1 1 char 10,
f2 11 char 2,
f3 13 char 1,
lineend 14 char 1
Their I need to add a new field which would be like
f5 char 3,
f6 char 2
The o/p should be
f1 1 char 10,
f2 11 char 2,
f3 13 char 1,
f5 14 char 3,
f6 17 char 2 (3 Replies)
I have a file with 32 fields each separated by ‘|”. I need to add a file date exactly in the format “ "20100120" “ as the 32nd field moving the existing 32nd field to 33. so the field I added should be 32nd and the 33rd field is the last field before I added the file date.
I know we can... (8 Replies)
I need some help with adding lines to file and substitute a pattern.
Ok I have a file:
#cat names.txt
name: John Doe
stationed: 1
name: Michael Sweets
stationed: 41
.
.
.
And would like to change it to:
name: John Doe
employed
permanently
stationed: 1-office (7 Replies)
hi
i am student doing project in ns2.34.
i hav to add field in route cache and packet of DSR routing protocol.
which files hv to be changed...pl help me (1 Reply)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
want to add field to route cache and packet of DSR routing protocol in ns2.34, add field, DSR package in ns2.34... (2 Replies)
Hi All,
I have a file(Pipe Delimited) where i need to add a blank field before the last field and a blank field after the last field. Please help. I have provided below the sample input records and desired output.
Code:
Sample Input: A0010000|Abilene TX A 1|A0010957|Dallas... (0 Replies)
Hi All,
I get a file on weekly basis from client. I need to write a script which make sure the file should have 20 columns after the first column. If not then the script should add the remaining columns and default them to space(except for 2nd and 3rd). and at the same time the script should... (25 Replies)
Dear AWK-experts!
I did get stuck in the task of combining files after matching fields, so I'm still awkward with learning AWK.
There are 2 files: one containing 3 columns with ID, coding status, and score for long noncoding RNAs:
file1 (1.txt) (>5000 lines)
... (12 Replies)
I have an array in an external file, "array.txt", which contains:
char *testarray={"Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"};I want to be able to add an element to this array, and have that element display, whenever I call it, without having to recompile... (29 Replies)
Discussion started by: ignatius
29 Replies
LEARN ABOUT DEBIAN
wmcalclock
WMCALCLOCK(1) General Commands Manual WMCALCLOCK(1)NAME
WMCALCLOCK - Dockable Calendar Clock
SYNOPSIS
wmCalClock [-h] [-display <Display>] [-b <Volume>] [-e <Command>] [-24] [-s] [-S] [-L <Longitude>] [-l] [-tc <color>] [-bc <color>] [-tek-
ton] [-comicsans] [-arial] [-luggerbug] [-jazz]
DESCRIPTION
wmCalClock is a simple Calendar Clock with anti-aliased text and drop-shadows.
OPTIONS -h Display list of command-line options.
-display [display]
Use an alternate X Display.
-b <Volume>
Beep on the hour with specified volume (between -100 and 100).
-e <Command>
Command to execute via double click of mouse button 1. (Use quotes if your command has white space in it).
-24 Show time in 24-hour format instead of default 12-hour AM/PM format.
-30 Show local time in 30-hour format. Times between midnight and 6 AM are displayed as belonging to the previous day, so the hour
ranges from 6 to 29.
-g Show Greenwich Mean Time (GMT).
-s Show Greenwich Mean Sidereal Time (GMST) in 24-hour format.
-S Dont show seconds.
-L <Longitude>
Show Local Sidereal Time (LST) in 24-hour format. Longitude is in degrees (- for West + for East).
-l Force use of lower color pixmap to conserve colors. On displays with <= 8 bits, the low color Pixmap will always be used.
-tc <color>
Change color of time-field digits.
-bc <color>
Change color of time-field background.
-tekton
Use the Tekton font for time field.
-arial Use the Arial (i.e. Helvetica) font for time field.
-jazz Use the JazzPoster font for time field.
-luggerbug
Use the LuggerBug font for time field.
-comicsans
Use the ComicSans font for time field.
BUGS
Who knows? (Let me know if you find any).
AUTHOR
Michael G. Henderson <mghenderson@lanl.gov>
16 December 1998 WMCALCLOCK(1)