09-15-2012
What shell are you using? It needs a bourne shell. Try putting #!/bin/sh as the first line, or running it like sh scriptname
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i am using AIX -ksh
how can i reverse any file ,i have already try tac cmd it is not in AIX:
please help me out. (3 Replies)
Discussion started by: RahulJoshi
3 Replies
2. Shell Programming and Scripting
Hi Everyone,
I have one a.txt:
a b 001 c
b b 002 c
c c, not 002 c
The output should be
001
002
002
If i use cut -f 3 -d' ', this does not work on the 3rd line, so i thought is any way to cut the field counting from the end? or any perl thing can do this?:confused:
... (3 Replies)
Discussion started by: jimmy_y
3 Replies
3. Shell Programming and Scripting
Hi,
I've internally searched through forums for about 2+ hours. Unfortunately, with no luck. Although I've found some cases close to mine below, but didn't help so much.
Actually, I'm in short with time. So I had to post my case. Hoping that you can help.
I have 2 files,
FILE1
... (0 Replies)
Discussion started by: amurib
0 Replies
4. Shell Programming and Scripting
Hi,
I've internally searched through forums for about 2+ hours. Unfortunately, with no luck. Although I've found some cases close to mine below, but didn't help so much.
Actually, I'm in short with time. So I had to post my case. Hoping that you can help.
I have 2 files,
FILE1
... (1 Reply)
Discussion started by: amurib
1 Replies
5. Shell Programming and Scripting
Hi Friends,
Need Help. I have file1.txt as
File1.txt
|123|A|7267|Hyder|Cross|Sell|7801
|995|A|7051|2008|Lunar|New|Year|Promotion|7801
|996|A|7022|Q108|Targ|Prospect|&|SSCC|Savings|Promo|7801
|997|A|7182|Q1|Feb-Apr|08|Credit|ITA|PA|SBA|Campaign|7801
File2.txt... (7 Replies)
Discussion started by: i150371485
7 Replies
6. Shell Programming and Scripting
Hi Freinds,
I have 2 files . one is source.txt and second one is target.txt. I want to keep source.txt as baseline and compare target.txt. please find the data in 2 files and Expected output.
Source.txt
1|HYD|NAG|TRA|34.5|1234
2|CHE|ESW|DES|36.5|134
3|BAN|MEH|TRA|33.5|234... (5 Replies)
Discussion started by: i150371485
5 Replies
7. Shell Programming and Scripting
Hello,
I have a file:
xandyandz
x & y & z
x*y*z*a
I require output as:
zandyandx
z & y & x
a*z*y*x
here all lines have different field seperator (and & * )based on that i want to reverse the column of a file.
Pl. help. (8 Replies)
Discussion started by: nehashine
8 Replies
8. Linux
I have a .CSV file (file.csv) whose data are all enclosed in double quotes. Sample format of the file is as below:
column1,column2,column3,column4,column5,column6, column7, Column8, Column9, Column10
"12","B000QRIGJ4","4432","string with quotes, and with a comma, and colon: in... (3 Replies)
Discussion started by: dhruuv369
3 Replies
9. Shell Programming and Scripting
Hello,
I have a text file in the below format:
Source Destination State Lag Status
CQA02W2K12pl:D:\CAQA ... (10 Replies)
Discussion started by: pocodot
10 Replies
10. Shell Programming and Scripting
Hello everybody :)
I have specific problem when i use
rev | uniq -f 3 -c | revORIGINAL Output-
(without rev | uniq -f 3 -c | rev)
tibenska13 Oct 30 00:26firsth revOUTPUT-
62:00 03 tcO 31aksnebitafter uniq -f 3 -cOUTPUT-
19 62:00 03 tcO 31aksnebitafter next revOUTPUT-
tibenska13 Oct 30 00:26... (7 Replies)
Discussion started by: netsys
7 Replies
LEARN ABOUT DEBIAN
requestbackport
requestbackport(1) General Commands Manual requestbackport(1)
NAME
requestbackport - File a backport request bug
SYNOPSIS
requestbackport [options] package
DESCRIPTION
Determine the intermediate releases that package needs to be backported to, list all reverse-dependencies, and file the backporting
request. requestbackport will include a testing checklist in the bug.
OPTIONS
-d DEST, --destination=DEST
Backport to DEST release and necessary intermediate releases. Default: current stable release.
-s SOURCE, --source=SOURCE
Backport from SOURCE release. Default: current development release.
-l INSTANCE, --lpinstance=INSTANCE
Launchpad instance to connect to. Default: production.
--no-conf
Don't read config files or environment variables
-h, --help
Display a help message and exit.
SEE ALSO
backportpackage(1), reverse-depends(1).
AUTHORS
reverse-depends and this manpage were written by Stefano Rivera <stefanor@ubuntu.com>.
Both are released under the terms of the ISC License.
ubuntu-dev-tools November 2011 requestbackport(1)