08-26-2008
Iterative operation
grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' then how do i iterate the file names??
Last edited by ravis83; 08-27-2008 at 09:20 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
How to undo split operation ? (1 Reply)
Discussion started by: scotty_123
1 Replies
2. Shell Programming and Scripting
I am using egrep to extract numbers from a file and storing them as variables in a script. But I am not able to do any arithmetic operations on the variables using "expr" because it stores them as char and not integers. Here is my code and the error I get. Any help will be appreciated.
#!/bin/sh... (3 Replies)
Discussion started by: emjayshaikh
3 Replies
3. Shell Programming and Scripting
Hi, I would like ask for you help for coding array operation.
array= ( a b c d e f )
I would like to remove entry "d" from my array and import the remaining entries back to the array.
Thanks. (3 Replies)
Discussion started by: phamp008
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Can anyone explain me what is the functionality of this code
cat << EOF > $TSTFILE
/$1/ { print "SENT" }
EOF
Suggestions welcome
Thanks in advance (0 Replies)
Discussion started by: trichyselva
0 Replies
5. Shell Programming and Scripting
Gurus - Please help with this urgent situation.
I have the following problem to solve using a shell script:
1. There are about 13 files named CONTAINER_1.lst, CONTAINER_2.lst, CONTAINER_3.lst .....CONTAINER_13.lst
2. Each of these files contain about 8 lines (in most cases) containing... (1 Reply)
Discussion started by: inditopgun
1 Replies
6. UNIX for Dummies Questions & Answers
I am trying to ask for full name in a script, Then echo back to the user with the surname only, omitting the first name.
Thanks (2 Replies)
Discussion started by: orjnet
2 Replies
7. Shell Programming and Scripting
Hi I am new to shell scripting and trying to get values from a text file,
I have a text file with values seperated with "|". like
aga|120220090525|120220090525|120220090525|120220090530
bab|120220090530|120220090530|120220090535|120220090535|120220090535... (4 Replies)
Discussion started by: mannepalli
4 Replies
8. Shell Programming and Scripting
I have a txt file with several columns and i want to peform an operation on two columns and output it to a new txt file .
file.txt
900.00000 1 1 1
500.00000
500.00000
100000.000
4
4
1.45257346E-07 899.10834 ... (4 Replies)
Discussion started by: shashi792
4 Replies
9. Shell Programming and Scripting
I have always struggled when parsing a file vertically vs. by line horizontally. Can't seem to get my head around the concept. Here again I need to convert vertical output to horizontal output.
original output
root@acuransx:bpplsched 2000-STAND3 -v -M acuransx -l
<2>bpplsched: INITIATING:... (4 Replies)
Discussion started by: jouuu
4 Replies
10. Shell Programming and Scripting
I need to read a file line by line, then depending on the contents of each line, type in a code that will get written to an array.
The problem I have is when I ask the user to confirm the input code, if it is wrong, how do i Return to ask again?
Any thing I try increments the file to the next... (6 Replies)
Discussion started by: kcpoole
6 Replies
rmfset(8) System Manager's Manual rmfset(8)
NAME
rmfset - Removes a fileset or a clone fileset from an AdvFS file domain
SYNOPSIS
/sbin/rmfset [-f] domain fileset
OPTIONS
Turns off the message prompt.
OPERANDS
Specifies the name of an existing AdvFS file domain. Specifies the name of the fileset to be removed from the specified file domain.
DESCRIPTION
The rmfset command removes a fileset (and all of its files) from an existing AdvFS file domain. Unless you use the -f option, you are
prompted with the following request before a fileset is removed: rmfset: remove fileset <filesetname>? [y/n]
If you answer n, the fileset is not removed. If you answer y, the fileset is removed.
The -f option is useful for scripts or when you do not want to be queried about each fileset. If you choose the -f option, no prompts are
displayed. The rmfset command operates as if you responded yes to the prompt.
Unmount a fileset before removing it with the rmfset command.
RESTRICTIONS
A fileset or clone fileset cannot be removed with this command if it is mounted.
A fileset that has a clone fileset cannot be removed with this command until the clone fileset has been removed.
You must be the root user to use this command. An rmfset operation can hang if you attempt to remove a fileset and the target AdvFS domain
is experiencing heavy I/O. To work around the restriction, avoid using the utility on busy AdvFS domains.
EXAMPLES
The following example deletes the test_fset fileset from the test_domain file domain. In this example, the test_fset fileset is mounted on
the /mnt3 directory: # umount /mnt3 # rmfset test_domain test_fset rmfset: remove fileset test_fset? [y/n] y #
SEE ALSO
Commands: mkfset(8), showfdmn(8), showfsets(8), mount(8)
Functions: advfs_rmfset(3)
File Formats: advfs(4)
rmfset(8)