Search Results

Search: Posts Made By: flame_eagle
44,511
Posted By flame_eagle
The find didn't work because of the -iname...
The find didn't work because of the -iname argument
44,511
Posted By flame_eagle
@summer_cherry I modified your suggestion to...
@summer_cherry

I modified your suggestion to fit my situation like this :
find . -name "*.properties" | xargs /usr/xpg4/bin/grep -f flags | sed 's/^.*\.properties://' | cat >> c

but it gave...
44,511
Posted By flame_eagle
I tried without the xpg4 version of grep, but it...
I tried without the xpg4 version of grep, but it gives : grep: illegal option -- f
44,511
Posted By flame_eagle
find then grep
I have some patterns that I need to match with the content of several files and I'm having trouble to do it

Here is what I tried already :

ksh won't even execute this

#!/bin/ksh...
9,450
Posted By flame_eagle
Might be a permission problem, I know I had to do...
Might be a permission problem, I know I had to do a "chmod 700" on the .ssh folder with FreeBSD
6,436
Posted By flame_eagle
It didn't recognize the -o argument I was...
It didn't recognize the -o argument

I was able to combine what I tried with Franklin52's suggestion to achieve what I needed.

find .tap_profile_* | grep "[A-Z]\{3\}[A-Z0-9][0-9]$" | awk -F"_"...
6,436
Posted By flame_eagle
find .tap_profile_* |awk -F"_" '{print $3}' ...
find .tap_profile_* |awk -F"_" '{print $3}'
DEV07
DEV07
DEV08
GFER1
SIT02

I'm still getting results that I don't need (.tap_profile_DEV07_6.2.1.0 should be ignored)
6,436
Posted By flame_eagle
find .tap_profile_* .tap_profile_DEV07 ...
find .tap_profile_*
.tap_profile_DEV07
.tap_profile_DEV07_6.2.1.0
.tap_profile_DEV08
.tap_profile_GFER1
.tap_profile_SIT02

find .tap_profile_* | sed 's/.*_\(.*\)/\1/'
DEV07
6.2.1.0
DEV08...
6,436
Posted By flame_eagle
I'll do the modification later, it never hurt to...
I'll do the modification later, it never hurt to be more rigorous :)

Also, to make things clearer, let's say there is a file named ".tap_profile_SIT02old", I don't need it in the resulting file
6,436
Posted By flame_eagle
part of a filename
Hi,

I need to extract only a part of the filenames of some files. The files are named this way :

.tap_profile_SIT02

I want the "SIT02" part, which is not the same for each file. I was able...
13,227
Posted By flame_eagle
Thanks everyone for your suggestions. I...
Thanks everyone for your suggestions.

I tried joeyg's solution and it works. I'm probably going to use it since it's pretty simple and I'm not the one who will be using this.

I'm taking good...
13,227
Posted By flame_eagle
Ascii to caracter
Hi,

I'm trying to get from "a" to "b". So far, I've been able to get the ascii code for "a" and from there to get the code for "b". But, and this is were I'm stuck, I can't find how to show the...
4,265
Posted By flame_eagle
Thanks, that worked. Should have thought about...
Thanks, that worked. Should have thought about something like that....
4,265
Posted By flame_eagle
I'll reexplain my problem. The script I'm...
I'll reexplain my problem.

The script I'm working on will run on a server divided in "environnements". By selecting "a", it redirects to a certain folder. From there, it does what it has to do....
4,265
Posted By flame_eagle
Redirecting to stdin
Hi,

I'm having trouble with my script. I have to select different choices without any interaction from a menu that looks like :

a - xxxxxxxxxxxxxx
b - xxxxxxxxxxxxxx
c - xxxxxxxxxxxxxx
d -...
Showing results 1 to 15 of 15

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