Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6966651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:13:10+00:00 2026-05-27T16:13:10+00:00

This is my input file /home/edwprod/dnp >ls -R | grep :$ | sed -e

  • 0

This is my input file

/home/edwprod/dnp >ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//|---/g' -e 's/---|/   |/g' | grep -v "^\." 2>/dev/null
|---archive
|---bin
|   |---full_refresh
|   |---to_be_deleted
|---in_dir
|---landing
|   |---archive
|---log
|---tmp
/home/edwprod/dnp >

|---dat_profile_backup
|---mis
|   |---export
|   |   |---home
|   |   |   |---dss1user
|   |   |   |   |---audit
|   |   |   |   |---backup
|   |   |   |   |---bin
|   |   |   |   |   |---To_b_deleted
|   |   |   |   |   |---to_be_deleted
|   |   |   |   |---config
|   |   |   |   |---error
|   |   |   |   |---logs
|   |   |   |   |---plsql
|   |---landing_pad
|   |   |---5.8.7
|   |   |   |---bin
|   |   |   |---lib
|   |   |   |   |---5.8.7
|   |   |   |   |   |---Attribute
|   |   |   |   |   |   |---Handlers
|   |   |   |   |   |   |   |---demo
|   |   |   |   |   |---B
|   |   |   |   |   |---CGI
|   |   |   |   |   |   |---eg
|   |   |   |   |   |---CPAN
|   |   |   |   |   |---Carp
|   |   |   |   |   |---Class
|   |   |   |   |   |   |---ISA
|   |   |   |   |   |---DBM_Filter
|   |   |   |   |   |---Devel
|   |   |   |   |   |---Digest
|   |   |   |   |   |---Encode
|   |   |   |   |   |   |---CN
|   |   |   |   |   |   |---JP
|   |   |   |   |   |   |---KR
|   |   |   |   |   |   |---MIME
|   |   |   |   |   |   |---Unicode
|   |   |   |   |   |---Exporter
|   |   |   |   |   |---ExtUtils
|   |   |   |   |   |   |---Command
|   |   |   |   |   |   |---Constant
|   |   |   |   |   |   |---Liblist
|   |   |   |   |   |   |---MakeMaker
|   |   |   |   |   |---File
|   |   |   |   |   |   |---Spec
|   |   |   |   |   |---Filter
|   |   |   |   |   |   |---Simple
|   |   |   |   |   |---Getopt
|   |   |   |   |   |   |---Long
|   |   |   |   |   |---Hash
|   |   |   |   |   |---I18N
|   |   |   |   |   |   |---LangTags
|   |   |   |   |   |---IO
|   |   |   |   |   |   |---Socket
|   |   |   |   |   |---IPC
|   |   |   |   |   |---List
|   |   |   |   |   |---Locale
|   |   |   |   |   |   |---Codes
|   |   |   |   |   |   |---Maketext
|   |   |   |   |   |---Math
|   |   |   |   |   |   |---BigFloat
|   |   |   |   |   |   |---BigInt
|   |   |   |   |   |---Memoize
|   |   |   |   |   |---NEXT
|   |   |   |   |   |---Net
|   |   |   |   |   |   |---FTP
|   |   |   |   |   |   |---Ping
|   |   |   |   |   |   |---demos
|   |   |   |   |   |---PA-RISC2.0
|   |   |   |   |   |   |---B
|   |   |   |   |   |   |---CORE
|   |   |   |   |   |   |---Data
|   |   |   |   |   |   |---Devel
|   |   |   |   |   |   |---Digest
|   |   |   |   |   |   |---Encode
|   |   |   |   |   |   |---File
|   |   |   |   |   |   |---Filter
|   |   |   |   |   |   |   |---Util
|   |   |   |   |   |   |---I18N
|   |   |   |   |   |   |---IO
|   |   |   |   |   |   |---IPC
|   |   |   |   |   |   |---MIME
|   |   |   |   |   |   |---PerlIO
|   |   |   |   |   |   |---Sys
|   |   |   |   |   |   |---Time
|   |   |   |   |   |   |---Unicode
|   |   |   |   |   |   |---XS
|   |   |   |   |   |   |---auto
|   |   |   |   |   |   |   |---B
|   |   |   |   |   |   |   |   |---C
|   |   |   |   |   |   |   |---ByteLoader
|   |   |   |   |   |   |   |---Cwd
|   |   |   |   |   |   |   |---Data
|   |   |   |   |   |   |   |   |---Dumper
|   |   |   |   |   |   |   |---Devel
|   |   |   |   |   |   |   |   |---DProf
|   |   |   |   |   |   |   |   |---PPPort
|   |   |   |   |   |   |   |   |---Peek
|   |   |   |   |   |   |   |---Digest
|   |   |   |   |   |   |   |   |---MD5
|   |   |   |   |   |   |   |---DynaLoader
|   |   |   |   |   |   |   |---Encode
|   |   |   |   |   |   |   |   |---Byte
|   |   |   |   |   |   |   |   |---CN
|   |   |   |   |   |   |   |   |---EBCDIC
|   |   |   |   |   |   |   |   |---JP
|   |   |   |   |   |   |   |   |---KR
|   |   |   |   |   |   |   |   |---Symbol
|   |   |   |   |   |   |   |   |---TW
|   |   |   |   |   |   |   |   |---Unicode
|   |   |   |   |   |   |   |---Fcntl
|   |   |   |   |   |   |   |---File
|   |   |   |   |   |   |   |   |---Glob
|   |   |   |   |   |   |   |---Filter
|   |   |   |   |   |   |   |   |---Util
|   |   |   |   |   |   |   |   |   |---Call
|   |   |   |   |   |   |   |---I18N
|   |   |   |   |   |   |   |   |---Langinfo
|   |   |   |   |   |   |   |---IO
|   |   |   |   |   |   |   |---IPC
|   |   |   |   |   |   |   |   |---SysV
|   |   |   |   |   |   |   |---List
|   |   |   |   |   |   |   |   |---Util
|   |   |   |   |   |   |   |---MIME
|   |   |   |   |   |   |   |   |---Base64
|   |   |   |   |   |   |   |---NDBM_File
|   |   |   |   |   |   |   |---ODBM_File
|   |   |   |   |   |   |   |---Opcode
|   |   |   |   |   |   |   |---POSIX
|   |   |   |   |   |   |   |---PerlIO
|   |   |   |   |   |   |   |   |---encoding
|   |   |   |   |   |   |   |   |---scalar
|   |   |   |   |   |   |   |   |---via
|   |   |   |   |   |   |   |---SDBM_File
|   |   |   |   |   |   |   |---Socket
|   |   |   |   |   |   |   |---Storable
|   |   |   |   |   |   |   |---Sys
|   |   |   |   |   |   |   |   |---Hostname
|   |   |   |   |   |   |   |   |---Syslog
|   |   |   |   |   |   |   |---Time
|   |   |   |   |   |   |   |   |---HiRes
|   |   |   |   |   |   |   |---Unicode
|   |   |   |   |   |   |   |   |---Normalize
|   |   |   |   |   |   |   |---XS
|   |   |   |   |   |   |   |   |---APItest
|   |   |   |   |   |   |   |   |---Typemap
|   |   |   |   |   |   |   |---attrs
|   |   |   |   |   |   |   |---re
|   |   |   |   |   |   |   |---sdbm
|   |   |   |   |   |   |   |---threads
|   |   |   |   |   |   |   |   |---shared
|   |   |   |   |   |   |---threads
|   |   |   |   |   |---PA-RISC2.0-thread-multi
|   |   |   |   |   |   |---B
|   |   |   |   |   |   |---CORE
|   |   |   |   |   |   |---Data
|   |   |   |   |   |   |---Devel
|   |   |   |   |   |   |---Digest
|   |   |   |   |   |   |---Encode
|   |   |   |   |   |   |---File
|   |   |   |   |   |   |---Filter
|   |   |   |   |   |   |   |---Util
|   |   |   |   |   |   |---I18N
|   |   |   |   |   |   |---IO
|   |   |   |   |   |   |---IPC
|   |   |   |   |   |   |---MIME
|   |   |   |   |   |   |---PerlIO
|   |   |   |   |   |   |---Sys
|   |   |   |   |   |   |---Time
|   |   |   |   |   |   |---Unicode
|   |   |   |   |   |   |---XS
|   |   |   |   |   |   |---auto
|   |   |   |   |   |   |   |---B
|   |   |   |   |   |   |   |   |---C
|   |   |   |   |   |   |   |---ByteLoader
|   |   |   |   |   |   |   |---Cwd
|   |   |   |   |   |   |   |---Data
|   |   |   |   |   |   |   |   |---Dumper
|   |   |   |   |   |   |   |---Devel
|   |   |   |   |   |   |   |   |---DProf
|   |   |   |   |   |   |   |   |---PPPort
|   |   |   |   |   |   |   |   |---Peek
|   |   |   |   |   |   |   |---Digest
|   |   |   |   |   |   |   |   |---MD5
|   |   |   |   |   |   |   |---DynaLoader
|   |   |   |   |   |   |   |---Encode
|   |   |   |   |   |   |   |   |---Byte
|   |   |   |   |   |   |   |   |---CN
|   |   |   |   |   |   |   |   |---EBCDIC
|   |   |   |   |   |   |   |   |---JP
|   |   |   |   |   |   |   |   |---KR
|   |   |   |   |   |   |   |   |---Symbol
|   |   |   |   |   |   |   |   |---TW
|   |   |   |   |   |   |   |   |---Unicode
|   |   |   |   |   |   |   |---Fcntl
|   |   |   |   |   |   |   |---File
|   |   |   |   |   |   |   |   |---Glob
|   |   |   |   |   |   |   |   |---Temp
|   |   |   |   |   |   |   |---Filter
|   |   |   |   |   |   |   |   |---Util
|   |   |   |   |   |   |   |   |   |---Call
|   |   |   |   |   |   |   |---I18N
|   |   |   |   |   |   |   |   |---Langinfo
|   |   |   |   |   |   |   |---IO
|   |   |   |   |   |   |   |---IPC
|   |   |   |   |   |   |   |   |---SysV
|   |   |   |   |   |   |   |---List
|   |   |   |   |   |   |   |   |---Util
|   |   |   |   |   |   |   |---MIME
|   |   |   |   |   |   |   |   |---Base64
|   |   |   |   |   |   |   |---NDBM_File
|   |   |   |   |   |   |   |---ODBM_File
|   |   |   |   |   |   |   |---Opcode
|   |   |   |   |   |   |   |---POSIX
|   |   |   |   |   |   |   |---PerlIO
|   |   |   |   |   |   |   |   |---encoding
|   |   |   |   |   |   |   |   |---scalar
|   |   |   |   |   |   |   |   |---via
|   |   |   |   |   |   |   |---SDBM_File
|   |   |   |   |   |   |   |---Socket
|   |   |   |   |   |   |   |---Storable
|   |   |   |   |   |   |   |---Sys
|   |   |   |   |   |   |   |   |---Hostname
|   |   |   |   |   |   |   |   |---Syslog
|   |   |   |   |   |   |   |---Time
|   |   |   |   |   |   |   |   |---HiRes
|   |   |   |   |   |   |   |---Unicode
|   |   |   |   |   |   |   |   |---Normalize
|   |   |   |   |   |   |   |---XS
|   |   |   |   |   |   |   |   |---APItest
|   |   |   |   |   |   |   |   |---Typemap
|   |   |   |   |   |   |   |---attrs
|   |   |   |   |   |   |   |---re
|   |   |   |   |   |   |   |---sdbm
|   |   |   |   |   |   |   |---threads
|   |   |   |   |   |   |   |   |---shared
|   |   |   |   |   |   |---threads
|   |   |   |   |   |---PA-RISC2.0-thread-multi-LP64
|   |   |   |   |   |   |---B
|   |   |   |   |   |   |---CORE
|   |   |   |   |   |   |---Data
|   |   |   |   |   |   |---Devel
|   |   |   |   |   |   |---Digest
|   |   |   |   |   |   |---Encode
|   |   |   |   |   |   |---File
|   |   |   |   |   |   |---Filter
|   |   |   |   |   |   |   |---Util
|   |   |   |   |   |   |---I18N
|   |   |   |   |   |   |---IO
|   |   |   |   |   |   |---IPC
|   |   |   |   |   |   |---MIME
|   |   |   |   |   |   |---PerlIO
|   |   |   |   |   |   |---Sys
|   |   |   |   |   |   |---Time
|   |   |   |   |   |   |---Unicode
|   |   |   |   |   |   |---XS
|   |   |   |   |   |   |---auto
|   |   |   |   |   |   |   |---B
|   |   |   |   |   |   |   |   |---C
|   |   |   |   |   |   |   |---ByteLoader
|   |   |   |   |   |   |   |---Cwd
|   |   |   |   |   |   |   |---Data
|   |   |   |   |   |   |   |   |---Dumper
|   |   |   |   |   |   |   |---Devel
|   |   |   |   |   |   |   |   |---DProf
|   |   |   |   |   |   |   |   |---PPPort
|   |   |   |   |   |   |   |   |---Peek
|   |   |   |   |   |   |   |---Digest
|   |   |   |   |   |   |   |   |---MD5
|   |   |   |   |   |   |   |---DynaLoader
|   |   |   |   |   |   |   |---Encode
|   |   |   |   |   |   |   |   |---Byte
|   |   |   |   |   |   |   |   |---CN
|   |   |   |   |   |   |   |   |---EBCDIC
|   |   |   |   |   |   |   |   |---JP
|   |   |   |   |   |   |   |   |---KR
|   |   |   |   |   |   |   |   |---Symbol
|   |   |   |   |   |   |   |   |---TW
|   |   |   |   |   |   |   |   |---Unicode
|   |   |   |   |   |   |   |---Fcntl
|   |   |   |   |   |   |   |---File
|   |   |   |   |   |   |   |   |---Glob
|   |   |   |   |   |   |   |   |---Temp
|   |   |   |   |   |   |   |---Filter
|   |   |   |   |   |   |   |   |---Util
|   |   |   |   |   |   |   |   |   |---Call
|   |   |   |   |   |   |   |---I18N
|   |   |   |   |   |   |   |   |---Langinfo
|   |   |   |   |   |   |   |---IO
|   |   |   |   |   |   |   |---IPC
|   |   |   |   |   |   |   |   |---SysV
|   |   |   |   |   |   |   |---List
|   |   |   |   |   |   |   |   |---Util
|   |   |   |   |   |   |   |---MIME
|   |   |   |   |   |   |   |   |---Base64
|   |   |   |   |   |   |   |---NDBM_File
|   |   |   |   |   |   |   |---ODBM_File
|   |   |   |   |   |   |   |---Opcode
|   |   |   |   |   |   |   |---POSIX
|   |   |   |   |   |   |   |---PerlIO
|   |   |   |   |   |   |   |   |---encoding
|   |   |   |   |   |   |   |   |---scalar
|   |   |   |   |   |   |   |   |---via
|   |   |   |   |   |   |   |---SDBM_File
|   |   |   |   |   |   |   |---Socket
|   |   |   |   |   |   |   |---Storable
|   |   |   |   |   |   |   |---Sys
|   |   |   |   |   |   |   |   |---Hostname
|   |   |   |   |   |   |   |   |---Syslog
|   |   |   |   |   |   |   |---Time
|   |   |   |   |   |   |   |   |---HiRes
|   |   |   |   |   |   |   |---Unicode
|   |   |   |   |   |   |   |   |---Normalize
|   |   |   |   |   |   |   |---XS
|   |   |   |   |   |   |   |   |---APItest
|   |   |   |   |   |   |   |   |---Typemap
|   |   |   |   |   |   |   |---attrs
|   |   |   |   |   |   |   |---re
|   |   |   |   |   |   |   |---sdbm
|   |   |   |   |   |   |   |---threads
|   |   |   |   |   |   |   |   |---shared
|   |   |   |   |   |   |---threads
|   |   |   |   |   |---PerlIO
|   |   |   |   |   |   |---via
|   |   |   |   |   |---Pod
|   |   |   |   |   |   |---Perldoc
|   |   |   |   |   |   |---Text
|   |   |   |   |   |---Scalar
|   |   |   |   |   |---Search
|   |   |   |   |   |---Switch
|   |   |   |   |   |---Term
|   |   |   |   |   |   |---ANSIColor
|   |   |   |   |   |---Test
|   |   |   |   |   |   |---Harness
|   |   |   |   |   |   |---Simple
|   |   |   |   |   |---Text
|   |   |   |   |   |   |---Balanced
|   |   |   |   |   |   |---TabsWrap
|   |   |   |   |   |---Thread
|   |   |   |   |   |---Tie
|   |   |   |   |   |---Time
|   |   |   |   |   |---Unicode
|   |   |   |   |   |   |---Collate
|   |   |   |   |   |---User
|   |   |   |   |   |---auto
|   |   |   |   |   |   |---POSIX
|   |   |   |   |   |   |   |---SigAction
|   |   |   |   |   |---pod
|   |   |   |   |   |---unicore
|   |   |   |   |   |   |---To
|   |   |   |   |   |   |---lib
|   |   |   |   |   |   |   |---bc
|   |   |   |   |   |   |   |---ccc
|   |   |   |   |   |   |   |---dt
|   |   |   |   |   |   |   |---ea
|   |   |   |   |   |   |   |---gc_sc
|   |   |   |   |   |   |   |---hst
|   |   |   |   |   |   |   |---jt
|   |   |   |   |   |   |   |---lb
|   |   |   |   |   |   |   |---nt
|   |   |   |   |   |---warnings
|   |   |   |   |---site_perl
|   |   |   |   |   |---5.8.7
|   |   |   |   |   |   |---Bundle
|   |   |   |   |   |   |---Carp
|   |   |   |   |   |   |---Compress
|   |   |   |   |   |   |---Devel
|   |   |   |   |   |   |   |---Symdump
|   |   |   |   |   |   |---File
|   |   |   |   |   |   |---HTML
|   |   |   |   |   |   |---HTTP
|   |   |   |   |   |   |   |---Cookies
|   |   |   |   |   |   |   |---Headers
|   |   |   |   |   |   |   |---Request
|   |   |   |   |   |   |---IO
|   |   |   |   |   |   |   |---Compress
|   |   |   |   |   |   |   |   |---Adapter
|   |   |   |   |   |   |   |   |---Base
|   |   |   |   |   |   |   |   |---Gzip
|   |   |   |   |   |   |   |   |---Zip
|   |   |   |   |   |   |   |   |---Zlib
|   |   |   |   |   |   |   |---Uncompress
|   |   |   |   |   |   |   |   |---Adapter
|   |   |   |   |   |   |---LWP
|   |   |   |   |   |   |   |---Authen
|   |   |   |   |   |   |   |---Protocol
|   |   |   |   |   |   |---MIME
|   |   |   |   |   |   |---Net
|   |   |   |   |   |   |   |---HTTP
|   |   |   |   |   |   |---OLE
|   |   |   |   |   |   |---PA-RISC2.0
|   |   |   |   |   |   |   |---Bundle
|   |   |   |   |   |   |   |---DBD
|   |   |   |   |   |   |   |   |---Gofer
|   |   |   |   |   |   |   |   |   |---Policy
|   |   |   |   |   |   |   |   |   |---Transport
|   |   |   |   |   |   |   |---DBI
|   |   |   |   |   |   |   |   |---Const
|   |   |   |   |   |   |   |   |   |---GetInfo
|   |   |   |   |   |   |   |   |---DBD
|   |   |   |   |   |   |   |   |---Gofer
|   |   |   |   |   |   |   |   |   |---Transport
|   |   |   |   |   |   |   |   |---ProfileDumper
|   |   |   |   |   |   |   |   |---SQL
|   |   |   |   |   |   |   |   |---Util
|   |   |   |   |   |   |   |---Win32
|   |   |   |   |   |   |   |---auto
|   |   |   |   |   |   |   |   |---DBI
|   |   |   |   |   |   |---PA-RISC2.0-thread-multi
|   |   |   |   |   |   |   |---Bit
|   |   |   |   |   |   |   |   |---Vector
|   |   |   |   |   |   |   |---Bundle
|   |   |   |   |   |   |   |---Compress
|   |   |   |   |   |   |   |   |---Raw
|   |   |   |   |   |   |   |---DBD
|   |   |   |   |   |   |   |   |---Gofer
|   |   |   |   |   |   |   |   |   |---Policy
|   |   |   |   |   |   |   |   |   |---Transport
|   |   |   |   |   |   |   |   |---Oracle
|   |   |   |   |   |   |   |---DBI
|   |   |   |   |   |   |   |   |---Const
|   |   |   |   |   |   |   |   |   |---GetInfo
|   |   |   |   |   |   |   |   |---DBD
|   |   |   |   |   |   |   |   |---Gofer
|   |   |   |   |   |   |   |   |   |---Transport
|   |   |   |   |   |   |   |   |---ProfileDumper
|   |   |   |   |   |   |   |   |---SQL
|   |   |   |   |   |   |   |   |---Util
|   |   |   |   |   |   |   |---Date
|   |   |   |   |   |   |   |   |---Calc
|   |   |   |   |   |   |   |   |---Calendar
|   |   |   |   |   |   |   |---HTML
|   |   |   |   |   |   |   |---Win32
|   |   |   |   |   |   |   |---auto
|   |   |   |   |   |   |   |   |---Bit
|   |   |   |   |   |   |   |   |   |---Vector
|   |   |   |   |   |   |   |   |---Carp
|   |   |   |   |   |   |   |   |   |---Clan
|   |   |   |   |   |   |   |   |---Compress
|   |   |   |   |   |   |   |   |   |---Raw
|   |   |   |   |   |   |   |   |   |   |---Zlib
|   |   |   |   |   |   |   |   |   |---Zlib
|   |   |   |   |   |   |   |   |---DBD
|   |   |   |   |   |   |   |   |   |---Oracle
|   |   |   |   |   |   |   |   |---DBI
|   |   |   |   |   |   |   |   |---Date
|   |   |   |   |   |   |   |   |   |---Calc
|   |   |   |   |   |   |   |   |---Devel
|   |   |   |   |   |   |   |   |   |---StackTrace
|   |   |   |   |   |   |   |   |   |---Symdump
|   |   |   |   |   |   |   |   |---HTML
|   |   |   |   |   |   |   |   |   |---Parser
|   |   |   |   |   |   |   |   |   |---Tagset
|   |   |   |   |   |   |   |   |---IO
|   |   |   |   |   |   |   |   |   |---Compress
|   |   |   |   |   |   |   |   |   |   |---Base
|   |   |   |   |   |   |   |   |   |   |---Zlib
|   |   |   |   |   |   |   |   |---LWP
|   |   |   |   |   |   |   |   |---MIME
|   |   |   |   |   |   |   |   |   |---Lite
|   |   |   |   |   |   |   |   |---OLE
|   |   |   |   |   |   |   |   |   |---Storage_Lite
|   |   |   |   |   |   |   |   |---Parse
|   |   |   |   |   |   |   |   |   |---RecDescent
|   |   |   |   |   |   |   |   |---Spreadsheet
|   |   |   |   |   |   |   |   |   |---ParseExcel
|   |   |   |   |   |   |   |   |   |---WriteExcel
|   |   |   |   |   |   |   |   |---Test
|   |   |   |   |   |   |   |   |   |---Exception
|   |   |   |   |   |   |   |   |---URI
|   |   |   |   |   |   |   |   |---XML
|   |   |   |   |   |   |   |   |   |---NamespaceSupport
|   |   |   |   |   |   |---PA-RISC2.0-thread-multi-LP64
|   |   |   |   |   |   |   |---Bit
|   |   |   |   |   |   |   |   |---Vector
|   |   |   |   |   |   |   |---Bundle
|   |   |   |   |   |   |   |---Compress
|   |   |   |   |   |   |   |   |---Raw
|   |   |   |   |   |   |   |---DBD
|   |   |   |   |   |   |   |   |---Gofer
|   |   |   |   |   |   |   |   |   |---Policy
|   |   |   |   |   |   |   |   |   |---Transport
|   |   |   |   |   |   |   |   |---Oracle
|   |   |   |   |   |   |   |---DBI
|   |   |   |   |   |   |   |   |---Const
|   |   |   |   |   |   |   |   |   |---GetInfo
|   |   |   |   |   |   |   |   |---DBD
|   |   |   |   |   |   |   |   |---Gofer
|   |   |   |   |   |   |   |   |   |---Transport
|   |   |   |   |   |   |   |   |---ProfileDumper
|   |   |   |   |   |   |   |   |---SQL
|   |   |   |   |   |   |   |   |---Util
|   |   |   |   |   |   |   |---Date
|   |   |   |   |   |   |   |   |---Calc
|   |   |   |   |   |   |   |   |---Calendar
|   |   |   |   |   |   |   |---HTML
|   |   |   |   |   |   |   |---Win32
|   |   |   |   |   |   |   |---XML
|   |   |   |   |   |   |   |   |---Parser
|   |   |   |   |   |   |   |   |   |---Encodings
|   |   |   |   |   |   |   |   |   |---Style
|   |   |   |   |   |   |   |---auto
|   |   |   |   |   |   |   |   |---Bit
|   |   |   |   |   |   |   |   |   |---Vector
|   |   |   |   |   |   |   |   |---Compress
|   |   |   |   |   |   |   |   |   |---Raw
|   |   |   |   |   |   |   |   |   |   |---Zlib
|   |   |   |   |   |   |   |   |   |---Zlib
|   |   |   |   |   |   |   |   |---DBD
|   |   |   |   |   |   |   |   |   |---Oracle
|   |   |   |   |   |   |   |   |---DBI
|   |   |   |   |   |   |   |   |---Date
|   |   |   |   |   |   |   |   |   |---Calc
|   |   |   |   |   |   |   |   |---HTML
|   |   |   |   |   |   |   |   |   |---Parser
|   |   |   |   |   |   |   |   |---IO
|   |   |   |   |   |   |   |   |   |---Stringy
|   |   |   |   |   |   |   |   |---LWP
|   |   |   |   |   |   |   |   |---MIME
|   |   |   |   |   |   |   |   |   |---Lite
|   |   |   |   |   |   |   |   |---OLE
|   |   |   |   |   |   |   |   |   |---Storage_Lite
|   |   |   |   |   |   |   |   |---Parse
|   |   |   |   |   |   |   |   |   |---RecDescent
|   |   |   |   |   |   |   |   |---Spreadsheet
|   |   |   |   |   |   |   |   |   |---ParseExcel
|   |   |   |   |   |   |   |   |   |---WriteExcel
|   |   |   |   |   |   |   |   |---URI
|   |   |   |   |   |   |   |   |---XML
|   |   |   |   |   |   |   |   |   |---NamespaceSupport
|   |   |   |   |   |   |   |   |   |---Parser
|   |   |   |   |   |   |   |   |   |   |---Expat
|   |   |   |   |   |   |   |   |   |---SAX
|   |   |   |   |   |   |   |   |   |   |---Expat
|   |   |   |   |   |   |---Parse
|   |   |   |   |   |   |---Spreadsheet
|   |   |   |   |   |   |   |---ParseExcel
|   |   |   |   |   |   |   |---WriteExcel
|   |   |   |   |   |   |---Test
|   |   |   |   |   |   |---URI
|   |   |   |   |   |   |   |---file
|   |   |   |   |   |   |   |---urn
|   |   |   |   |   |   |---WWW
|   |   |   |   |   |   |   |---RobotRules
|   |   |   |   |   |   |---XML
|   |   |   |   |   |   |   |---SAX
|   |   |   |   |   |   |   |   |---PurePerl
|   |   |   |   |   |   |   |   |   |---Reader
|   |   |   |   |   |   |---auto
|   |   |   |   |   |   |   |---Compress
|   |   |   |   |   |   |   |   |---Zlib
|   |   |   |---man
|   |   |   |   |---man1
|   |   |   |   |---man3
|   |   |---E2E_states
|   |   |---bos1
|   |   |---bos2
|   |   |   |---BKP
|   |   |   |---bkp
|   |   |---bos3
|   |   |   |---BKP
|   |   |   |---bkp
|   |   |---bos4
|   |   |   |---BKP
|   |   |   |   |---bkp
|   |   |---bos_cease
|   |   |   |---bos_cease_1
|   |   |   |   |---archive
|   |   |   |   |---log
|   |   |   |   |---rejected
|   |   |   |---bos_cease_2
|   |   |   |   |---archive
|   |   |   |   |---log
|   |   |   |   |---rejected
|   |   |   |---bos_cease_3
|   |   |   |   |---archive
|   |   |   |   |---log
|   |   |   |   |---rejected
|   |   |   |---bos_cease_4
|   |   |   |   |---archive
|   |   |   |   |---log
|   |   |   |   |---rejected
|   |   |   |---bos_xsd
|   |   |   |---log
|   |   |---bos_log
|   |   |---c2b
|   |   |   |---delivered
|   |   |   |---loaded
|   |   |   |---log
|   |   |---c2b_vas_orders
|   |   |---cew
|   |   |   |---housekeep
|   |   |   |---log
|   |   |   |---scripts
|   |   |   |---sent
|   |   |   |---spool
|   |   |---css
|   |   |   |---err
|   |   |   |---loaded
|   |   |   |---log
|   |   |   |---rej
|   |   |   |---tsv
|   |   |---css_orders
|   |   |---domain
|   |   |---exch
|   |   |   |---delivered
|   |   |   |---loaded
|   |   |   |---log
|   |   |   |---rejected
|   |   |---finnead
|   |   |---geneva
|   |   |   |---err
|   |   |   |---loaded
|   |   |   |---log
|   |   |   |---rej
|   |   |   |---txt
|   |   |---he
|   |   |   |---csv
|   |   |   |---latest
|   |   |   |---log
|   |   |---lost+found
|   |   |---munich
|   |   |   |---archive
|   |   |   |---delivered
|   |   |   |---log
|   |   |---odm_css
|   |   |   |---delivered
|   |   |   |---loaded
|   |   |   |---log
|   |   |---oracle
|   |   |   |---InstantClient
|   |   |   |   |---itanium
|   |   |   |   |   |---32bit
|   |   |   |   |   |   |---instantclient_10_2
|   |   |   |   |   |   |   |---sdk
|   |   |   |   |   |   |   |   |---demo
|   |   |   |   |   |   |   |   |---include
|   |   |   |   |   |---64bit
|   |   |   |   |   |   |---instantclient_10_2
|   |   |   |   |   |   |   |---sdk
|   |   |   |   |   |   |   |   |---demo
|   |   |   |   |   |   |   |   |---include
|   |   |   |   |---pa-risc
|   |   |   |   |   |---32bit
|   |   |   |   |   |   |---instantclient_10_2
|   |   |   |   |   |   |   |---sdk
|   |   |   |   |   |   |   |   |---demo
|   |   |   |   |   |   |   |   |---include
|   |   |   |   |   |---64bit
|   |   |   |   |   |   |---instantclient_10_2
|   |   |   |   |   |   |   |---sdk
|   |   |   |   |   |   |   |   |---demo
|   |   |   |   |   |   |   |   |---include
|   |   |---orca
|   |   |   |---affinity
|   |   |   |   |---delivered
|   |   |   |   |---loaded
|   |   |   |   |---rejected
|   |   |   |---brio
|   |   |   |   |---sent
|   |   |   |---log
|   |   |---parb
|   |   |---scheduler
|   |   |   |---cron_backup
|   |   |   |---log
|   |   |---sdp
|   |   |   |---delivered
|   |   |   |---loaded
|   |   |   |---log
|   |   |   |---rejected
|   |   |   |---xsd
|   |   |---vos
|   |   |   |---log

How to build for this?

I want to read this file using SED or AWK and convert to

mkdir -p /home/edwprod/dnp/{archive,bin/{full_refresh,to_be_deleted},in_dir,landing/archive,log,tmp}

Could you please help / guide on this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T16:13:11+00:00Added an answer on May 27, 2026 at 4:13 pm

    I have tried to make a generic solution. You may have to test it against several scenarios. But looks like it should work for most of them –

    awk -F="|---" '                                                                                                                        
    BEGIN{printf "mkdir -p /home/edwprod/dnp/"}
    $1=="|   |"{cnt++; if(count>0) count=0; if(cnt==1) printf "/{"$2",";else {printf $2","};next}
    $1=="|"{count++; if(cnt>0) cnt=0;if(count<2) printf "{"$2","; else {printf $2","};next}END{if (NR==1) printf"\n"; else printf "}\n"}' FILENAME | 
    sed -e 's/,{/},/g' -e 's/{\([a-z0-9]\+\)}/\1/g' -e 's/,\//\//g' -e 's/,\(.[^,]*\),}$/,\1}/' -e 's/\(.*\)\/{\(.[^,}]*\)}$/\1\/\2}/' -e 's/\(.*[^{]\){\(.*[^,]\),$/\1\2/' -e 's/\(.*\)\/{\(.[^,}]*\),}$/\1\/{\2}/'
    

    Test:

    [jaypal:~/Temp] cat file
    |---archive
    |---bin
    |   |---full_refresh
    |   |---to_be_deleted
    |---in_dir
    |---landing
    |   |---archive
    |---log
    |---tmp
    
    [jaypal:~/Temp] awk -F="|---" '                                                                                                                        
    BEGIN{printf "mkdir -p /home/edwprod/dnp/"}
    $1=="|   |"{cnt++; if(count>0) count=0; if(cnt==1) printf "/{"$2",";else {printf $2","};next}
    $1=="|"{count++; if(cnt>0) cnt=0;if(count<2) printf "{"$2","; else {printf $2","};next}END{if (NR==1) printf"\n"; else printf "}\n"}' file | 
    sed -e 's/,{/},/g' -e 's/{\([a-z0-9]\+\)}/\1/g' -e 's/,\//\//g' -e 's/,\(.[^,]*\),}$/,\1}/' -e 's/\(.*\)\/{\(.[^,}]*\)}$/\1\/\2}/' -e 's/\(.*[^{]\){\(.*[^,]\),$/\1\2/' -e 's/\(.*\)\/{\(.[^,}]*\),}$/\1\/{\2}/'
    mkdir -p /home/edwprod/dnp/{archive,bin/{full_refresh,to_be_deleted},in_dir,landing/archive,log,tmp}
    
    [jaypal:~/Temp] cat file1
    |---bin
    |---file_dir
    |   |---old
    |---in_dir
    |---landing
    |   |---feed
    |---log
    |---out_dir
    |---prc
    |   |---for
    
    [jaypal:~/Temp] awk -F="|---" '                                                                                                                        
    BEGIN{printf "mkdir -p /home/edwprod/dnp/"}
    $1=="|   |"{cnt++; if(count>0) count=0; if(cnt==1) printf "/{"$2",";else {printf $2","};next}
    $1=="|"{count++; if(cnt>0) cnt=0;if(count<2) printf "{"$2","; else {printf $2","};next}END{if (NR==1) printf"\n"; else printf "}\n"}' file1 | 
    sed -e 's/,{/},/g' -e 's/{\([a-z0-9]\+\)}/\1/g' -e 's/,\//\//g' -e 's/,\(.[^,]*\),}$/,\1}/' -e 's/\(.*\)\/{\(.[^,}]*\)}$/\1\/\2}/' -e 's/\(.*[^{]\){\(.*[^,]\),$/\1\2/' -e 's/\(.*\)\/{\(.[^,}]*\),}$/\1\/{\2}/'
    mkdir -p /home/edwprod/dnp/{bin,file_dir/old,in_dir,landing/feed,log,out_dir,prc/for}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a shell script that takes file paths as input. For this
function uploadify() { $file = $this->input->post('filearray'); $data['json'] = json_decode($file); print_r($data); $name = $this->$json->{'file_name'}; echo
Part of my build process is to create a tar file of an input
I do have this code on my demo.gsp file. But I´m new to grails
Why doesn't the file input element show up at all??? see code and screen
I'm trying to insert rows using raw sql in django: The input file has
I have this html code <form method=post id=upload_video enctype=multipart/form-data action=/Home/Save> <div id=form_box> <input type=text
C#.NET 4.0 I'm having an interesting problem here with reading a custom file archive
My current code (not working): <label for=homepage><h3>Home Page Image</h3></label><input type=hidden name=MAX_FILE_SIZE value=300000 /><input type=file
I am trying to upload a file from a php form. I have verified

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.