07-29-2009
sed '1d; /@executable_path/d; s/\(^[^ ]*\) .*$/\1/; s/\(^[^ ]*\) .*$/\1/; s/\/Versions//' filename
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi friends!
I have a tab delimited file with two columns :
GB_45_DRB SP:0139466(mrmi sisignm)|SP:3674(fllflg_itoioh)|SP:68954779(RMTKLGF to emmdm-roomto)
GB_45_DRD SP:475928(mgmdksi rikgkg)|SP:587959(roykgl tiic-tm)|SP:0139466(mrmi sisignm)|SP:3674(fllflg_itoioh)|SP:68954779(RMTKLGF to... (4 Replies)
Discussion started by: jacks
4 Replies
2. Shell Programming and Scripting
Hi,
I have a string like this user can specify different query sets that is why "or" is mentioned:
$string="](";
or
$string="]((";
or
$string="](((";
or
$string="]((((("; (1 Reply)
Discussion started by: vanitham
1 Replies
3. UNIX for Advanced & Expert Users
Hello,
I am trying to grep string with square brackets.
for example I want to grep the below string in log.txt file.
This is a test
thanks in advance. (2 Replies)
Discussion started by: sureshcisco
2 Replies
4. UNIX for Dummies Questions & Answers
My server got messed up and the names of my files were not completely processed. As results I ended up getting a bunch of files with the following names:
I need to remove the underscore and everything before it. Thus, the files will be renamed to something like this:
Any help will be greatly... (3 Replies)
Discussion started by: Xterra
3 Replies
5. Shell Programming and Scripting
i have something like this...
echo "teCertificateId" | awk -F'Id' '{ print $1 }' | awk -F'te' '{ print $2 }'
Certifica
the awk should remove 'te' only if it is present at the start of the string.. anywhere else it should ignore it.
expected output is
Certificate (7 Replies)
Discussion started by: vivek d r
7 Replies
6. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
I have to write a script using sed, which delete everything between curly brackets and the brackets themself. The brackets might be nested.
The input-file is:
aaa { bbb ccc { ddd eee } fff { ... (2 Replies)
Discussion started by: FuzzyGnome
2 Replies
7. Shell Programming and Scripting
How can I delete a column from a CSV file which has comma separated value with a string enclosed in double quotes and a comma in between? I have a file 44.csv with 4 lines including the header like the below format:
column1, column2, column3, column 4, column5, column6
12,455,"string with... (6 Replies)
Discussion started by: dhruuv369
6 Replies
8. Shell Programming and Scripting
Okay, I would like to delete all the commas in a .CSV file (TEST.CSV) or at least substitute them with empty space, that are enclosed in double quote.
Please see the sample file as below:
column 1,column 2,column 3,column 4,column 5,column 6,column 7,column 8,column 9,column 10... (8 Replies)
Discussion started by: dhruuv369
8 Replies
9. Shell Programming and Scripting
Hi
How can I delete a columns from a CSV file which has comma separated value with a string enclosed in double quotes or square bracket and a comma in between?
I have a csv file with below format.
Template,Target Server,Target Component,Rule Group,Rule,Rule Reference Number,Rule... (7 Replies)
Discussion started by: Litu19
7 Replies
10. Shell Programming and Scripting
Hello
I'm writing a handler for ffmpeg, and having troubles to catch some exceptions that may occour with certain files.
In order to parse for video & subtitle maps, i've had to make the raw data easier to handle, until now this worked well, but basicly i've just been lucky...
The input... (1 Reply)
Discussion started by: sea
1 Replies
LEARN ABOUT DEBIAN
regfiledump
REGFILEDUMP(1) The Regina Handbook REGFILEDUMP(1)
NAME
regfiledump - Dump the contents of a Regina data file
SYNOPSIS
regfiledump [ -f | -l | -n ] [ -c ] file [ packet-label ... ]
DESCRIPTION
This utility dumps the contents of the given Regina data file to standard output in a human-readable format.
If a list of packet labels is given on the command-line, only those packets will be output. Otherwise all packets in the given file will
be output.
OPTIONS
-f (default)
Output full packet details. The output for each packet will cover several lines, beginning with basic details (such as the packet
label and type) followed by the packet's long description.
-l Output a list of packet labels and types only, one packet per line.
-n Don't output any packets at all; this option forces a packet count (see option -c).
-c Finish the output with a total count of all packets in the file.
INTERNATIONALISATION
If any packets contain international characters, Regina will attempt to convert these to your local character encoding as it writes them to
the output.
You can tell Regina what character encoding to use by setting standard locale-related environment variables, such as LANG, LC_CTYPE or
LC_ALL.
For example, if LANG is set to en_AU then output will be written in the Western European character set ISO-8859-1, and if LANG is set to
en_AU.UTF-8 then output will be written in the universal character set UTF-8.
Typically these environment variables will already be set for you when you install your GNU/Linux system, and Regina will just use the
right character set out of the box. See your GNU/Linux system reference for further information on supporting different locales.
MACOS X USERS
If you downloaded a drag-and-drop app bundle, this utility is shipped inside it. If you dragged Regina to the main Applications folder,
you can run it as /Applications/Regina.app/Contents/MacOS/regfiledump.
WINDOWS USERS
The command-line utilities are installed beneath the Program Files directory; on some machines this directory is called Pro-
gram Files (x86). You can start this utility by running c:Program FilesReginaRegina 4.93in
egfiledump.exe.
SEE ALSO
regina-gui.
AUTHOR
This utility was written by Benjamin Burton <bab@debian.org>. Many people have been involved in the development of Regina; see the users'
handbook for a full list of credits.
28 May 2012 REGFILEDUMP(1)