Hi,
I have a directory with files and sub-directories (sub-directory depth might go upto 5). There will be one or more spaces (continuously or anywhere in the file name) which need to be replaced with HYPHENs. How can i replace all SPACE occurances with HYPHEN in file/dir names recursively. (2... (5 Replies)
Hi,
Below is my output file: (The below line has multiple spaces bet charc and I want to replace spaces with "," only for the first line)
NYCCMS97KJ931 01-JUN-08 1214957
I want this to be:
... (5 Replies)
Hi guys, so I have another issue. Can I use sed to replace spaces in a string or variable with %20
I am having trouble with using curl on URL's containing spaces
Thanks! (12 Replies)
i have a file like::
$ cat space
asd
fghj
itkg
now i want to replace the next line with . and thn this . with the 100 spaces.
cat space | tr '\n' '.', it woked for me, to replce the new line to .
Now i want to replace this . with 100 spaces.
Thanks in advance. (10 Replies)
I have a file where in some records are having the <Start> and <End> tag. There is data before the start tag , between the tages and after the End tag. I want to replace everything between the start & end tag with equivalent spaces.
Input File
afsdfaksddfs<start>12678<end>sgdfgdfsf... (6 Replies)
Hello
#I have a file with a list of sequences; the sequence name is the line starting with '>'.
$cat infile
>AluYa5 SINE1/7SL Homo sapiens
ggccgggcgcggtggctcacgcctgtaatcccagcactttgggaggccgaggcgggcggatcacgaggtc
aggagatcgagaccatcccggctaaaacggtgaaaccccgtctctactaaaaatacaaaaaattagccgg... (11 Replies)
Hi Guys
file:///C:/DOCUME%7E1/c104058/LOCALS%7E1/Temp/moz-screenshot.pngsed 's///g' /source/filename.txt > /destination/filename.txt
The above code deletes the characters which are not A-Z, a-z and 0-9, but I wanted to replace it with space without deleting them.
Any help is... (2 Replies)
Hello All,
I have a comma separated file which needs to be loaded to the database. But, I need to trim the white spaces for a specific column before its loaded.
Below is the sample line from the input file:
690,690,0575,"01011940","01011940", , , , , ,36720,36722,V2020,V2999,... (6 Replies)
cat rf|nawk '/Use SSL= 0/{n+=1}{if (n==3){sub("Use SSL= 0","Use SSL= 0x1",$0)};print }' > rf2Fails.
sed 's/Use SSL= 0/Use SSL= 0x1/g' rf > rf2Fails.
In addition, the goal is to ONLY replace the 2nd occurence of the... (15 Replies)
I'm using sh on hp-ux. I've got a file that looks like this.
-5.65 175
-16.17 160
-13.57 270
-51.72 260
-8.30 360
-42.71 460
-.38 375
-.20 375
-4.15 170
-21.53 560
-18.84 360
I'd like to replace all the whitespace between the columns with one comma. I can't... (4 Replies)
Discussion started by: Scottie1954
4 Replies
LEARN ABOUT SUSE
isaset
ISASET(8) System Manager's Manual ISASET(8)NAME
isaset - set ISA registers
SYNOPSIS
isaset [-y] addrreg datareg address value [mask] #for I2C-like access
isaset [-y] -f address value [mask] #for flat address space
DESCRIPTION
isaset is a small helper program to set registers visible through the ISA bus.
OPTIONS -f Enable flat address space mode.
-y Disable interactive mode. By default, isaset will wait for a confirmation from the user before messing with the ISA bus. When this
flag is used, it will perform the operation directly. This is mainly meant to be used in scripts.
OPTIONS (I2C-like access mode)
Four options must be provided to isaset. addrreg contains the ISA address of the address register for the chip to probe; datareg contains
the address of the data register. Both addresses are integers between 0x0000 and 0x3FFF. Usually, if the chip's base address is 0x0nn0, the
address register is at 0x0nn5 and the data register is at 0x0nn6. The most common base address for hardware monitoring chips is 0x0290.
For Super-I/O chips, address register is typically at 0x2E with data register at 0x2F. The address and value parameters are two integers
between 0x00 and 0xFF. isaset will write value value to address address. An optional mask can be provided as a fifth parameter, preserving
unmasked bits at the written location.
OPTIONS (flat address space mode)
In flat mode, two parameters must be provided. address contains the ISA address of the register to write to; it is an integer between
0x0000 and 0xFFFF. Basically, it is the sum of the chip's base address and the chip register's address. isaset will write value value at
this address. An optional mask can be provided as a third parameter, preserving unmasked bits at the written location.
WARNING
Poking around in ISA data space is extremely dangerous. Running isaset with random parameters can cause system crashes, data loss, and
worse! Be extremely careful when using this program.
SEE ALSO i2cset(8), isadump(8)AUTHOR
Mark D. Studebaker, and the lm_sensors group (http://www.lm-sensors.org/)
This manual page was shamelessly ripped from the i2cset and isadump manual pages by Jean Delvare.
May 2005 ISASET(8)