03-12-2009
Thanks! It worked!
-Megan
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How can i clear all space characteres for a long file at the end of each line? (3 Replies)
Discussion started by: osymad
3 Replies
2. Shell Programming and Scripting
how to insert a extra line in a text file using a sh command
iam trying to think of a way to add a extra line but without deleting the whole text
do anyone have any ideas (2 Replies)
Discussion started by: bhaviknp
2 Replies
3. Shell Programming and Scripting
I have written a k shell program which is executing a sql and exporting data in numeric form like 0412323444 into .csv file. the problem i am facing is that , the data is coming in excel formatted in scientific form like 4.1+E08,while my requirement is to store data as such 0412323444 in excel ( no... (5 Replies)
Discussion started by: Deepak_Rastogi
5 Replies
4. Shell Programming and Scripting
Hello all
i need to pass to my shell script parameter that looks like "2 3 3"
inside the script i need to use this string that looks like this "2 3 3"
but when i try to print the script im getting syntax error , this is my script :
set s = $1
echo $s (1 Reply)
Discussion started by: umen
1 Replies
5. UNIX for Dummies Questions & Answers
Hello Guys,
I am a newbie to unix. I am having a requirement. Please help me for finding a solution for this,
I am having a file as mentioned below:
$ cat shank
ackca
acackac akcajc akcjkcja akcj
ckcklc
I want to delete all the white spaces in this file,
I tried... (2 Replies)
Discussion started by: mraghunandanan
2 Replies
6. Shell Programming and Scripting
I need some help deleting lines in a file that contain spaces. Im sure awk or sed will work but i dont know much about those commands. Any help is appreciated :D (7 Replies)
Discussion started by: r04dw4rri0r
7 Replies
7. Shell Programming and Scripting
Any help appreciated
Thanks
sample input:
> (extra spaces&tabs in here) test1 (extra spaces&tabs in here) 123.123.123.123 (extra spaces&tabs in here) abc (extra spaces&tabs in here) 123
---
< (extra spaces&tabs in... (3 Replies)
Discussion started by: goofist
3 Replies
8. Shell Programming and Scripting
I have a file which contains certain records about users. the row length is always fixed to 205 characters.
Now I want to read each record line from the file, substring some portion out of it and put into another file. But I have observed that my script is trimming the extra spaces I have used for... (4 Replies)
Discussion started by: Pramit
4 Replies
9. UNIX Desktop Questions & Answers
I have a file of about 10k records and eace line is having an extra space of 5 byte at the end.. Iwant to remove the extra spaces at the end of each line.. Can someone please help me out.. I tried using sed command and its not working... can someone please help me out. (3 Replies)
Discussion started by: rammohan
3 Replies
10. Shell Programming and Scripting
Hello,
I have a text file (say, declarevars.txt) that contains multiple lines that are essentially meant to be variable declarations:
set arr1 = (var1a var1b var1c)
set arr2 = (var2a var2b var2c)
.
.
.
I want to be able to read this text file within a csh (sorry) script and have that... (2 Replies)
Discussion started by: arjaydj
2 Replies
LEARN ABOUT REDHAT
memory_cb
MEMORY_CS(4) Kernel Interfaces Manual MEMORY_CS(4)
NAME
memory_cb - CardBus memory driver
SYNOPSIS
insmod memory_cb.o [pc_debug=n]
DESCRIPTION
Memory_cb gives direct memory access to the address spaces of CardBus cards. It provides character-mode devices for accessing a card's PCI
configuration space, up to six mapped memory or IO regions, and its expansion ROM space. When loaded, memory_cb will allocate a free major
device number. For each card, it will report which address spaces are available, and their sizes. Minor numbers have the form 'dddddsss',
where 'ddddd' is the instance number and 'sss' is the memory space for that instance. When memory_cb is bound to a card, it will report
its major and minor device numbers to cardmgr(8).
The default memory card initialization script creates device special files for all eight card address spaces, though for a particular card,
some of these may be unavailable. These devices have the following names:
/dev/cbmem#s0
The card's PCI configuration space.
/dev/cbmem#s[1-6]
The IO or memory spaces mapped by the card's six Base Address Registers.
/dev/cbmem#s7
The card's expansion ROM space.
The character special devices can be used to read and write arbitrary numbers of bytes to arbitrary locations. The memory_cb driver can be
bound to any card regardless of function.
PARAMETERS
pc_debug=n
Selects the PCMCIA debugging level. This parameter is only available if the module is compiled with debugging enabled. A non-zero
value enables debugging.
AUTHOR
David Hinds - dahinds@users.sourceforge.net
SEE ALSO
cardmgr(8), pcmcia(5), memory_cs(4).
pcmcia-cs 2000/06/12 21:24:48 MEMORY_CS(4)