Search Results

Search: Posts Made By: gammaman
15,012
Posted By gammaman
thanks for the reply. how about just regular new...
thanks for the reply. how about just regular new users?

gammman
15,012
Posted By gammaman
creating admin account
does any know how I can create more admin login accounts in unix? would there be a file somewhere that would have a list of these accounts?

thanks,
gammaman
1,499
Posted By gammaman
would there be a way to do it just using grep?...
would there be a way to do it just using grep? i'm trying to use it with the grep that's avaliable in perl

thanks
1,499
Posted By gammaman
fiddling with grep
hi,

i'm trying to get grep to only look for input within the first pair of parenthesis. For example,

(blah blah lookhere) blah blah blah

the above input should return the line if i'm...
20,790
Posted By gammaman
removing parts of a line with SED
hi,

i'm trying to erase all the characters after, and including, the first [ bracket.
Example: test1 test2 test3 [test4 test5] test test [a b c]
Output: test1 test2 test3

this is what I...
2,868
Posted By gammaman
thanks for the reply. The sort I'm trying to do...
thanks for the reply. The sort I'm trying to do is done through a file that lists the filepaths. I don't have access to the actual path. Can this be done?

thanks,
gammaman
2,868
Posted By gammaman
replacing characters in order to sort
hi,

i want to rename all the file names in order so that they can be sorted later.
For example, my filenames are like path\1, path\2...path\10, path\11.
But when I sort them, it sorts by the...
13,496
Posted By gammaman
thanks! :D
thanks! :D
13,496
Posted By gammaman
thanks for the post, but i'm trying to get so...
thanks for the post, but i'm trying to get so that only "test (dafs) test test" will be displayed and "blah blah blah (aldj)" will be cut off. The code works, but instead it cuts off "test (dafs)...
13,496
Posted By gammaman
another sed question about parenthesis
hi,

I'm trying to use sed to erase everything, up to, and including, the first closing parenthesis. for example:
input: blah blah blah (aldj) test (dafs) test test.
output: test (dafs) test...
2,766
Posted By gammaman
erasing portion of line with sed (only once)
hi,

I'm trying to use sed to erase everything, up to the first parenthesis. for example:
input: blah blah blah (aldj) test (dafs) test test.
output: (aldj) test (dafs) test test.

how would i...
33,557
Posted By gammaman
possible to escape the \ character in sed?
is it possible to escape the \ character in sed?

right now I'm trying to replace all occurances of \ with \\

sed \"s|test|test_replacement|g\" file1 > output; #this works fine
sed...
3,463
Posted By gammaman
erasing blank lines using sed
do you also know how I can erase only the blank lines of a huge file?

I was thinking something similar to this, but this might also erase the blank spaces on lines with words?
sed "s|*[]*||g"...
3,463
Posted By gammaman
thanks! this helped a lot
thanks! this helped a lot
3,463
Posted By gammaman
erasing portion of line with sed
hi,

I'm trying to use sed to erase everything, and including the ending parenthesis. For example:
input: blah blah blah (12355)this is what i want.
output: this is what i want.

how would i...
8,288
Posted By gammaman
hi, I'm using windows XP that has a window's...
hi,
I'm using windows XP that has a window's version of grep (GnuWin32) installed. What I'm doing is writing a perl script that will run the cleartool program from ClearCase, and pipe the results...
8,288
Posted By gammaman
grep error message
hi,

I get this error message after I pipe a lot of output into grep. Does anyone know what his means?

grep: writing output: Invalid argument

thanks,
gammaman
1,704
Posted By gammaman
output and execute
hi,

does this mean that the output will go to a file named $3 with an x in the end, and then it will be executed?

grep $1 filename > $3x
chmod a+x $3x
$3x

thanks
1,898
Posted By gammaman
second opinion on sed script
i'm trying to figure out a script that uses sed, and i'm not totally sure if it does what I think it does.
The script...
- takes in 3 inputs, $1, $2 are names. $3 is a file.
- filename is a...
Showing results 1 to 19 of 19

 
All times are GMT -4. The time now is 10:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy