Hi,
I am having a file containing entries like:
.iso.org.dod.internet.mgmt.mib-2.system.sysName.0
.iso.org.dod.internet.mgmt.mib-2.system.sysLocation.0
.iso.org.dod.internet.mgmt.mib-2.system.sysServices.0
.iso.org.dod.internet.mgmt.mib-2.system.sysORLastChange.0... (16 Replies)
Hi all!
I'm new in unix, and faced with some difficulties.
So I have text file f.e. "textfile" which contains rows like:
aaa
bbb
ccc
ddd
How could I format it, so the file looks like:
aaabbb
cccddd
Thanks in andvance (5 Replies)
Hi, any idea
input:
mr.smith stvenson: /address #/tel no/ personal data profile.
mrs.smith stevenson: /address #/tel no/occupation/ personal data profile.
output:
mr.smith stvenson
address #:
tel no:
personal data profile.
mrs.smith stevenson
address #:
tel no:
occupation:... (7 Replies)
I have an input file as below.
1
Sanjib
Gayen
2
Chetan
Jadhav
3
Vijaykumar
Uddi
4
Pinaki
Sarkar
I want to generate an output file as below.
1-Sanjib Gayen
2-Chetan Jadhav (4 Replies)
A folder is having n number of files each file is having column names in it .Hence using below code .
for file in /xxx/sss/*
do
filename=$( basename $file )
sed -e '1,2d; $d; /^*$/d; /selected\.$/d' ${file} | \
sed -e '1s/^/INSERT INTO '${filename}' VALUES (/; $!s/$/,/; $s/$/);/'... (6 Replies)
I have bunch of files with data's like below.
archive.log.0104
ar0104_akl
ar0731_rln
ar0731_rsl
M70148I need to compile all those files into a single file(.xls file) in the below format.
1st row is file name - should come in 1st column in excel
In 2 - 4 row, all entries starts with... (13 Replies)
Hi,
I am new to this forum; I need a help for my scripting problem.
I have made a script in Unix which is extracting a report but the issue is that report is not in a proper format.
Original Report Ex:
Field 1....................... a b c d e f g
Field 2............. @ID.@ID
Field... (4 Replies)
Discussion started by: tush
4 Replies
10. Post Here to Contact Site Administrators and Moderators
I know I've been away from the forums for past couple of months. But I am back now : )
I used to hit ctrl+B and ctrl+I after selecting the text to make text bold or italic respectively. (Pressing the keys would add and tags etc)
However, that is not working anymore. Did I miss something? (13 Replies)
Discussion started by: clx
13 Replies
LEARN ABOUT DEBIAN
snexpire
snexpire,v0.3.8(8) System Manager's Manual snexpire,v0.3.8(8)NAME
snexpire - expire news under the sn system.
SYNOPSIS
snexpire [-v] [-exp] newsgroup [[-exp] newsgroup]...
DESCRIPTION
snexpire expires news in the sn news system, one article file (=10 articles, compile time default) at a time. snexpire always leaves
behind at least one article file, so that newly entered articles will have numbers not overlapping previously used numbers. As an excep-
tion if the expiration age is set to 0, then even this last file will be expired and subsequent article numbers will start from the begin-
ning. You will need to be root or own /var/spool/sn to run snexpire.
OPTIONS -v Output a line for each article expired. The format of this line is the same as for snscan.
ARGUMENTS
snexpire expires all newsgroups named on the command line. Each newsgroup may be preceded by -exp to control the expiration age. exp is
of the form #[hdwmy] where # is a number, followed by one of the characters h,d,w,m,y representing hours, days, weeks, months and years.
The default for -exp is a compile-time fixed. Each [-exp] applies to the next newsgroup only, any newsgroups after that one get default
treatment unless overridden by another [-exp].
FILES MODIFIED
/var/spool/sn/newsgroup/.times, /var/spool/sn/newsgroup/[0123456789]*, /var/spool/sn/{.chain,.table}.
ENVIRONMENT VARIABLES
SNROOT If this is set and is not empty, the value is used in place of /var/spool/sn, the default news spool directory.
FILES
/var/spool/sn/newsgroup/.expire
If this exists, its contents are taken to be exp if not overridden by -exp on the command line.
N.B. Harold Tay snexpire,v0.3.8(8)