03-23-2002
Hey thanks for that question and i got my answer also
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Gurus,
In my Cal output i want to cut the date of 2nd saturday how tyo achive this.
for eg in the below output i need that second saturday 13 to be cut.
crypto $ cal
January 2007
S M Tu W Th F S
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26... (2 Replies)
Discussion started by: Krrishv
2 Replies
2. Shell Programming and Scripting
I have a file proc.txt which contains the below one.
Content-type: text/html
<H2>No query</H2>
infodba-marabou:/tmp
=> export QUERY_STRING="IMAN_server_report=full"
infodba-marabou:/tmp
=> $IMAN_ROOT/web/htdocs/cgi-bin/iman > /tmp/proc.txt
infodba-marabou:/tmp
=> cat proc.txt... (20 Replies)
Discussion started by: Krrishv
20 Replies
3. Shell Programming and Scripting
Dear All
I am stuck in one problem. Kindly help me.
I am taking below mention file as input file and want some op file as mention below.
Kindly send me all possible suggestion and query.
Thnaks
Jaydeep
bELOW IS THE INPUT FILE:
*** Connected to BSCANGR ***... (1 Reply)
Discussion started by: jaydeep_sadaria
1 Replies
4. Shell Programming and Scripting
Hi,
I am new to unix , I have a requirement for formating the input file and generate the output file as per the downstream requirement ..
My application receiving a text input file having 4 field and my application need to check each field and if some value of a field is blank ..then it need... (1 Reply)
Discussion started by: julirani
1 Replies
5. Shell Programming and Scripting
Hi all, I want to start a new topic on this matter
I have this script,
#!perl
use strict;
use warnings;
use Data::Dumper;
open my $log, '>', 'log-external.txt' or die "Could not open log: $!";
print $log "Subnet,Static,DHCP,Unused\n";
open my $dump, '>', 'dump.log' or die... (2 Replies)
Discussion started by: richsark
2 Replies
6. Shell Programming and Scripting
Hello Team i have a file with following data (as columns).
I need implement a syntax like below for altering table
ALTER TABLE1 TABLENAME
ADD COLUMN COL1 CHAR(5) NOT NULL WITH DEFAULT
ADD COLUMN COL2 CHAR(5)
..
..
ADD COLUMN COLn CHAR(5) NOT NULL... (1 Reply)
Discussion started by: rocking77
1 Replies
7. Shell Programming and Scripting
Hi everyone
I have one question about using array in perl. let say I have several log file in one folder.. example
test1.log
test2.log
test3.log
and the list goes on..
how to make an array for this file? It suppose to detect log file in the current directory and all the log file will... (3 Replies)
Discussion started by: sayachop
3 Replies
8. UNIX for Advanced & Expert Users
I have a print file taken from the print spooler and I want to delete all the formatting leaving only the text. If you vi the file it shows "\304\304 ...." which translates into a printed line on print output.
I need to be able to edit and pass this file to another process
Thnaks (10 Replies)
Discussion started by: petercp
10 Replies
9. Shell Programming and Scripting
Hi Guys,
I was searching and landed up something here only.
This is the code and I want the formatted html in email but that is not working, anybody knows the reason why?
#!/bin/sh
set -x
DATE=`date -u`
# Print beginning of webpage
function html_header
{
cat <<END
... (5 Replies)
Discussion started by: bluemind2005
5 Replies
10. Shell Programming and Scripting
Hi
I am trying to store the output of a command into an array in perl script.
I am able to store but the problem is i am unable to print the array line with one line space. i mean i inserted the \n in loop ...but not getting the result.
I have written like this
#!/usr/bin/perl
@a =... (2 Replies)
Discussion started by: kumar85shiv
2 Replies
LEARN ABOUT DEBIAN
debconf-set-selections
DEBCONF-SET-SELECTIONS(1) Debconf DEBCONF-SET-SELECTIONS(1)
NAME
debconf-set-selections - insert new default values into the debconf database
SYNOPSIS
debconf-set-selections file
debconf-get-selections | ssh newhost debconf-set-selections
DESCRIPTION
debconf-set-selections can be used to pre-seed the debconf database with answers, or to change answers in the database. Each question will
be marked as seen to prevent debconf from asking the question interactively.
Reads from a file if a filename is given, otherwise from stdin.
WARNING
Only use this command to seed debconf values for packages that will be or are installed. Otherwise you can end up with values in the
database for uninstalled packages that will not go away, or with worse problems involving shared values. It is recommended that this only
be used to seed the database if the originating machine has an identical install.
DATA FORMAT
The data is a series of lines. Lines beginning with a # character are comments. Blank lines are ignored. All other lines set the value of
one question, and should contain four values, each separated by one character of whitespace. The first value is the name of the package
that owns the question. The second is the name of the question, the third value is the type of this question, and the fourth value (through
the end of the line) is the value to use for the answer of the question.
Alternatively, the third value can be "seen"; then the preseed line only controls whether the question is marked as seen in debconf's
database. Note that preseeding a question's value defaults to marking that question as seen, so to override the default value without
marking a question seen, you need two lines.
Lines can be continued to the next line by ending them with a "" character.
EXAMPLES
# Force debconf priority to critical.
debconf debconf/priority select critical
# Override default frontend to readline, but allow user to select.
debconf debconf/frontend select readline
debconf debconf/frontend seen false
OPTIONS
--verbose, -v
verbose output
--checkonly, -c
only check the input file format, do not save changes to database
SEE ALSO
debconf-get-selections(1) (available in the debconf-utils package)
AUTHOR
Petter Reinholdtsen <pere@hungry.com>
2012-09-10 DEBCONF-SET-SELECTIONS(1)