Hi,
I have a file like this
(ADD_MONTHS((Substr(Trim(BOTH FROM Translate(Maximum(closeDa
------------------------------------------------------------
2007-06-30 00:00:00
I have a requirement where i need just the date.
When i do: tail -1... (2 Replies)
Hello, I am trying to write a script that will calculate the amount of data remaining in a storage volume. I'm running Tru64 Unix version 5.1B patch kit 6. The script is being run against an AdvFS domain. I am programming in Korn Shell version M-11/16/88f.
The basic idea is that I want to run df... (3 Replies)
I have a string "disk0 with a trailing white space after it" but I want to get rid of this white space from right to left so that I am left with "disk0" only.
Using sed 's/ $//g' doesn't seem to work
Any ideas ?
Thanks (5 Replies)
Hi I have a simple request but can't find the answer. I want to remove trailing zeros, and in some cases the fullstops, from the input data. Example of input file:
FR002_15.000_20.000
SD475_5.000_10.500
FG5647_12.250_15.500
BH2463_30.555_32.000
Desired output file would be:
... (10 Replies)
Platform : RHEL 5.8
I want to end each line of this file with a single quote.
$ cat hello.txt
blueskies
minnie
mickey
gravity
snoopyAt VI editor's command mode, I have used the following command to replace the last character with a single quote.
~
~
~
:%s/$/'/gNow, the lines in the... (10 Replies)
I have some strings such as
ABC1
ABC2
TYFASDD12
They will only have letters and numbers. In each case I want to remove the last digit? The lengths will vary. So a hard coded substr won't work. What do I do?
if it doesn't end in a number, I don't want to remove any characters. (6 Replies)
I have a folder that contains many sub folders and files. This tree has to be backed up to an archive system. According to the tech support, one of the archives is failing to back up due to the possibility of trailing spaces on file and folder names. Therefore, I would like to have a script... (16 Replies)
Hi,
I have simply made a shell script to convert *.csv to *.xml file. Xml file is required for input to one tool. But i am getting space after last field. How can i remove it.
Shell script is as follows :-
if
then
echo ""
echo "Wrong syntax, Databse_update.sh... (6 Replies)
Discussion started by: stillrules
6 Replies
LEARN ABOUT NETBSD
cas
CAS(4) BSD Kernel Interfaces Manual CAS(4)NAME
cas -- Cassini/Cassini+ (GigaSwift) Ethernet device driver
SYNOPSIS
cas* at pci? dev ? function ?
Configuration of PHYs may also be necessary. See mii(4).
DESCRIPTION
The cas driver provides support for the Sun Cassini and Cassini+ (GigaSwift) and the National Semiconductor Saturn Ethernet hardware found in
Sun UltraSPARC machines and Sun GigaSwift PCI cards.
Cards supported by this driver include:
o Sun Gigaswift Ethernet (SX fibre variants)
o Sun Gigaswift Ethernet (UTP variants)
o Sun quad Gigaswift Ethernet
SEE ALSO brgphy(4), gentbi(4), gphyter(4), ifmedia(4), intro(4), mii(4), ifconfig(8)
Sun Microsystems, Cassini+ ASIC Specification, http://www.sun.com/processors/manuals/cs_plus.pdf.
HISTORY
The cas driver first appeared in OpenBSD 4.1. NetBSD support was added in NetBSD 6.0.
AUTHORS
The cas driver was written for OpenBSD by Mark Kettenis <kettenis@openbsd.org>, based on the gem(4) driver, and ported to NetBSD by Julian
Coleman <jdc@NetBSD.org>.
BUGS
The cas driver does not support any of the advanced features of the Cassini chip.
On the SX fibre variants of the hardware, the link may stay down if media options apart from autoselect are chosen.
BSD January 7, 2010 BSD