I have huge file. I want to copy the lines which have first character as 2 or 7, and also which has fist two characters as 90. I need only these records from file. How I can acheive this. Can somebody help me..... (2 Replies)
Hey,
examples of the input (text line):
/bla/blMOasdn234.adanif24/blabla.rar
/bla/blMOasdn234.adanif24/blabla23124.bin
/bla/bla/bla/bla/bla/bla.bin
and what I need to do is extract/select only the dir path so the output would be:
/bla/blMOasdn234.adanif24/
/bla/blMOasdn234.adanif24/... (4 Replies)
Hi I have i doubt, actually i have to select everything before a word(pattern).For that i am using sed
i am using the below line of code but it is not working i am getting a blank instead..
sed -n '/regexp/{g;1!p;};h' file1
Can anyone help?
Thanks (15 Replies)
Hi,
I have a requirement to select only a specific pattern from a flat file and delete its occurance.
For eg.
If my file contains :
<A1>1234</A1>
<A2>5678</A2>
<ABC>1234</ABC>
<A3>0987</A3>
Then, i want to delete <ABC>1234</ABC> from the file and have the contents as :-... (7 Replies)
Okay -- I hope I ask this correctly.
I'm working on my little shell script to write vendor names and aliases to files from user input. If a user choose to add to a file, he can do that as well. I'm using a select loop for this function to list all the possible files the user can choose from.... (7 Replies)
Greetings,
I am writing a script which requires as a part, selecting all the lines between the first and last occurrence of a pattern.
I have an nawk alternative that is working. But thre should be a generic script that should run on all os viz, linux, sun , aix.
The awk script that i... (25 Replies)
Hi,
I am really new in the shell script, but it is really useful for me to learn.
I have one question,
I have a large text document (actually few of them), inside there are lines with information about energies, between 10 to 20 of this lines, varies from one doc to another one, my questions... (11 Replies)
Hello,
I have script which work 70% of the desired task , the output from script.sh is following , however the desired output I require is following .
Any piece of suggestion would be great..
thanks in advance,
emily
#!/bin/bash ... (8 Replies)
I want to select 2nd, 3rd columns if line has "key3" and print rest of the lines as is.
# This is my sample input
key1="val1" key2="val2" key3="val3" key4="val4"
some text some text
some text some text
key1="val1" key2="val2" key3="val3" key4="val4"
some text some text
some text some... (3 Replies)
Discussion started by: kchinnam
3 Replies
LEARN ABOUT DEBIAN
felix-framework
FELIX(1) User Commands FELIX(1)NAME
felix-framework - command line Felix OSGi Framework launcher
SYNOPSIS
felix-framework [-b <bundle-deploy-dir>] [<bundle-cache-dir>]
DESCRIPTION
felix-framework provide a way to start Apache Felix OSGi Framework from command line. After startup, it provide some simple commands to
help management of OSGi bundle.
OPTIONS -b bundle-deploy-dir
The Felix launcher deploys all bundles in the auto-deploy directory into the framework instance during startup. By default, the
auto-deploy directory is /usr/share/felix-framework/bundle/ Specifying an auto-deploy directory replaces the default directory, it
does not augment it.
bundle-cache-dir
path you want to use as the bundle cache. If you specify a relative cache path, then it will be treated as relative to ~/.felix/ By
default, felix-framework will use ~/.felix/felix-cache/
FILES
/etc/felix-framework/config.properties
The system wide configuration file for Felix Framework. See <URL:http://felix.apache.org/site/apache-felix-framework-configuration-
properties.html> for further details.
FILES
~/.felix/
Default user cache directory for OSGi bundle information.
AUTHOR
Damien Raude-Morvan <drazzib@debian.org>
SEE ALSO
<URL:http://felix.apache.org/site/apache-felix-framework-usage-documentation.html>
Felix November 2011 FELIX(1)