Agreed using file is a good option, but be carefull as the output of file is pretty system specific and you code may not work on another OS or updated version of your OS.
On my OS DOS format files are reported by file as:
While unix formatted files are reported as:
And zip files appear as:
hi everyone, im new here and am in desperate need of help. I want to convert my 32 bit unix time stamp ' 45d732f6' into a readable format (Sat, 17 February 2007 16:53:10 UTC) using c++.
I have looked around the interent but i just cant make sense of anything. All examples i can find just... (3 Replies)
My input file is Pipe delimited with 10 fields, I am trying to create a tab delimited output file with 6 fields from the provided input file.
Below is sample data
Input file
abc||2|PIN|num||||www.123.com|abc@123.com|
bcd||2|PIN|num|||||abc@123.com|... (3 Replies)
Hi All,
Is there any way to convert a file which is in UNIX format to a PC format....
Flip command can be used , apart form this command can we have any other way.... like usinf "awk" etc ..... main purpose of not using flip is that my Kshell doesnot support this comamnd.... (1 Reply)
Hi All,
Is there any way to convert a file which is in UNIX format to a PC format....
Flip command can be used , apart form this command can we have any other way.... like usinf "awk" etc ..... main purpose of not using flip is that my Kshell doesnot support this comamnd.... (2 Replies)
Hello, excuse my English... I'm trying to do a nautilus-script to transform a normal A4 pdf to another pdf with book format, ready to be printed (double sided). I mean, the script put pages in order and also put 2 pages per horizontal A4 page (p.e.: a pdf with 8 pages would look like: 8-1, 2-7,... (2 Replies)
With reference to , the script posted by dokan fails via a Bash syntax error because my version of pdftk 1.41 has multiple lines matching to "Num", which are stored in the TOTAL variable. If we modify the first non-ignored line of the script from
# Original
TOTAL=$( pdftk "$1" dump_data output |... (1 Reply)
Hi,
I am new to shell scripting and exploring it , I have developed few sample shell script but I have developed them on windows xp notepad and then saving them on folder and then testing them on cywgin and running perfectly...but these scripts are in dos format and I want to convert them in unix... (1 Reply)
Hi All,
I need help in converting the mentioned file format into desired output format using awk. Could anyone help me in this?
Below is the input..
Date Account Campaign AdGroup Keyword Conversion Revenue Var1 Var2 Var3 Var4 Var5 10 20 30 ... (8 Replies)
My file format:
--------------------------------------------------
Complete Consistency Check
Valid Area : VALID:VALID
Started by : esanwad
Started at : Thu Dec 11 16:04:46 2014
CNA version : R21H04_EC08
Check range : AREA VALID/VALID
... (4 Replies)
Discussion started by: Gautam Banerjee
4 Replies
LEARN ABOUT DEBIAN
x-tile
X-TILE(1) General Commands Manual X-TILE(1)NAME
x-tile - select windows and adjust their tiling
SYNOPSIS
x-tile [option][rows][columns]
DESCRIPTION
This manual page documents briefly the x-tile command.
x-tile is a program that allows tiling selected windows as desired.
In addition of the predefined tilings, it allows user to create up to two user defined tilings to be applied later.
It also provides a system tray icon for faster access to tiling menu.
OPTIONS
This program doesn't follow the usual GNU command line syntax, with long options starting with two dashes (`-'). Instead, it uses case sen-
sitive single letter options, followed by arguments when required. A summary of options is included below.
w Open the x-tile main window without using the panel.
z Undo the latest tiling operation.
v Tile all opened windows vertically.
h Tile all opened windows horizontally.
u Tile all opened windows triangularly, top up.
d Tile all opened windows triangularly, top down.
l Tile all opened windows triangularly, top left.
r Tile all opened windows triangularly, top right.
q Tile all opened windows in a four square grid.
g Tile all opened windows in a grid with the given rows and columns.
1 Apply user defined tiling #1 to all opened windows.
2 Apply user defined tiling #2 to all opened windows.
i Invert the order of the latest tiling operation.
m Maximize all opened windows.
M Unmaximize all opened windows.
c Close all opened windows.
Any other
Show a brief summary of options.
AUTHORS
x-tile was written by Giuseppe Penone <giuspen@gmail.com> and Chris Camacho <chris_camacho@yahoo.com>.
This manual page was written by Ricardo Mones <mones@debian.org>, for the Debian project (and may be used by others).
May 7, 2012 X-TILE(1)