hi again...need new help guys:p
the file contains following infos...
users/abc/bla1.exe
newusers/defgh/ik/albg2.exe
users2/opww/ertz/qqwertzu/rwerwew.exe
how to get the file content into...
users/abc/
newusers/defgh/ik/
users2/opww/ertz/qqwertzu/
with...
you can erase the... (5 Replies)
Hi,
I have a variable read from user input:
PROFILESROOTDIR="\\194.185.82.188\CMSRepository\EncodingProfiles"
awk -F"=" -v gr=$PROFILESROOTDIR '/ProfilesRootDirectoryFromXOEMachine/{$2=gr;}1' OFS="=" $CFGFILE > "${CFGFILE}_new"
For this awk to work properly I need to replace in the... (7 Replies)
Hi Gurus,I have a seemingly simple problem but struggling with it.It is as follows :
I/p string -
ABCDEFGHIJ20100909.txt
desired o/p -
AB,DEF,20100909,ABCDEFGHIJ20100909.txt
How to achieve it ?Thanks in advance.
Please use code tags, thank you (20 Replies)
Using awk I required to cut out column contain word "-Tag" regardles of any order of contents and case INsensitive
-Tag:messages -P:/var/log/messages -P:/var/log/maillog -K:Error -K:Warning -K:critical
Please Guide ......
--Shirish Shukla
---------- Post updated at 05:58 AM... (15 Replies)
helloo
I wonder if there's a way to cut characters out of a string and keep only
the last 2 by using sed.
For example if there's the todays' date:
2012-05-06
and we only want to keep the last 2 characters which are the day.
Is there a quick way to do it with sed? (2 Replies)
here is what i want to achieve... consider a file contains below contents. the file size is large about 60mb
cat dump.sql
INSERT INTO `table1` (`id`, `action`, `date`, `descrip`, `lastModified`) VALUES (1,'Change','2011-05-05 00:00:00','Account Updated','2012-02-10... (10 Replies)
I have text file which is a tab delimited one. Sample data from the file is shown below:
unix is\ great\ os
linux\ is superb
I want to replace that backslash with empty string preserving the tab delimiter. Output should be
unix is great os
linux is ... (3 Replies)
Discussion started by: p.akhilreddy4u
3 Replies
LEARN ABOUT SUSE
build-jar-repository
BUILD-JAR-REPOSITORY(1) User Commands BUILD-JAR-REPOSITORY(1)NAME
build-jar-repository - create a symbolic link to a JAR
SYNOPSIS
build-jar-repository [OPTION]... DIRECTORY... JAR
DESCRIPTION
Build a JAR repository in the named directory by copying files or creating symbolic links
OPTIONS
If no option is specified the default action will be to create symbolic links
-c, --copy
copy files
-h, --hard
create hard links
-p, --preserve-naming
try to preserve the names of the original JAR files (in case of a nested hit the slashes in the path will still be replaced by
underscores)
using this option makes any future automated repository rebuild impossible, and implies -c unless specified otherwise
-s, --soft, --symbolic
create symbolic links (default)
--help
display help text
EXAMPLES
build-jar-repository . jndi
will create a symbolic link to the JNDI JAR in the current working directory
build-jar-repository -h /tmp oro
will create a hard link to the ORO JAR in /tmp
AUTHOR
Written by Nicholas Mailhot and David Walluck
REPORTING BUGS
Report bugs using JPackage Bugzilla (http://www.jpackage.org/bugzilla/)
build-jar-repository (jpackage-utils) 1.7.0 March 2006 BUILD-JAR-REPOSITORY(1)