Vino,
Your substitution will replace all instances of '.', including '19.23'.
The Regular Expression ' *' means zero or more instances of space.
In other words, it will consider anything as true, as any non-space
character means zero instances of space.
Also the solution should keep the space after the name.
Here is one possible solution:
Hi Dudes,
I want to replace \n with \r\n through out the file. For this I opened vi editor there tried with " s/\\n/\\r\\n/g ", with this I must be able to satisfy my requirements. But it is searching for the current line (Where cursor is). I need this for entire file. No problem if it is... (3 Replies)
Hi all,
I have a file with the following data.
E01011U, ,E11, , , ,0
E03012U, ,E14, , , ,0
E02013U, ,E25, , , ,0
I want to change it to
('E01-01-1-U','E11' );
('E03-01-2-U','E14' );
('E02-01-3-U','E25' );
Please let me know about it .Thanks in advance. (10 Replies)
Hi:
I want to write a Kshell script which will replace last / by |.
eg: /home/apps/test/document should be replaced as /home/apps/test|document.
The length of the string is not constant.
Thanks,
Ash (6 Replies)
hi
i have input file in this format
E102|0|1-23-1994|0|12-5-1994|E003|A|10450|charan,devupalli|5000
how to convert this into outfile
E102,0,1-23-1994,0,12-5-1994,E003,A,10450,charan,devupalli,5000
i wann the output in excel sheet.........that is why i am converting into csv..
but i have... (6 Replies)
Hi,
djfksdjk)))) kmmm jfdfjk))))
I want to replace the first ')' after kmmm with #.
The output would be djfksdjk)))) exists jfdfjk#)))
Can anyone help on this? (3 Replies)
Hello,
I really would appreciate some help with a bash script for some string manipulation on an SQL dump:
I'd like to be able to rename "sites/WHATEVER/files" to "sites/SOMETHINGELSE/files" within the sql dump.
This is quite easy with sed:
sed -e... (1 Reply)
Here is my file content
age=12
age=34
age=54
age=23
Hello world. This is the age result I am getting.
To day date is 23-02-2010.
From the above content I have to replace all the values after 'age=*' to age=24.
How to do it. (1 Reply)
I need to replace dashes (i.e. -) if present from positions 351-357 with zero (i.e. 0), I also need to replace dash (i.e “-“) if present between position 024-043 with zero (i.e. 0) & I replace " " (i.e. 2 space characters) if present at position 381-382 with "04". Total length of record is 413.... (11 Replies)
I need to replace the (*) in the fist of a list with numbers using sed for example >
this file contain a list
* linux
* computers
* labs
* questions
to >>>>
this file contain a list
1. linux
2. computers
3. labs
4. questions (7 Replies)
I have a csv which has lot of columns . I was looking for an awk script which would extract a column twice. for the first occurance the header and data needs to be intact but for the second occurance i want to replace the header name since it a duplicate and extract year value which is in ddmmyy... (10 Replies)
Discussion started by: Kunalcurious
10 Replies
LEARN ABOUT MOJAVE
devfs
devfs(7FS) File Systems devfs(7FS)NAME
devfs - Devices file system
DESCRIPTION
The devfs filesystem manages a name space of all devices under the Solaris operating environment and is mounted during boot on the /devices
name space.
The /devices name space is dynamic and reflects the current state of accessible devices under the Solaris operating environment. The names
of all attached device instances are present under /devices.
The content under /devices is under the exclusive control of the devfs filesystem and cannot be changed.
The system may be configured to include a device in one of two ways:
By means of dynamic reconfiguration (DR), using, for example, cfgadm(1M).
For devices driven by driver.conf(4) enumeration, edit the driver.conf file to add a new entry, then use update_drv(1M) to cause
the system to re-read the driver.conf file and thereby enumerate the instance.
The device may be attached through a number of system calls and programs, including open(2), stat(2) and ls(1). During device attach, the
device driver typically creates minor nodes corresponding to the device via ddi_create_minor_node(9F). If the attach is successful, one or
more minor nodes referring to the device are created under /devices.
Operations like mknod(2), mkdir(2) and creat(2) are not supported in /devices.
FILES
/devices Mount point for devfs file system
SEE ALSO devfsadm(1M), vfstab(4), attach(9E)NOTES
The /devices name space cannot be unmounted.
All content at or below the /devices name space is an implementation artifact and subject to incompatible change or removal without notifi-
cation.
SunOS 5.10 26 Oct 2004 devfs(7FS)