How do I delete text in each line from the first character up to a certain pattern, ie. 'qmuser.' and then delete from the next occurence of a dot to the end of the sentence
For example: -
LTSB Renewal Notice Travel Pack --- d \qmaster\spool1\qmuser.8664_LM245_20031216094308.ps.0
From this... (7 Replies)
Hi All
I have one file aa.txt like this
Change 172453 on 2006/04/26 10:45:45 by cm@cm-ixca-cm-build23 'cmbuild: ixweb-3.10.28.110 '
Change 172362 on 2006/04/26 08:58:47 by cm@cm-ixca-cm-build23 'build failed: ixweb-3.10.28.109'
Change 172299 on 2006/04/26 07:39:08 by... (1 Reply)
Hi
I need to calculate the number of occurrences of a item in a number of files using Perl.
The item appears continually throughout the files but in each case I only want to calculate it in certain blocks of the file.
Example - Calculalte the number of occurrences of a 'pass' in a block of... (0 Replies)
Hi,
Need to extract a string from one file and search the same in other files.
Ex:
I have file1 of hundred lines with no delimiters not even space.
I have 3 more files.
I should get 1 to 10 characters say substring from each line of file1 and search that string in rest of the files and get... (1 Reply)
Given the following text in a file named extract.txt:
listenPort:=25
smtpDestination:=2
enableSSL:=
I am trying to extract only the value 2 following smtpDestination:=
Someone had suggested I use:
sed -e "s/^smtpDestination:=\(.*\)$/\1/" extract.txt
but this returns:
listenPort:=25
2
... (2 Replies)
Input file is on Linux box and the input file has data in just one line with 1699741696 characters.
Sample Input:
<xxx><document coll="uspatfull" version="0"><CMSdoc>xxxantivirus</CMSdoc><tag1>1</tag1></document><document coll="uspatfull"... (5 Replies)
Hi,
I have one file, say file 1, that has data like below where 19900107 is the date,
19900107 12 144 129 0.7380047
19900108 12 168 129 0.3149017
19900109 12 192 129 3.2766666E-02
... (3 Replies)
I have a txt file of the following format
>ab_
qwerty
>rt_
hfjkil
>Ty2
hglashglkasghkf;
>P2
aklhfklflkkgfgkfl
>ui_
vnllkdskkkffkfkkf
>we32
vksksjksj;lslsf'sk's's
....
.....
I want to split this big file based on the header (>) (5 Replies)
Hello.
First best wishes for everybody.
here is the input file ("$INPUT1") contents :
BASH_FUNC_message_begin_script%%=() { local -a L_ARRAY;
BASH_FUNC_message_debug%%=() { local -a L_ARRAY;
BASH_FUNC_message_end_script%%=() { local -a L_ARRAY;
BASH_FUNC_message_error%%=() { local... (3 Replies)
Discussion started by: jcdole
3 Replies
LEARN ABOUT DEBIAN
vconfig
VCONFIG(8) System Manager's Manual VCONFIG(8)NAME
vconfig - VLAN (802.1q) configuration program.
SYNOPSIS
vconfig [lots of long options]
DESCRIPTION
The vconfig program allows you to create and remove vlan-devices on a vlan enabled kernel. Vlan-devices are virtual ethernet devices which
represents the virtual lans on the physical lan.
OPTIONS
add [interface-name] [vlan-id]
Creates a vlan-device on [interface-name]. The resulting vlan-device will be called according to the nameing convention set.
rem [vlan-device]
Removes the named vlan-device.
set_flag [vlan-device] 0 | 1
When 1 (the default since 2.6.18), ethernet header reorders are turned on. Dumping the device will appear as a common ethernet
device without vlans. When 0 however, ethernet headers are not reordered, which results in vlan tagged packets when dumping the
device. Usually the default gives no problems, but some packet filtering programs might have problems with it.
set_egress_map [vlan-device] [skb-priority] [vlan-qos]
This flags that outbound packets with a particular skb-priority should be tagged with the particular vlan priority vlan-qos. The
default vlan priority is 0.
set_ingress_map [vlan-device] [skb-priority] [vlan-qos]
This flags that inbound packets with the particular vlan priority vlan-qos should be queued with a particular skb-priority. The
default skb-priority is 0.
set_name_type VLAN_PLUS_VID | VLAN_PLUS_VID_NO_PAD | DEV_PLUS_VID | DEV_PLUS_VID_NO_PAD
Sets the way vlan-device names are created. Use vconfig without arguments to see the different formats.
NOTES VLAN will use Broadcom's NICE interface when the network device supports it. This is necessary, since usually the hardware of these
devices already removes the vlan tag from the ethernet packet. The set_flag option on vlan-devices created on such a physical net-
work device will be ignored. Dumping the network-device will show only untagged(non-vlan) traffic, and dumping the vlan-devices
will only show traffic intended for that vlan, without the tags.
FILES
/proc/net/vlan/config
/proc/net/vlan/[vlan-device]
SEE ALSO ip(8), ifconfig(8)AUTHORS
This manual page was written by Ard van Breemen <ard@kwaak.net>
The vlan patch is written by Ben Greear <greearb@candelatech.com>
VCONFIG(8)